Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001345/0.001345, allocations: 113.1 kB / 20.43 MB, free: 1.457 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001589/0.001589, allocations: 217.2 kB / 23.75 MB, free: 4.668 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.49/1.49, allocations: 230.6 MB / 257.5 MB, free: 8.02 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.BackSample,fileNamePrefix="Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_RealSignals_BackSample",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.BackSample,fileNamePrefix="Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_RealSignals_BackSample",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001584/0.001584, allocations: 55.91 kB / 377.8 MB, free: 3.105 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2561/0.2577, allocations: 53.35 MB / 431.1 MB, free: 6.832 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.BackSample): time 0.003246/0.2609, allocations: 1.651 MB / 432.8 MB, free: 5.176 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001337/0.2623, allocations: 0.5881 MB / 433.4 MB, free: 4.582 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001304/0.2624, allocations: 7.938 kB / 433.4 MB, free: 4.574 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 6.001e-05/0.2625, allocations: 7.875 kB / 433.4 MB, free: 4.566 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001677/0.2626, allocations: 19.86 kB / 433.4 MB, free: 4.547 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004139/0.263, allocations: 67.73 kB / 433.5 MB, free: 4.48 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001421/0.2632, allocations: 59.78 kB / 433.5 MB, free: 4.422 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001255/0.2633, allocations: 12.23 kB / 433.6 MB, free: 4.406 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001588/0.2635, allocations: 35.84 kB / 433.6 MB, free: 4.371 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.082e-05/0.2636, allocations: 27.8 kB / 433.6 MB, free: 4.344 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.894e-05/0.2636, allocations: 4 kB / 433.6 MB, free: 4.34 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.617e-05/0.2636, allocations: 7.984 kB / 433.6 MB, free: 4.332 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.846e-05/0.2637, allocations: 23.94 kB / 433.7 MB, free: 4.309 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.806e-05/0.2637, allocations: 31.78 kB / 433.7 MB, free: 4.277 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002056/0.2639, allocations: 72.03 kB / 433.8 MB, free: 4.211 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.01e-06/0.2639, allocations: 3.938 kB / 433.8 MB, free: 4.207 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.023e-06/0.2639, allocations: 0 / 433.8 MB, free: 4.207 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.123e-05/0.264, allocations: 4 kB / 433.8 MB, free: 4.203 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0005911/0.2645, allocations: 309.9 kB / 434.1 MB, free: 3.871 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.315e-05/0.2646, allocations: 12.03 kB / 434.1 MB, free: 3.859 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.945e-05/0.2646, allocations: 38.69 kB / 434.1 MB, free: 3.812 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000211/0.2649, allocations: 28.83 kB / 434.1 MB, free: 3.785 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003701/0.2652, allocations: 147.9 kB / 434.3 MB, free: 3.617 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.608e-05/0.2652, allocations: 8.375 kB / 434.3 MB, free: 3.609 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.866e-05/0.2653, allocations: 4.359 kB / 434.3 MB, free: 3.605 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003985/0.2657, allocations: 146.8 kB / 434.4 MB, free: 3.438 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.189e-05/0.2657, allocations: 0 / 434.4 MB, free: 3.438 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.525e-05/0.2657, allocations: 8 kB / 434.4 MB, free: 3.43 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.182e-06/0.2657, allocations: 0 / 434.4 MB, free: 3.43 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000102/0.2658, allocations: 31.91 kB / 434.5 MB, free: 3.398 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004215/0.2662, allocations: 258.5 kB / 434.7 MB, free: 3.094 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001553/0.2664, allocations: 94.42 kB / 434.8 MB, free: 2.965 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.062e-05/0.2665, allocations: 43.42 kB / 434.9 MB, free: 2.91 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.227e-05/0.2665, allocations: 3.984 kB / 434.9 MB, free: 2.906 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.197e-05/0.2665, allocations: 38.56 kB / 434.9 MB, free: 2.859 MB / 334.1 MB Notification: Performance of pre-optimization done (n=6): time 1.152e-06/0.2665, allocations: 4 kB / 434.9 MB, free: 2.855 MB / 334.1 MB Notification: Performance of matching and sorting (n=6): time 0.0003224/0.2669, allocations: 97.5 kB / 435 MB, free: 2.754 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001153/0.267, allocations: 132.5 kB / 435.1 MB, free: 2.594 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001704/0.2671, allocations: 153.9 kB / 435.3 MB, free: 2.438 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.969e-05/0.2672, allocations: 26.2 kB / 435.3 MB, free: 2.406 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.499e-05/0.2672, allocations: 96.14 kB / 435.4 MB, free: 2.309 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.159e-05/0.2673, allocations: 7.953 kB / 435.4 MB, free: 2.301 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.31e-05/0.2673, allocations: 25.7 kB / 435.4 MB, free: 2.27 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001618/0.2675, allocations: 322.7 kB / 435.8 MB, free: 1.945 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.761e-05/0.2675, allocations: 11.98 kB / 435.8 MB, free: 1.934 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.953e-05/0.2676, allocations: 49.14 kB / 435.8 MB, free: 1.867 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001209/0.2677, allocations: 65.08 kB / 435.9 MB, free: 1.785 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.853e-06/0.2677, allocations: 7.938 kB / 435.9 MB, free: 1.777 MB / 334.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001729/0.2679, allocations: 81.5 kB / 436 MB, free: 1.691 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.858e-05/0.2679, allocations: 10.66 kB / 436 MB, free: 1.684 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.893e-06/0.2679, allocations: 0 / 436 MB, free: 1.684 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.873e-05/0.268, allocations: 7.938 kB / 436 MB, free: 1.676 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.944e-05/0.2681, allocations: 15.92 kB / 436 MB, free: 1.66 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.072e-05/0.2681, allocations: 4 kB / 436 MB, free: 1.656 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.034e-05/0.2681, allocations: 12.12 kB / 436 MB, free: 1.645 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.815e-06/0.2681, allocations: 0 / 436 MB, free: 1.645 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (6): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001113/0.2682, allocations: 125.8 kB / 436.1 MB, free: 1.512 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000108/0.2684, allocations: 65.53 kB / 436.2 MB, free: 1.441 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.811e-05/0.2684, allocations: 24.03 kB / 436.2 MB, free: 1.414 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.789e-06/0.2684, allocations: 4 kB / 436.2 MB, free: 1.41 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.193e-05/0.2684, allocations: 7.984 kB / 436.2 MB, free: 1.402 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.466e-06/0.2684, allocations: 96 / 436.2 MB, free: 1.402 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002163/0.2686, allocations: 156.7 kB / 436.4 MB, free: 1.207 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.2686, allocations: 0 / 436.4 MB, free: 1.207 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.267e-05/0.2687, allocations: 15.92 kB / 436.4 MB, free: 1.191 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.288e-06/0.2687, allocations: 4 kB / 436.4 MB, free: 1.188 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.117e-06/0.2687, allocations: 0 / 436.4 MB, free: 1.188 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.897e-06/0.2687, allocations: 4 kB / 436.4 MB, free: 1.184 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.2687, allocations: 0 / 436.4 MB, free: 1.184 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002472/0.269, allocations: 202 kB / 436.6 MB, free: 0.9609 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.992e-05/0.269, allocations: 15.94 kB / 436.6 MB, free: 0.9453 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.66e-05/0.269, allocations: 4 kB / 436.6 MB, free: 0.9414 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.27e-05/0.2691, allocations: 4 kB / 436.6 MB, free: 0.9375 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.691e-05/0.2692, allocations: 7.938 kB / 436.6 MB, free: 0.9297 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.426e-06/0.2692, allocations: 7.984 kB / 436.6 MB, free: 0.9219 MB / 334.1 MB Notification: Performance of sorting global known variables: time 9.251e-05/0.2693, allocations: 115.2 kB / 436.8 MB, free: 0.8086 MB / 334.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2693, allocations: 0 / 436.8 MB, free: 0.8086 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.00024/0.2695, allocations: 12 kB / 436.8 MB, free: 0.7969 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005755/0.2701, allocations: 0.7305 MB / 437.5 MB, free: 32 kB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002094/0.2703, allocations: 47.95 kB / 437.5 MB, free: 15.98 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.2703, allocations: 0 / 437.5 MB, free: 15.98 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 3.736e-05/0.2703, allocations: 4 kB / 437.6 MB, free: 15.98 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004732/0.2708, allocations: 47.36 kB / 437.6 MB, free: 15.93 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001957/0.2727, allocations: 1.509 MB / 439.1 MB, free: 14.3 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003422/0.2731, allocations: 0.7002 MB / 439.8 MB, free: 13.58 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 4.659e-05/0.2731, allocations: 8.656 kB / 439.8 MB, free: 13.57 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.465e-05/0.2732, allocations: 19.44 kB / 439.8 MB, free: 13.55 MB / 350.1 MB Notification: Performance of SimCode: time 1.032e-06/0.2732, allocations: 0 / 439.8 MB, free: 13.55 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03368/0.3069, allocations: 2.197 MB / 442 MB, free: 11.5 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.82/11.12, allocations: 3.938 kB / 442 MB, free: 11.49 MB / 350.1 MB " [Timeout remaining time 649] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample_res.csv --start-time 0 --stop-time 0.09 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 1.79319e-05 Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_RealSignals_BackSample.fmu > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/BackSample/BackSample.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 13.729260557000089]