Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009028/0.0009028, allocations: 76.08 kB / 20.67 MB, free: 3.891 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008454/0.0008454, allocations: 149.1 kB / 23.93 MB, free: 0.6289 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.9203/0.9203, allocations: 173.4 MB / 200.5 MB, free: 9.438 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder,fileNamePrefix="Modelica_4_0_0_Modelica_Thermal_FluidHeatFlow_Examples_TestCylinder",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder,fileNamePrefix="Modelica_4_0_0_Modelica_Thermal_FluidHeatFlow_Examples_TestCylinder",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.134e-06/2.134e-06, allocations: 0 / 318.4 MB, free: 6.383 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.486e-05/2.699e-05, allocations: 2.281 kB / 318.4 MB, free: 6.379 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder): time 0.004219/0.004246, allocations: 2.796 MB / 321.2 MB, free: 3.562 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.002252/0.006498, allocations: 1.203 MB / 322.4 MB, free: 2.352 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002116/0.006709, allocations: 7.938 kB / 322.4 MB, free: 2.344 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005373/0.007247, allocations: 143.1 kB / 322.6 MB, free: 2.203 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005175/0.007764, allocations: 182.8 kB / 322.7 MB, free: 2.023 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004637/0.008228, allocations: 190.1 kB / 322.9 MB, free: 1.84 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005082/0.008736, allocations: 445.9 kB / 323.4 MB, free: 1.402 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001943/0.00893, allocations: 71.98 kB / 323.4 MB, free: 1.332 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002977/0.009228, allocations: 247.4 kB / 323.7 MB, free: 1.09 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002303/0.009458, allocations: 147.5 kB / 323.8 MB, free: 0.9453 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 4.98e-05/0.009508, allocations: 28 kB / 323.8 MB, free: 0.918 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001333/0.009641, allocations: 67.91 kB / 323.9 MB, free: 0.8516 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001006/0.009742, allocations: 75.69 kB / 324 MB, free: 0.7773 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001362/0.009878, allocations: 127.7 kB / 324.1 MB, free: 0.6523 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005323/0.01041, allocations: 454.4 kB / 324.6 MB, free: 212 kB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.589e-06/0.01041, allocations: 4 kB / 324.6 MB, free: 208 kB / 282.7 MB Notification: Performance of FrontEnd: time 1.954e-06/0.01042, allocations: 0 / 324.6 MB, free: 208 kB / 282.7 MB Notification: Performance of Transformations before backend: time 6.302e-06/0.01042, allocations: 3.938 kB / 324.6 MB, free: 204 kB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 61 * Number of variables: 61 Notification: Performance of Generate backend data structure: time 0.0009829/0.01141, allocations: 0.6048 MB / 325.2 MB, free: 15.57 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.844e-05/0.01145, allocations: 8.922 kB / 325.2 MB, free: 15.56 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001286/0.01158, allocations: 79.27 kB / 325.2 MB, free: 15.47 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.378e-05/0.01168, allocations: 48.66 kB / 325.3 MB, free: 15.42 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004596/0.01214, allocations: 261.6 kB / 325.6 MB, free: 15.14 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.676e-05/0.01216, allocations: 17.03 kB / 325.6 MB, free: 15.12 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.099e-05/0.01221, allocations: 32.38 kB / 325.6 MB, free: 15.09 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006066/0.01282, allocations: 0.5293 MB / 326.1 MB, free: 14.48 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.167e-05/0.01284, allocations: 4 kB / 326.1 MB, free: 14.48 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.165e-05/0.01287, allocations: 12 kB / 326.1 MB, free: 14.47 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.755e-06/0.01288, allocations: 4 kB / 326.1 MB, free: 14.46 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003547/0.01324, allocations: 186.5 kB / 326.3 MB, free: 14.28 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001309/0.01455, allocations: 0.7754 MB / 327.1 MB, free: 13.45 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005656/0.01511, allocations: 240 kB / 327.3 MB, free: 13.2 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001648/0.01528, allocations: 94.23 kB / 327.4 MB, free: 13.11 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.25e-05/0.01531, allocations: 4.219 kB / 327.4 MB, free: 13.11 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003921/0.0157, allocations: 276.6 kB / 327.7 MB, free: 12.8 MB / 298.7 MB Notification: Performance of pre-optimization done (n=34): time 2.926e-06/0.0157, allocations: 0 / 327.7 MB, free: 12.8 MB / 298.7 MB Notification: Performance of matching and sorting (n=40): time 0.002263/0.01797, allocations: 1.096 MB / 328.8 MB, free: 11.65 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.988e-05/0.01806, allocations: 183.9 kB / 329 MB, free: 11.43 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003419/0.0184, allocations: 336.5 kB / 329.3 MB, free: 11.09 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 3.035e-05/0.01843, allocations: 37.7 kB / 329.3 MB, free: 11.04 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001269/0.01856, allocations: 192.7 kB / 329.5 MB, free: 10.85 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001014/0.01866, allocations: 150.7 kB / 329.7 MB, free: 10.7 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001079/0.01877, allocations: 78.09 kB / 329.8 MB, free: 10.62 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001221/0.01889, allocations: 346.8 kB / 330.1 MB, free: 10.27 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000171/0.01906, allocations: 88.95 kB / 330.2 MB, free: 10.18 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002866/0.01934, allocations: 314.4 kB / 330.5 MB, free: 9.809 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003916/0.01974, allocations: 250.2 kB / 330.7 MB, free: 9.551 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.943e-06/0.01974, allocations: 0 / 330.7 MB, free: 9.551 MB / 298.7 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0005286/0.02027, allocations: 350.6 kB / 331.1 MB, free: 9.199 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.56e-05/0.02029, allocations: 11.94 kB / 331.1 MB, free: 9.188 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.779e-06/0.0203, allocations: 0 / 331.1 MB, free: 9.188 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001111/0.02041, allocations: 24.78 kB / 331.1 MB, free: 9.16 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003115/0.02072, allocations: 91.89 kB / 331.2 MB, free: 9.07 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001147/0.02187, allocations: 1.279 MB / 332.5 MB, free: 7.68 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002048/0.02208, allocations: 12.06 kB / 332.5 MB, free: 7.668 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.437e-05/0.0221, allocations: 12 kB / 332.5 MB, free: 7.656 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.combiTimeTable.nextTimeEvent,$whenCondition1,combiTimeTable.nextTimeEventScaled,$PRE.combiTimeTable.nextTimeEventScaled,combiTimeTable.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (49): * Single equations (assignments): 48 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0002165/0.02232, allocations: 177.6 kB / 332.7 MB, free: 7.473 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.829e-05/0.02238, allocations: 35.77 kB / 332.7 MB, free: 7.438 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006027/0.02298, allocations: 353.8 kB / 333.1 MB, free: 7.082 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.969e-06/0.02298, allocations: 4 kB / 333.1 MB, free: 7.078 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.044e-06/0.02299, allocations: 0 / 333.1 MB, free: 7.078 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005889/0.02357, allocations: 0.6569 MB / 333.7 MB, free: 6.316 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001171/0.02475, allocations: 0.791 MB / 334.5 MB, free: 5.465 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.952e-06/0.02475, allocations: 3.984 kB / 334.5 MB, free: 5.461 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003046/0.02506, allocations: 75.91 kB / 334.6 MB, free: 5.387 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.581e-06/0.02506, allocations: 4.125 kB / 334.6 MB, free: 5.383 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.744e-05/0.02509, allocations: 19.92 kB / 334.6 MB, free: 5.363 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.899e-06/0.02509, allocations: 4 kB / 334.6 MB, free: 5.359 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.054e-06/0.0251, allocations: 0 / 334.6 MB, free: 5.359 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006141/0.02571, allocations: 0.5548 MB / 335.2 MB, free: 4.773 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.713e-05/0.02581, allocations: 59.78 kB / 335.2 MB, free: 4.715 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.028e-05/0.02584, allocations: 15.94 kB / 335.2 MB, free: 4.699 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001212/0.02596, allocations: 19.97 kB / 335.3 MB, free: 4.68 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.504e-05/0.026, allocations: 23.95 kB / 335.3 MB, free: 4.656 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.289e-05/0.02603, allocations: 16 kB / 335.3 MB, free: 4.641 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001584/0.02618, allocations: 239 kB / 335.5 MB, free: 4.41 MB / 298.7 MB Notification: Performance of sort global known variables: time 8e-08/0.02618, allocations: 0 / 335.5 MB, free: 4.41 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002848/0.02647, allocations: 103.9 kB / 335.6 MB, free: 4.309 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 5 (cylinder1.m,cylinder1.H,cylinder2.H,springDamper.s_rel,springDamper.v_rel) * Number of discrete variables: 3 ($whenCondition1,combiTimeTable.nextTimeEvent,combiTimeTable.nextTimeEventScaled) * Number of discrete states: 2 (combiTimeTable.nextTimeEvent,combiTimeTable.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (41): * Single equations (assignments): 39 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001341/0.02781, allocations: 1.446 MB / 337.1 MB, free: 3.012 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0004552/0.02827, allocations: 362.4 kB / 337.4 MB, free: 2.645 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.496e-06/0.02827, allocations: 8 kB / 337.4 MB, free: 2.637 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001421/0.02841, allocations: 127.6 kB / 337.6 MB, free: 2.512 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003727/0.02878, allocations: 99.14 kB / 337.7 MB, free: 2.422 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00304/0.03182, allocations: 3.518 MB / 341.2 MB, free: 14.76 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001251/0.03195, allocations: 203.7 kB / 341.4 MB, free: 14.54 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0001306/0.03208, allocations: 47.25 kB / 341.4 MB, free: 14.5 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000128/0.03221, allocations: 128.5 kB / 341.6 MB, free: 14.37 MB / 314.7 MB Notification: Performance of SimCode: time 1.062e-06/0.03221, allocations: 3.938 kB / 341.6 MB, free: 14.36 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02552/0.05773, allocations: 10.49 MB / 352.1 MB, free: 4.012 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.022/8.08, allocations: 0 / 352.1 MB, free: 4.012 MB / 314.7 MB " [Timeout remaining time 652] (rm -f Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder.pipe ; mkfifo Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder.pipe >> ../files/Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder.sim & python3 -m fmpy simulate --output-file Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder_res.csv --start-time 0 --stop-time 2 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.001 Modelica_4_0_0_Modelica_Thermal_FluidHeatFlow_Examples_TestCylinder.fmu > Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Thermal/FluidHeatFlow/Examples/TestCylinder/TestCylinder.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable cylinder1.H in file Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder_res.csv. Warning: Get data of variable cylinder1.H from file Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder_res.csv failed! Error: Could not read variable cylinder1.m in file Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder_res.csv. Warning: Get data of variable cylinder1.m from file Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder_res.csv failed! Error: Could not read variable cylinder2.H in file Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder_res.csv. Warning: Get data of variable cylinder2.H from file Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder_res.csv failed! Error: Could not read variable springDamper.s_rel in file Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder_res.csv. Warning: Get data of variable springDamper.s_rel from file Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder_res.csv failed! Error: Could not read variable springDamper.v_rel in file Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder_res.csv. Warning: Get data of variable springDamper.v_rel from file Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 9.886223150417209]