Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank.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.00191/0.00191, 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.002331/0.002331, allocations: 179.1 kB / 23.7 MB, free: 4.414 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.404/1.404, allocations: 225.7 MB / 252.5 MB, free: 12.84 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.TestOpenTank,fileNamePrefix="Modelica_4_0_0_Modelica_Thermal_FluidHeatFlow_Examples_TestOpenTank",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank,fileNamePrefix="Modelica_4_0_0_Modelica_Thermal_FluidHeatFlow_Examples_TestOpenTank",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001552/0.001552, allocations: 47.92 kB / 370.4 MB, free: 9.715 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2481/0.2496, allocations: 52.18 MB / 422.6 MB, free: 14.43 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank): time 0.004244/0.2539, allocations: 2.675 MB / 425.2 MB, free: 11.74 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002043/0.2559, allocations: 1.204 MB / 426.4 MB, free: 10.53 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001396/0.256, allocations: 3.938 kB / 426.4 MB, free: 10.53 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004717/0.2565, allocations: 175.1 kB / 426.6 MB, free: 10.36 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004662/0.257, allocations: 206.9 kB / 426.8 MB, free: 10.15 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003999/0.2574, allocations: 181.7 kB / 427 MB, free: 9.977 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005168/0.2579, allocations: 446 kB / 427.4 MB, free: 9.539 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001611/0.2581, allocations: 69.7 kB / 427.5 MB, free: 9.473 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002232/0.2583, allocations: 183.3 kB / 427.7 MB, free: 9.293 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002682/0.2585, allocations: 199.1 kB / 427.9 MB, free: 9.098 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 6.02e-05/0.2586, allocations: 32 kB / 427.9 MB, free: 9.066 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001441/0.2587, allocations: 63.98 kB / 428 MB, free: 9.004 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001129/0.2589, allocations: 91.62 kB / 428 MB, free: 8.914 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001672/0.259, allocations: 159.2 kB / 428.2 MB, free: 8.758 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000554/0.2596, allocations: 497.9 kB / 428.7 MB, free: 8.27 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.937e-06/0.2596, allocations: 0 / 428.7 MB, free: 8.27 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.322e-06/0.2596, allocations: 0 / 428.7 MB, free: 8.27 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.163e-06/0.2596, allocations: 3.938 kB / 428.7 MB, free: 8.266 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: 47 * Number of variables: 47 Notification: Performance of Generate backend data structure: time 0.001018/0.2606, allocations: 0.6398 MB / 429.3 MB, free: 7.598 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.621e-05/0.2606, allocations: 8.031 kB / 429.3 MB, free: 7.59 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000101/0.2607, allocations: 59.16 kB / 429.4 MB, free: 7.523 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.638e-05/0.2608, allocations: 48.66 kB / 429.4 MB, free: 7.477 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004833/0.2613, allocations: 285.1 kB / 429.7 MB, free: 7.172 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.724e-05/0.2613, allocations: 16.81 kB / 429.7 MB, free: 7.152 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.358e-05/0.2614, allocations: 23.94 kB / 429.8 MB, free: 7.129 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006861/0.2621, allocations: 0.6034 MB / 430.4 MB, free: 6.41 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.295e-05/0.2621, allocations: 0 / 430.4 MB, free: 6.41 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.683e-05/0.2621, allocations: 11.94 kB / 430.4 MB, free: 6.398 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.524e-06/0.2621, allocations: 4 kB / 430.4 MB, free: 6.395 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003008/0.2624, allocations: 153.7 kB / 430.5 MB, free: 6.246 MB / 334.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001323/0.2637, allocations: 0.6877 MB / 431.2 MB, free: 5.508 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003808/0.2641, allocations: 175.1 kB / 431.4 MB, free: 5.328 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001501/0.2643, allocations: 78.52 kB / 431.5 MB, free: 5.25 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.536e-05/0.2643, allocations: 7.938 kB / 431.5 MB, free: 5.242 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003124/0.2646, allocations: 186.2 kB / 431.7 MB, free: 5.039 MB / 334.1 MB Notification: Performance of pre-optimization done (n=23): time 1.764e-06/0.2646, allocations: 0 / 431.7 MB, free: 5.039 MB / 334.1 MB Notification: Performance of matching and sorting (n=23): time 0.0008314/0.2654, allocations: 326 kB / 432 MB, free: 4.711 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001852/0.2656, allocations: 324.4 kB / 432.3 MB, free: 4.32 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004899/0.2661, allocations: 437.5 kB / 432.7 MB, free: 3.883 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.687e-05/0.2662, allocations: 37.7 kB / 432.8 MB, free: 3.84 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001647/0.2663, allocations: 200.5 kB / 433 MB, free: 3.637 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.634e-05/0.2664, allocations: 91.25 kB / 433 MB, free: 3.547 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.128e-05/0.2665, allocations: 57.7 kB / 433.1 MB, free: 3.484 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001645/0.2667, allocations: 346.8 kB / 433.4 MB, free: 3.137 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001425/0.2668, allocations: 63.97 kB / 433.5 MB, free: 3.074 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003843/0.2672, allocations: 440.7 kB / 433.9 MB, free: 2.543 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003155/0.2675, allocations: 183.3 kB / 434.1 MB, free: 2.352 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.2675, allocations: 0 / 434.1 MB, free: 2.352 MB / 334.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0004747/0.268, allocations: 274.1 kB / 434.4 MB, free: 2.074 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.7e-05/0.268, allocations: 8 kB / 434.4 MB, free: 2.066 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.946e-06/0.268, allocations: 4 kB / 434.4 MB, free: 2.062 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001306/0.2681, allocations: 32.84 kB / 434.4 MB, free: 2.027 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000245/0.2684, allocations: 51.91 kB / 434.5 MB, free: 1.977 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001575/0.27, allocations: 1.46 MB / 435.9 MB, free: 412 kB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002063/0.2702, allocations: 27.86 kB / 436 MB, free: 384 kB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.762e-05/0.2702, allocations: 8 kB / 436 MB, free: 376 kB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (27): * Single equations (assignments): 26 * 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 {(3,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0001983/0.2704, allocations: 165.8 kB / 436.1 MB, free: 200 kB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.788e-05/0.2704, allocations: 51.89 kB / 436.2 MB, free: 148 kB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005262/0.271, allocations: 262 kB / 436.4 MB, free: 15.88 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.755e-06/0.271, allocations: 15.92 kB / 436.4 MB, free: 15.86 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.332e-06/0.271, allocations: 3.938 kB / 436.5 MB, free: 15.86 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000574/0.2716, allocations: 0.5894 MB / 437 MB, free: 15.17 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009336/0.2725, allocations: 0.6407 MB / 437.7 MB, free: 14.47 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.964e-06/0.2725, allocations: 0 / 437.7 MB, free: 14.47 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002016/0.2727, allocations: 43.98 kB / 437.7 MB, free: 14.43 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.915e-06/0.2727, allocations: 4 kB / 437.7 MB, free: 14.43 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.736e-05/0.2727, allocations: 3.984 kB / 437.7 MB, free: 14.42 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.2727, allocations: 0 / 437.7 MB, free: 14.42 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.876e-06/0.2727, allocations: 8 kB / 437.7 MB, free: 14.41 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000602/0.2733, allocations: 421.6 kB / 438.2 MB, free: 13.99 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001324/0.2735, allocations: 59.7 kB / 438.2 MB, free: 13.93 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.881e-05/0.2735, allocations: 8 kB / 438.2 MB, free: 13.92 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002228/0.2737, allocations: 11.98 kB / 438.2 MB, free: 13.91 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.174e-05/0.2738, allocations: 15.97 kB / 438.2 MB, free: 13.89 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.332e-05/0.2738, allocations: 12 kB / 438.3 MB, free: 13.88 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003385/0.2741, allocations: 315.1 kB / 438.6 MB, free: 13.58 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2741, allocations: 0 / 438.6 MB, free: 13.58 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003864/0.2745, allocations: 103.8 kB / 438.7 MB, free: 13.48 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (openTank.m,openTank.H) * 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 (24): * Single equations (assignments): 22 * 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.00246/0.277, allocations: 1.29 MB / 440 MB, free: 12.35 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0006092/0.2776, allocations: 302.5 kB / 440.3 MB, free: 12.04 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.819e-06/0.2776, allocations: 4 kB / 440.3 MB, free: 12.04 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001606/0.2777, allocations: 75.91 kB / 440.3 MB, free: 11.96 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005529/0.2783, allocations: 108.5 kB / 440.4 MB, free: 11.86 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004499/0.2828, allocations: 3.379 MB / 443.8 MB, free: 8.367 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002008/0.283, allocations: 191.5 kB / 444 MB, free: 8.156 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001688/0.2832, allocations: 54.92 kB / 444.1 MB, free: 8.102 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001798/0.2834, allocations: 127.3 kB / 444.2 MB, free: 7.977 MB / 350.1 MB Notification: Performance of SimCode: time 6.12e-07/0.2834, allocations: 0 / 444.2 MB, free: 7.977 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04302/0.3264, allocations: 11.5 MB / 455.7 MB, free: 12.68 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.89/13.22, allocations: 11 kB / 455.7 MB, free: 12.67 MB / 366.1 MB " [Timeout remaining time 647] (rm -f Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank.pipe ; mkfifo Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank.pipe >> ../files/Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank.sim & python3 -m fmpy simulate --output-file Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank_res.csv --start-time 0 --stop-time 1.5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000299581 Modelica_4_0_0_Modelica_Thermal_FluidHeatFlow_Examples_TestOpenTank.fmu > Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Thermal/FluidHeatFlow/Examples/TestOpenTank/TestOpenTank.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable openTank.H in file Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank_res.csv. Warning: Get data of variable openTank.H from file Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank_res.csv failed! Error: Could not read variable openTank.m in file Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank_res.csv. Warning: Get data of variable openTank.m from file Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 15.866586388088763]