Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder.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.001391/0.001391, allocations: 109.2 kB / 20.43 MB, free: 1.473 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.001508/0.001508, allocations: 213.7 kB / 23.74 MB, free: 4.688 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.44/1.44, allocations: 230.6 MB / 257.5 MB, free: 8.035 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.Thermal.FluidHeatFlow.Examples.TestCylinder,fileNamePrefix="Modelica_4_1_0_Modelica_Thermal_FluidHeatFlow_Examples_TestCylinder",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder,fileNamePrefix="Modelica_4_1_0_Modelica_Thermal_FluidHeatFlow_Examples_TestCylinder",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001552/0.001552, allocations: 51.92 kB / 377.8 MB, free: 3.176 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2378/0.2394, allocations: 53.36 MB / 431.1 MB, free: 7.027 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder): time 0.00464/0.244, allocations: 3.063 MB / 434.2 MB, free: 3.953 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002592/0.2466, allocations: 1.434 MB / 435.6 MB, free: 2.512 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000162/0.2468, allocations: 7.938 kB / 435.6 MB, free: 2.504 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004722/0.2472, allocations: 143.2 kB / 435.8 MB, free: 2.363 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005446/0.2478, allocations: 222.7 kB / 436 MB, free: 2.145 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003409/0.2481, allocations: 143.6 kB / 436.1 MB, free: 2.004 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005499/0.2487, allocations: 438.1 kB / 436.6 MB, free: 1.574 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001737/0.2488, allocations: 74.72 kB / 436.6 MB, free: 1.504 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002613/0.2491, allocations: 187.3 kB / 436.8 MB, free: 1.32 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002904/0.2494, allocations: 195.2 kB / 437 MB, free: 1.129 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 6.994e-05/0.2495, allocations: 28 kB / 437 MB, free: 1.102 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001402/0.2496, allocations: 59.97 kB / 437.1 MB, free: 1.043 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001051/0.2497, allocations: 83.64 kB / 437.2 MB, free: 0.9609 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001943/0.2499, allocations: 186.9 kB / 437.4 MB, free: 0.7773 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005739/0.2505, allocations: 466 kB / 437.8 MB, free: 328 kB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.2505, allocations: 4 kB / 437.8 MB, free: 324 kB / 334.1 MB Notification: Performance of FrontEnd: time 1.143e-06/0.2505, allocations: 0 / 437.8 MB, free: 324 kB / 334.1 MB Notification: Performance of Transformations before backend: time 6.612e-06/0.2505, allocations: 0 / 437.8 MB, free: 324 kB / 334.1 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.001119/0.2516, allocations: 0.6111 MB / 438.4 MB, free: 15.67 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.666e-05/0.2516, allocations: 8.031 kB / 438.4 MB, free: 15.66 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001152/0.2518, allocations: 75.33 kB / 438.5 MB, free: 15.58 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.482e-05/0.2519, allocations: 48.66 kB / 438.5 MB, free: 15.53 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00049/0.2523, allocations: 274.9 kB / 438.8 MB, free: 15.24 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.503e-05/0.2524, allocations: 20.97 kB / 438.8 MB, free: 15.22 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.363e-05/0.2524, allocations: 31.94 kB / 438.9 MB, free: 15.19 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005416/0.253, allocations: 312.5 kB / 439.2 MB, free: 14.86 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.407e-05/0.253, allocations: 8 kB / 439.2 MB, free: 14.85 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.188e-05/0.253, allocations: 12 kB / 439.2 MB, free: 14.84 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.558e-06/0.253, allocations: 8 kB / 439.2 MB, free: 14.83 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003718/0.2534, allocations: 178.5 kB / 439.4 MB, free: 14.66 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00147/0.2549, allocations: 0.8336 MB / 440.2 MB, free: 13.76 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000568/0.2554, allocations: 239.4 kB / 440.4 MB, free: 13.52 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001765/0.2556, allocations: 85.39 kB / 440.5 MB, free: 13.43 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.446e-05/0.2556, allocations: 8.281 kB / 440.5 MB, free: 13.43 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003315/0.256, allocations: 174.5 kB / 440.7 MB, free: 13.25 MB / 350.1 MB Notification: Performance of pre-optimization done (n=34): time 1.823e-06/0.256, allocations: 0 / 440.7 MB, free: 13.25 MB / 350.1 MB Notification: Performance of matching and sorting (n=40): time 0.002359/0.2583, allocations: 1.096 MB / 441.8 MB, free: 12.09 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001144/0.2585, allocations: 183.9 kB / 442 MB, free: 11.87 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003842/0.2588, allocations: 340.5 kB / 442.3 MB, free: 11.54 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.645e-05/0.2589, allocations: 33.7 kB / 442.3 MB, free: 11.5 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001517/0.259, allocations: 188.7 kB / 442.5 MB, free: 11.31 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001252/0.2592, allocations: 150.7 kB / 442.7 MB, free: 11.16 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001104/0.2593, allocations: 78.14 kB / 442.8 MB, free: 11.08 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001642/0.2594, allocations: 350.7 kB / 443.1 MB, free: 10.73 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001871/0.2596, allocations: 92.83 kB / 443.2 MB, free: 10.64 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002656/0.2599, allocations: 177.2 kB / 443.4 MB, free: 10.43 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004213/0.2603, allocations: 254.2 kB / 443.6 MB, free: 10.17 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.2603, allocations: 0 / 443.6 MB, free: 10.17 MB / 350.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0006127/0.2609, allocations: 350.6 kB / 444 MB, free: 9.816 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.578e-05/0.2609, allocations: 8 kB / 444 MB, free: 9.809 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.913e-06/0.2609, allocations: 3.938 kB / 444 MB, free: 9.805 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.507e-05/0.261, allocations: 16.86 kB / 444 MB, free: 9.785 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003752/0.2614, allocations: 87.89 kB / 444.1 MB, free: 9.699 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001192/0.2626, allocations: 1.299 MB / 445.4 MB, free: 8.285 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002099/0.2628, allocations: 12 kB / 445.4 MB, free: 8.273 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.312e-05/0.2628, allocations: 12 kB / 445.4 MB, free: 8.262 MB / 350.1 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.0002167/0.2631, allocations: 169.9 kB / 445.6 MB, free: 8.086 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.804e-05/0.2631, allocations: 51.62 kB / 445.6 MB, free: 8.035 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006095/0.2637, allocations: 330.2 kB / 445.9 MB, free: 7.703 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.224e-05/0.2638, allocations: 4 kB / 445.9 MB, free: 7.699 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.437e-06/0.2638, allocations: 4.062 kB / 445.9 MB, free: 7.695 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006617/0.2644, allocations: 0.6576 MB / 446.6 MB, free: 6.934 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001328/0.2657, allocations: 0.8336 MB / 447.4 MB, free: 6.035 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.396e-06/0.2657, allocations: 0 / 447.4 MB, free: 6.035 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003466/0.2661, allocations: 75.89 kB / 447.5 MB, free: 5.961 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.093e-06/0.2661, allocations: 4 kB / 447.5 MB, free: 5.957 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.882e-05/0.2661, allocations: 12 kB / 447.5 MB, free: 5.945 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.907e-06/0.2661, allocations: 0 / 447.5 MB, free: 5.945 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.784e-06/0.2661, allocations: 8.125 kB / 447.5 MB, free: 5.938 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008405/0.267, allocations: 0.5388 MB / 448.1 MB, free: 5.371 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001528/0.2671, allocations: 59.78 kB / 448.1 MB, free: 5.312 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.689e-05/0.2672, allocations: 16 kB / 448.1 MB, free: 5.297 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002296/0.2674, allocations: 12 kB / 448.1 MB, free: 5.285 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.256e-05/0.2675, allocations: 27.89 kB / 448.2 MB, free: 5.258 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.166e-05/0.2675, allocations: 19.98 kB / 448.2 MB, free: 5.238 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002775/0.2678, allocations: 239.1 kB / 448.4 MB, free: 5.008 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2678, allocations: 0 / 448.4 MB, free: 5.008 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004503/0.2682, allocations: 103.9 kB / 448.5 MB, free: 4.906 MB / 350.1 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 (40): * Single equations (assignments): 38 * 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.002631/0.2709, allocations: 1.406 MB / 449.9 MB, free: 3.625 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0007157/0.2716, allocations: 358.9 kB / 450.3 MB, free: 3.262 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.406e-06/0.2716, allocations: 0 / 450.3 MB, free: 3.262 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002374/0.2718, allocations: 127.6 kB / 450.4 MB, free: 3.137 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006218/0.2725, allocations: 103 kB / 450.5 MB, free: 3.035 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005142/0.2776, allocations: 3.662 MB / 454.2 MB, free: 15.24 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004496/0.278, allocations: 0.8001 MB / 455 MB, free: 14.41 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001871/0.2782, allocations: 43.27 kB / 455 MB, free: 14.37 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002004/0.2784, allocations: 135.4 kB / 455.1 MB, free: 14.23 MB / 366.1 MB Notification: Performance of SimCode: time 1.062e-06/0.2784, allocations: 0 / 455.1 MB, free: 14.23 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04249/0.3209, allocations: 9.723 MB / 464.9 MB, free: 4.641 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.1/13.43, allocations: 6.406 kB / 464.9 MB, free: 4.637 MB / 366.1 MB " [Timeout remaining time 646] (rm -f Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder.pipe ; mkfifo Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder.pipe >> ../files/Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder.sim & python3 -m fmpy simulate --output-file Modelica_4.1.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_1_0_Modelica_Thermal_FluidHeatFlow_Examples_TestCylinder.fmu > Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Thermal/FluidHeatFlow/Examples/TestCylinder/TestCylinder.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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.1.0_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder_res.csv. Warning: Get data of variable cylinder1.H from file Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder_res.csv failed! Error: Could not read variable cylinder1.m in file Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder_res.csv. Warning: Get data of variable cylinder1.m from file Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder_res.csv failed! Error: Could not read variable cylinder2.H in file Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder_res.csv. Warning: Get data of variable cylinder2.H from file Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder_res.csv failed! Error: Could not read variable springDamper.s_rel in file Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder_res.csv. Warning: Get data of variable springDamper.s_rel from file Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder_res.csv failed! Error: Could not read variable springDamper.v_rel in file Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder_res.csv. Warning: Get data of variable springDamper.v_rel from file Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 15.989615712998784]