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.001701/0.001701, allocations: 116.5 kB / 20.44 MB, free: 1.469 MB / 14.72 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.0021/0.0021, allocations: 212.4 kB / 23.74 MB, free: 4.695 MB / 14.72 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 1.441/1.441, allocations: 230.5 MB / 257.4 MB, free: 8.031 MB / 206.1 MB " [Timeout remaining time 178] 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 0.001901/0.001901, allocations: 63.89 kB / 377.8 MB, free: 3.039 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2478/0.2497, allocations: 53.41 MB / 431.2 MB, free: 6.699 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder): time 0.004609/0.2543, allocations: 3.06 MB / 434.2 MB, free: 3.629 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002444/0.2568, allocations: 1.441 MB / 435.7 MB, free: 2.18 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001619/0.257, allocations: 7.938 kB / 435.7 MB, free: 2.172 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005089/0.2575, allocations: 147.2 kB / 435.8 MB, free: 2.027 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005205/0.258, allocations: 210.8 kB / 436 MB, free: 1.82 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003257/0.2583, allocations: 147.6 kB / 436.2 MB, free: 1.676 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005398/0.2588, allocations: 438.1 kB / 436.6 MB, free: 1.246 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001739/0.259, allocations: 76.27 kB / 436.7 MB, free: 1.172 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002383/0.2593, allocations: 187.3 kB / 436.9 MB, free: 0.9883 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002779/0.2595, allocations: 195.1 kB / 437 MB, free: 0.7969 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.171e-05/0.2596, allocations: 28 kB / 437.1 MB, free: 0.7695 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001306/0.2597, allocations: 59.97 kB / 437.1 MB, free: 0.7109 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001028/0.2598, allocations: 79.64 kB / 437.2 MB, free: 0.6328 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001877/0.26, allocations: 191 kB / 437.4 MB, free: 456 kB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000562/0.2606, allocations: 462.5 kB / 437.9 MB, free: 15.99 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.2606, allocations: 0 / 437.9 MB, free: 15.99 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.303e-06/0.2606, allocations: 0 / 437.9 MB, free: 15.99 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.393e-06/0.2606, allocations: 4 kB / 437.9 MB, free: 15.99 MB / 350.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.001071/0.2617, allocations: 0.6148 MB / 438.5 MB, free: 15.34 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.786e-05/0.2617, allocations: 8.031 kB / 438.5 MB, free: 15.34 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001197/0.2618, allocations: 79.27 kB / 438.6 MB, free: 15.25 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.508e-05/0.2619, allocations: 48.66 kB / 438.6 MB, free: 15.2 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004653/0.2624, allocations: 270.9 kB / 438.9 MB, free: 14.91 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.511e-05/0.2624, allocations: 21.03 kB / 438.9 MB, free: 14.89 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.477e-05/0.2624, allocations: 36.36 kB / 438.9 MB, free: 14.86 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005423/0.263, allocations: 312.6 kB / 439.2 MB, free: 14.53 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.983e-05/0.263, allocations: 0 / 439.2 MB, free: 14.53 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.276e-05/0.263, allocations: 12 kB / 439.2 MB, free: 14.52 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.206e-06/0.263, allocations: 4 kB / 439.2 MB, free: 14.51 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003552/0.2634, allocations: 182.5 kB / 439.4 MB, free: 14.34 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00144/0.2648, allocations: 0.8297 MB / 440.3 MB, free: 13.44 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005863/0.2654, allocations: 242.5 kB / 440.5 MB, free: 13.2 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001814/0.2656, allocations: 89.39 kB / 440.6 MB, free: 13.11 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.567e-05/0.2656, allocations: 4.281 kB / 440.6 MB, free: 13.11 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003262/0.266, allocations: 170.3 kB / 440.7 MB, free: 12.93 MB / 350.1 MB Notification: Performance of pre-optimization done (n=34): time 1.633e-06/0.266, allocations: 0 / 440.7 MB, free: 12.93 MB / 350.1 MB Notification: Performance of matching and sorting (n=40): time 0.002354/0.2683, allocations: 1.103 MB / 441.8 MB, free: 11.77 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001229/0.2685, allocations: 187.9 kB / 442 MB, free: 11.54 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000379/0.2688, allocations: 340.5 kB / 442.4 MB, free: 11.21 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.271e-05/0.2689, allocations: 29.7 kB / 442.4 MB, free: 11.17 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001649/0.269, allocations: 192.7 kB / 442.6 MB, free: 10.98 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001287/0.2692, allocations: 150.7 kB / 442.7 MB, free: 10.83 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001124/0.2693, allocations: 74.12 kB / 442.8 MB, free: 10.75 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001691/0.2694, allocations: 358.7 kB / 443.2 MB, free: 10.39 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001774/0.2696, allocations: 84.84 kB / 443.2 MB, free: 10.31 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002697/0.2699, allocations: 177.3 kB / 443.4 MB, free: 10.11 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004133/0.2703, allocations: 254.1 kB / 443.7 MB, free: 9.844 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.2703, allocations: 0 / 443.7 MB, free: 9.844 MB / 350.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0005985/0.2709, allocations: 346.6 kB / 444 MB, free: 9.496 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.071e-05/0.2709, allocations: 8.125 kB / 444 MB, free: 9.488 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.001e-06/0.2709, allocations: 4 kB / 444 MB, free: 9.484 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001035/0.271, allocations: 20.8 kB / 444 MB, free: 9.461 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003429/0.2714, allocations: 99.89 kB / 444.1 MB, free: 9.363 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001247/0.2726, allocations: 1.287 MB / 445.4 MB, free: 7.961 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001839/0.2728, allocations: 15.94 kB / 445.4 MB, free: 7.945 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.84e-05/0.2728, allocations: 16 kB / 445.4 MB, free: 7.93 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.0002326/0.2731, allocations: 168.6 kB / 445.6 MB, free: 7.758 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.158e-05/0.2731, allocations: 39.77 kB / 445.6 MB, free: 7.719 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006017/0.2737, allocations: 338.1 kB / 446 MB, free: 7.379 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.959e-06/0.2737, allocations: 4 kB / 446 MB, free: 7.375 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.703e-06/0.2737, allocations: 0 / 446 MB, free: 7.375 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006651/0.2744, allocations: 0.6576 MB / 446.6 MB, free: 6.613 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001244/0.2756, allocations: 0.8297 MB / 447.5 MB, free: 5.719 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.735e-06/0.2756, allocations: 0 / 447.5 MB, free: 5.719 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003241/0.276, allocations: 79.89 kB / 447.5 MB, free: 5.641 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.771e-06/0.276, allocations: 4 kB / 447.5 MB, free: 5.637 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.265e-05/0.276, allocations: 8 kB / 447.6 MB, free: 5.629 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.916e-06/0.276, allocations: 0 / 447.6 MB, free: 5.629 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.829e-06/0.276, allocations: 4 kB / 447.6 MB, free: 5.625 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008036/0.2768, allocations: 0.5431 MB / 448.1 MB, free: 5.055 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001278/0.2769, allocations: 63.78 kB / 448.2 MB, free: 4.992 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.792e-05/0.277, allocations: 8 kB / 448.2 MB, free: 4.984 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002214/0.2772, allocations: 19.98 kB / 448.2 MB, free: 4.965 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.795e-05/0.2773, allocations: 27.89 kB / 448.2 MB, free: 4.938 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.379e-05/0.2773, allocations: 20.12 kB / 448.2 MB, free: 4.918 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002663/0.2776, allocations: 239.1 kB / 448.5 MB, free: 4.688 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.2776, allocations: 0 / 448.5 MB, free: 4.688 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004168/0.278, allocations: 103.9 kB / 448.6 MB, free: 4.586 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.002523/0.2805, allocations: 1.397 MB / 450 MB, free: 3.293 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000697/0.2812, allocations: 359.1 kB / 450.3 MB, free: 2.93 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.796e-06/0.2812, allocations: 3.938 kB / 450.3 MB, free: 2.926 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002386/0.2814, allocations: 131.6 kB / 450.5 MB, free: 2.797 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005734/0.282, allocations: 92.91 kB / 450.5 MB, free: 2.707 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004996/0.287, allocations: 3.655 MB / 454.2 MB, free: 14.91 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004739/0.2875, allocations: 0.804 MB / 455 MB, free: 14.08 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001969/0.2877, allocations: 47.25 kB / 455.1 MB, free: 14.04 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002085/0.2879, allocations: 131.4 kB / 455.2 MB, free: 13.91 MB / 366.1 MB Notification: Performance of SimCode: time 6.31e-07/0.2879, allocations: 0 / 455.2 MB, free: 13.91 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04256/0.3305, allocations: 9.725 MB / 464.9 MB, free: 4.273 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.96/13.29, allocations: 3.938 kB / 464.9 MB, free: 4.27 MB / 366.1 MB " [Timeout remaining time 647] (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/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_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: 15.915860776000045]