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.001888/0.001888, allocations: 107.5 kB / 20.44 MB, free: 1.188 MB / 14.72 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.002197/0.002197, allocations: 196.4 kB / 23.71 MB, free: 4.406 MB / 14.72 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 1.407/1.407, allocations: 225.7 MB / 252.5 MB, free: 12.8 MB / 206.1 MB " [Timeout remaining time 178] 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 0.001594/0.001594, allocations: 51.92 kB / 370.4 MB, free: 9.758 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2403/0.2419, allocations: 52.18 MB / 422.6 MB, free: 14.39 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder): time 0.004385/0.2463, allocations: 2.803 MB / 425.4 MB, free: 11.57 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002164/0.2485, allocations: 1.192 MB / 426.6 MB, free: 10.37 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001511/0.2486, allocations: 7.938 kB / 426.6 MB, free: 10.36 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004747/0.2491, allocations: 147.1 kB / 426.7 MB, free: 10.22 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004455/0.2495, allocations: 178.9 kB / 426.9 MB, free: 10.04 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004272/0.2499, allocations: 171.5 kB / 427.1 MB, free: 9.875 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005387/0.2505, allocations: 432.4 kB / 427.5 MB, free: 9.453 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001865/0.2507, allocations: 67.95 kB / 427.5 MB, free: 9.387 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002329/0.2509, allocations: 179.3 kB / 427.7 MB, free: 9.211 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002664/0.2512, allocations: 171.1 kB / 427.9 MB, free: 9.043 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.595e-05/0.2512, allocations: 28 kB / 427.9 MB, free: 9.016 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001496/0.2514, allocations: 63.98 kB / 428 MB, free: 8.953 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000109/0.2515, allocations: 79.69 kB / 428.1 MB, free: 8.875 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001659/0.2517, allocations: 155.2 kB / 428.2 MB, free: 8.723 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005693/0.2522, allocations: 454.5 kB / 428.7 MB, free: 8.281 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.042e-06/0.2522, allocations: 0 / 428.7 MB, free: 8.281 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.714e-06/0.2522, allocations: 0 / 428.7 MB, free: 8.281 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.344e-05/0.2522, allocations: 0 / 428.7 MB, free: 8.281 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: 61 * Number of variables: 61 Notification: Performance of Generate backend data structure: time 0.001073/0.2533, allocations: 0.6227 MB / 429.3 MB, free: 7.629 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.052e-05/0.2534, allocations: 8.031 kB / 429.3 MB, free: 7.621 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001118/0.2535, allocations: 75.33 kB / 429.4 MB, free: 7.535 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.834e-05/0.2536, allocations: 48.66 kB / 429.4 MB, free: 7.488 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004687/0.254, allocations: 258.3 kB / 429.7 MB, free: 7.215 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.86e-05/0.2541, allocations: 21.03 kB / 429.7 MB, free: 7.195 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.4e-05/0.2541, allocations: 27.94 kB / 429.7 MB, free: 7.168 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006448/0.2548, allocations: 0.5311 MB / 430.2 MB, free: 6.559 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.002e-05/0.2548, allocations: 7.984 kB / 430.2 MB, free: 6.551 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.965e-05/0.2548, allocations: 12 kB / 430.3 MB, free: 6.539 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.093e-05/0.2548, allocations: 7.938 kB / 430.3 MB, free: 6.531 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003507/0.2552, allocations: 182.5 kB / 430.4 MB, free: 6.355 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001366/0.2565, allocations: 0.7674 MB / 431.2 MB, free: 5.527 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005784/0.2571, allocations: 247.8 kB / 431.4 MB, free: 5.277 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001808/0.2573, allocations: 94.23 kB / 431.5 MB, free: 5.184 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.981e-05/0.2573, allocations: 4.281 kB / 431.5 MB, free: 5.18 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003718/0.2577, allocations: 272.5 kB / 431.8 MB, free: 4.879 MB / 334.1 MB Notification: Performance of pre-optimization done (n=34): time 2.024e-06/0.2577, allocations: 0 / 431.8 MB, free: 4.879 MB / 334.1 MB Notification: Performance of matching and sorting (n=40): time 0.002319/0.26, allocations: 1.095 MB / 432.9 MB, free: 3.727 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001101/0.2601, allocations: 187.9 kB / 433.1 MB, free: 3.5 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003696/0.2605, allocations: 336.5 kB / 433.4 MB, free: 3.156 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.579e-05/0.2605, allocations: 33.7 kB / 433.5 MB, free: 3.117 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001488/0.2607, allocations: 196.7 kB / 433.6 MB, free: 2.918 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001156/0.2608, allocations: 138.8 kB / 433.8 MB, free: 2.781 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00011/0.2609, allocations: 74.12 kB / 433.9 MB, free: 2.703 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001581/0.2611, allocations: 354.7 kB / 434.2 MB, free: 2.348 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001829/0.2612, allocations: 88.84 kB / 434.3 MB, free: 2.262 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003291/0.2616, allocations: 313.8 kB / 434.6 MB, free: 1.887 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004173/0.262, allocations: 254.2 kB / 434.8 MB, free: 1.625 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.262, allocations: 0 / 434.8 MB, free: 1.625 MB / 334.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0005859/0.2626, allocations: 354.5 kB / 435.2 MB, free: 1.27 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.985e-05/0.2626, allocations: 10.19 kB / 435.2 MB, free: 1.262 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.951e-06/0.2626, allocations: 0 / 435.2 MB, free: 1.262 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.328e-05/0.2627, allocations: 24.98 kB / 435.2 MB, free: 1.234 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003475/0.263, allocations: 91.83 kB / 435.3 MB, free: 1.145 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001175/0.2642, allocations: 1.283 MB / 436.6 MB, free: 15.75 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001936/0.2644, allocations: 15.98 kB / 436.6 MB, free: 15.73 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.503e-05/0.2644, allocations: 12 kB / 436.6 MB, free: 15.72 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.0002027/0.2646, allocations: 165.9 kB / 436.8 MB, free: 15.55 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.122e-05/0.2647, allocations: 43.7 kB / 436.8 MB, free: 15.51 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006046/0.2653, allocations: 341.9 kB / 437.2 MB, free: 15.16 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.11e-06/0.2653, allocations: 7.938 kB / 437.2 MB, free: 15.16 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.266e-06/0.2653, allocations: 3.984 kB / 437.2 MB, free: 15.15 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006719/0.266, allocations: 0.6645 MB / 437.8 MB, free: 14.38 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001198/0.2672, allocations: 0.7835 MB / 438.6 MB, free: 13.54 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.869e-06/0.2672, allocations: 4 kB / 438.6 MB, free: 13.54 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003431/0.2675, allocations: 83.83 kB / 438.7 MB, free: 13.45 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.128e-06/0.2675, allocations: 0 / 438.7 MB, free: 13.45 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.362e-05/0.2676, allocations: 8 kB / 438.7 MB, free: 13.45 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.379e-06/0.2676, allocations: 4 kB / 438.7 MB, free: 13.44 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/0.2676, allocations: 0 / 438.7 MB, free: 13.44 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008061/0.2684, allocations: 0.5665 MB / 439.3 MB, free: 12.84 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001389/0.2685, allocations: 55.8 kB / 439.3 MB, free: 12.79 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.023e-05/0.2686, allocations: 12 kB / 439.3 MB, free: 12.78 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002265/0.2688, allocations: 27.91 kB / 439.4 MB, free: 12.75 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.318e-05/0.2689, allocations: 27.89 kB / 439.4 MB, free: 12.72 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.261e-05/0.2689, allocations: 16 kB / 439.4 MB, free: 12.71 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002539/0.2691, allocations: 239 kB / 439.7 MB, free: 12.48 MB / 350.1 MB Notification: Performance of sort global known variables: time 6.1e-08/0.2691, allocations: 0 / 439.7 MB, free: 12.48 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004566/0.2696, allocations: 96 kB / 439.7 MB, free: 12.38 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 (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.002776/0.2724, allocations: 1.454 MB / 441.2 MB, free: 11.07 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0006943/0.2731, allocations: 370.2 kB / 441.6 MB, free: 10.7 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.985e-06/0.2731, allocations: 0 / 441.6 MB, free: 10.7 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002336/0.2733, allocations: 127.8 kB / 441.7 MB, free: 10.57 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005629/0.2739, allocations: 100.4 kB / 441.8 MB, free: 10.48 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004812/0.2787, allocations: 3.644 MB / 445.4 MB, free: 6.699 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002146/0.2789, allocations: 207.6 kB / 445.6 MB, free: 6.477 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001805/0.2791, allocations: 47.25 kB / 445.7 MB, free: 6.43 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002084/0.2793, allocations: 131.3 kB / 445.8 MB, free: 6.301 MB / 350.1 MB Notification: Performance of SimCode: time 7.42e-07/0.2793, allocations: 0 / 445.8 MB, free: 6.301 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04242/0.3217, allocations: 10.37 MB / 456.2 MB, free: 12.09 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.11/13.43, allocations: 0 / 456.2 MB, free: 12.09 MB / 366.1 MB " [Timeout remaining time 646] (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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Thermal/FluidHeatFlow/Examples/TestCylinder/TestCylinder.csv","/var/lib/jenkins1/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: 16.067791109904647]