Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008281/0.0008281, allocations: 80.34 kB / 20.67 MB, free: 3.891 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0008527/0.0008527, allocations: 156.9 kB / 23.95 MB, free: 0.6133 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.8779/0.8779, allocations: 177 MB / 204.1 MB, free: 5.762 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder,fileNamePrefix="Modelica_trunk_Modelica_Thermal_FluidHeatFlow_Examples_TestCylinder",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder,fileNamePrefix="Modelica_trunk_Modelica_Thermal_FluidHeatFlow_Examples_TestCylinder",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.934e-06/1.934e-06, allocations: 0 / 324.5 MB, free: 15.93 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.055e-05/2.248e-05, allocations: 2.844 kB / 324.5 MB, free: 15.93 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder): time 0.003454/0.003477, allocations: 2.837 MB / 327.3 MB, free: 13.07 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001805/0.005282, allocations: 1.348 MB / 328.7 MB, free: 11.71 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000164/0.005446, allocations: 7.938 kB / 328.7 MB, free: 11.7 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003978/0.005844, allocations: 139.1 kB / 328.8 MB, free: 11.57 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000416/0.00626, allocations: 226.5 kB / 329 MB, free: 11.34 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002215/0.006481, allocations: 143.5 kB / 329.2 MB, free: 11.2 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003327/0.006814, allocations: 453.8 kB / 329.6 MB, free: 10.76 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001371/0.006951, allocations: 72.19 kB / 329.7 MB, free: 10.69 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001835/0.007135, allocations: 255.4 kB / 329.9 MB, free: 10.44 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001572/0.007292, allocations: 151.5 kB / 330.1 MB, free: 10.29 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 3.406e-05/0.007326, allocations: 28 kB / 330.1 MB, free: 10.26 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.417e-05/0.00741, allocations: 63.92 kB / 330.2 MB, free: 10.2 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 7.548e-05/0.007485, allocations: 83.67 kB / 330.3 MB, free: 10.12 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 8.781e-05/0.007573, allocations: 119.7 kB / 330.4 MB, free: 10 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003539/0.007927, allocations: 458.4 kB / 330.8 MB, free: 9.551 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.48e-06/0.007933, allocations: 4 kB / 330.8 MB, free: 9.547 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.463e-06/0.007934, allocations: 0 / 330.8 MB, free: 9.547 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.8e-06/0.00794, allocations: 0 / 330.8 MB, free: 9.547 MB / 298.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.0007358/0.008676, allocations: 0.6149 MB / 331.4 MB, free: 8.902 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.298e-05/0.008719, allocations: 11.98 kB / 331.5 MB, free: 8.891 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.907e-05/0.008808, allocations: 75.28 kB / 331.5 MB, free: 8.805 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.427e-05/0.008872, allocations: 52.64 kB / 331.6 MB, free: 8.754 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003184/0.00919, allocations: 257.6 kB / 331.8 MB, free: 8.477 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.265e-05/0.009213, allocations: 25.02 kB / 331.9 MB, free: 8.453 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.349e-05/0.009247, allocations: 32.33 kB / 331.9 MB, free: 8.422 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004099/0.009656, allocations: 0.5316 MB / 332.4 MB, free: 7.809 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.605e-05/0.009673, allocations: 192 / 332.4 MB, free: 7.809 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.438e-05/0.009697, allocations: 20.11 kB / 332.4 MB, free: 7.789 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.688e-06/0.009707, allocations: 11.98 kB / 332.5 MB, free: 7.777 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002109/0.009917, allocations: 178.5 kB / 332.6 MB, free: 7.605 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000839/0.01076, allocations: 0.7639 MB / 333.4 MB, free: 6.781 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003587/0.01112, allocations: 247.8 kB / 333.6 MB, free: 6.531 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001049/0.01122, allocations: 89.95 kB / 333.7 MB, free: 6.441 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.143e-05/0.01124, allocations: 8.219 kB / 333.7 MB, free: 6.434 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002258/0.01147, allocations: 273.1 kB / 334 MB, free: 6.133 MB / 298.7 MB Notification: Performance of pre-optimization done (n=34): time 1.593e-06/0.01147, allocations: 0 / 334 MB, free: 6.133 MB / 298.7 MB Notification: Performance of matching and sorting (n=40): time 0.001468/0.01294, allocations: 1.122 MB / 335.1 MB, free: 4.953 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.272e-05/0.013, allocations: 183.9 kB / 335.3 MB, free: 4.73 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002323/0.01323, allocations: 344.5 kB / 335.6 MB, free: 4.383 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.194e-05/0.01325, allocations: 33.7 kB / 335.7 MB, free: 4.344 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.886e-05/0.01335, allocations: 196.7 kB / 335.9 MB, free: 4.148 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.106e-05/0.01342, allocations: 142.8 kB / 336 MB, free: 4.008 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.965e-05/0.01349, allocations: 78.14 kB / 336.1 MB, free: 3.926 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.42e-05/0.01358, allocations: 346.8 kB / 336.4 MB, free: 3.578 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001106/0.01369, allocations: 96.95 kB / 336.5 MB, free: 3.484 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001854/0.01387, allocations: 310.4 kB / 336.8 MB, free: 3.117 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002566/0.01413, allocations: 254.2 kB / 337.1 MB, free: 2.855 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.472e-06/0.01413, allocations: 0 / 337.1 MB, free: 2.855 MB / 298.7 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0003576/0.01449, allocations: 354.6 kB / 337.4 MB, free: 2.5 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.313e-05/0.0145, allocations: 12 kB / 337.4 MB, free: 2.488 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.47e-06/0.01451, allocations: 0 / 337.4 MB, free: 2.488 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.721e-05/0.01458, allocations: 20.86 kB / 337.4 MB, free: 2.465 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001858/0.01477, allocations: 87.83 kB / 337.5 MB, free: 2.379 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007333/0.0155, allocations: 1.283 MB / 338.8 MB, free: 0.9766 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001116/0.01562, allocations: 20.14 kB / 338.8 MB, free: 0.957 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.475e-05/0.01563, allocations: 15.98 kB / 338.8 MB, free: 0.9414 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.0001295/0.01576, allocations: 165.8 kB / 339 MB, free: 0.7695 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.423e-05/0.01579, allocations: 43.72 kB / 339 MB, free: 0.7266 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000636/0.01643, allocations: 338.7 kB / 339.4 MB, free: 396 kB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.093e-06/0.01644, allocations: 4 kB / 339.4 MB, free: 392 kB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.006e-06/0.01644, allocations: 7.938 kB / 339.4 MB, free: 384 kB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004463/0.01689, allocations: 0.6646 MB / 340.1 MB, free: 15.61 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009379/0.01782, allocations: 0.7896 MB / 340.8 MB, free: 14.75 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.206e-06/0.01783, allocations: 0 / 340.8 MB, free: 14.75 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002179/0.01805, allocations: 75.91 kB / 340.9 MB, free: 14.68 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.863e-06/0.01805, allocations: 4 kB / 340.9 MB, free: 14.68 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.037e-05/0.01807, allocations: 12 kB / 340.9 MB, free: 14.66 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.154e-06/0.01808, allocations: 12.05 kB / 340.9 MB, free: 14.65 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/0.01808, allocations: 0 / 340.9 MB, free: 14.65 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005393/0.01862, allocations: 0.562 MB / 341.5 MB, free: 14.06 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000105/0.01873, allocations: 67.72 kB / 341.6 MB, free: 13.99 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.033e-05/0.01876, allocations: 12 kB / 341.6 MB, free: 13.98 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001203/0.01888, allocations: 16 kB / 341.6 MB, free: 13.96 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.031e-05/0.01893, allocations: 27.94 kB / 341.6 MB, free: 13.94 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.415e-05/0.01895, allocations: 15.94 kB / 341.6 MB, free: 13.92 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001764/0.01913, allocations: 247 kB / 341.9 MB, free: 13.68 MB / 314.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01913, allocations: 0 / 341.9 MB, free: 13.68 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.000302/0.01943, allocations: 92 kB / 342 MB, free: 13.59 MB / 314.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.001336/0.02077, allocations: 1.442 MB / 343.4 MB, free: 12.27 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0005211/0.02129, allocations: 362.7 kB / 343.8 MB, free: 11.9 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.02129, allocations: 0 / 343.8 MB, free: 11.9 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001385/0.02143, allocations: 135.5 kB / 343.9 MB, free: 11.77 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003638/0.02179, allocations: 94.3 kB / 344 MB, free: 11.68 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003466/0.02526, allocations: 3.552 MB / 347.5 MB, free: 7.984 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001353/0.02539, allocations: 204.2 kB / 347.7 MB, free: 7.766 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0001407/0.02553, allocations: 43.27 kB / 347.8 MB, free: 7.719 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001329/0.02567, allocations: 136.5 kB / 347.9 MB, free: 7.586 MB / 314.7 MB Notification: Performance of SimCode: time 1.122e-06/0.02567, allocations: 0 / 347.9 MB, free: 7.586 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02688/0.05255, allocations: 10.58 MB / 358.5 MB, free: 13.12 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.914/7.967, allocations: 3.938 kB / 358.5 MB, free: 13.12 MB / 330.7 MB " [Timeout remaining time 652] (rm -f Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder.pipe ; mkfifo Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder.pipe >> ../files/Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder.sim & python3 -m fmpy simulate --output-file Modelica_trunk_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_trunk_Modelica_Thermal_FluidHeatFlow_Examples_TestCylinder.fmu > Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Thermal/FluidHeatFlow/Examples/TestCylinder/TestCylinder.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder_res.csv. Warning: Get data of variable cylinder1.H from file Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder_res.csv failed! Error: Could not read variable cylinder1.m in file Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder_res.csv. Warning: Get data of variable cylinder1.m from file Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder_res.csv failed! Error: Could not read variable cylinder2.H in file Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder_res.csv. Warning: Get data of variable cylinder2.H from file Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder_res.csv failed! Error: Could not read variable springDamper.s_rel in file Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder_res.csv. Warning: Get data of variable springDamper.s_rel from file Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder_res.csv failed! Error: Could not read variable springDamper.v_rel in file Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder_res.csv. Warning: Get data of variable springDamper.v_rel from file Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 9.758873242884874]