Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.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.002628/0.002628, allocations: 95.86 kB / 20.96 MB, free: 3.461 MB / 18.57 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.002969/0.002969, allocations: 145.1 kB / 24.26 MB, free: 168 kB / 18.57 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.524/1.524, allocations: 173.4 MB / 200.8 MB, free: 9.336 MB / 186.7 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: translateModel(Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|heatCapacitor.T|pipe.T",fileNamePrefix="Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling") translateModel(Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|heatCapacitor.T|pipe.T",fileNamePrefix="Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.304e-06/2.304e-06, allocations: 0 / 267.3 MB, free: 6.773 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.5e-05/3.73e-05, allocations: 10.25 kB / 267.3 MB, free: 6.762 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling): time 0.008023/0.008061, allocations: 3.474 MB / 270.8 MB, free: 3.27 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.002752/0.01081, allocations: 0.9382 MB / 271.7 MB, free: 2.324 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004357/0.01125, allocations: 7.938 kB / 271.7 MB, free: 2.316 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005219/0.01177, allocations: 111.1 kB / 271.8 MB, free: 2.207 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009596/0.01273, allocations: 198.3 kB / 272 MB, free: 2.012 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005121/0.01324, allocations: 119.7 kB / 272.2 MB, free: 1.895 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.001481/0.01472, allocations: 0.665 MB / 272.8 MB, free: 1.227 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004162/0.01514, allocations: 123.5 kB / 272.9 MB, free: 1.098 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000917/0.01606, allocations: 367.2 kB / 273.3 MB, free: 0.7383 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006212/0.01668, allocations: 215.4 kB / 273.5 MB, free: 0.5273 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001879/0.01686, allocations: 52 kB / 273.6 MB, free: 488 kB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002237/0.01709, allocations: 56 kB / 273.6 MB, free: 432 kB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001802/0.01727, allocations: 115.6 kB / 273.7 MB, free: 316 kB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004777/0.01775, allocations: 207.6 kB / 273.9 MB, free: 108 kB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001321/0.01907, allocations: 0.6658 MB / 274.6 MB, free: 15.44 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.067e-06/0.01907, allocations: 0 / 274.6 MB, free: 15.44 MB / 266.7 MB Notification: Performance of FrontEnd: time 8.22e-07/0.01907, allocations: 0 / 274.6 MB, free: 15.44 MB / 266.7 MB Notification: Performance of Transformations before backend: time 2.617e-05/0.0191, allocations: 0 / 274.6 MB, free: 15.44 MB / 266.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 80 * Number of variables: 80 Notification: Performance of Generate backend data structure: time 0.002505/0.0216, allocations: 0.9136 MB / 275.5 MB, free: 14.48 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.808e-05/0.02165, allocations: 8.922 kB / 275.5 MB, free: 14.47 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002865/0.02194, allocations: 88.61 kB / 275.6 MB, free: 14.38 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009536/0.02289, allocations: 355.2 kB / 275.9 MB, free: 14.01 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001939/0.02309, allocations: 110.3 kB / 276.1 MB, free: 13.88 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001024/0.02319, allocations: 36.38 kB / 276.1 MB, free: 13.85 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001641/0.02483, allocations: 0.8791 MB / 277 MB, free: 12.8 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.941e-05/0.02485, allocations: 192 / 277 MB, free: 12.8 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.598e-05/0.02491, allocations: 20.12 kB / 277 MB, free: 12.79 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.367e-05/0.02493, allocations: 8 kB / 277 MB, free: 12.78 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009445/0.02587, allocations: 262.5 kB / 277.3 MB, free: 12.52 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003477/0.02935, allocations: 1.128 MB / 278.4 MB, free: 11.35 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001777/0.03113, allocations: 351.9 kB / 278.7 MB, free: 10.99 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004141/0.03154, allocations: 123.6 kB / 278.8 MB, free: 10.86 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.407e-05/0.03158, allocations: 12 kB / 278.9 MB, free: 10.85 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.321e-05/0.03164, allocations: 41.39 kB / 278.9 MB, free: 10.8 MB / 266.7 MB Notification: Performance of pre-optimization done (n=32): time 1.993e-06/0.03164, allocations: 3.938 kB / 278.9 MB, free: 10.8 MB / 266.7 MB Notification: Performance of matching and sorting (n=32): time 0.001776/0.03342, allocations: 456.6 kB / 279.3 MB, free: 10.34 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004429/0.03386, allocations: 449 kB / 279.8 MB, free: 9.793 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001011/0.03487, allocations: 0.5143 MB / 280.3 MB, free: 9.262 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 7.041e-05/0.03494, allocations: 37.7 kB / 280.3 MB, free: 9.219 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004052/0.03535, allocations: 307.2 kB / 280.6 MB, free: 8.914 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001917/0.03554, allocations: 123 kB / 280.8 MB, free: 8.793 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002675/0.0358, allocations: 87.67 kB / 280.8 MB, free: 8.695 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0004709/0.03628, allocations: 0.5508 MB / 281.4 MB, free: 8.133 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004353/0.03671, allocations: 130.3 kB / 281.5 MB, free: 8 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001245/0.03796, allocations: 0.7064 MB / 282.2 MB, free: 7.125 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009415/0.0389, allocations: 286.9 kB / 282.5 MB, free: 6.832 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.701e-06/0.0389, allocations: 0 / 282.5 MB, free: 6.832 MB / 266.7 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.001467/0.04037, allocations: 463.9 kB / 283 MB, free: 6.352 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.62e-05/0.04043, allocations: 29.7 kB / 283 MB, free: 6.316 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.919e-06/0.04044, allocations: 4 kB / 283 MB, free: 6.312 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002834/0.04072, allocations: 59.34 kB / 283.1 MB, free: 6.246 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005072/0.04123, allocations: 63.91 kB / 283.1 MB, free: 6.184 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005367/0.04659, allocations: 3.757 MB / 286.9 MB, free: 2.172 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006457/0.04724, allocations: 39.83 kB / 286.9 MB, free: 2.133 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.543e-05/0.0473, allocations: 8 kB / 286.9 MB, free: 2.125 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (36): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(3,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0004957/0.0478, allocations: 220.4 kB / 287.1 MB, free: 1.898 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002346/0.04803, allocations: 63.78 kB / 287.2 MB, free: 1.836 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001716/0.04821, allocations: 48.36 kB / 287.2 MB, free: 1.789 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.515e-06/0.04821, allocations: 4 kB / 287.2 MB, free: 1.785 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.388e-06/0.04822, allocations: 0 / 287.2 MB, free: 1.785 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001257/0.04948, allocations: 0.6424 MB / 287.9 MB, free: 1.039 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002464/0.05194, allocations: 0.868 MB / 288.8 MB, free: 124 kB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.488e-06/0.05194, allocations: 0 / 288.8 MB, free: 124 kB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005593/0.0525, allocations: 75.89 kB / 288.8 MB, free: 48 kB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.163e-05/0.05251, allocations: 0 / 288.8 MB, free: 48 kB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.08e-05/0.05256, allocations: 4 kB / 288.8 MB, free: 44 kB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.998e-06/0.05256, allocations: 4 kB / 288.8 MB, free: 40 kB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.883e-06/0.05256, allocations: 0 / 288.8 MB, free: 40 kB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001606/0.05417, allocations: 0.572 MB / 289.4 MB, free: 15.45 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003254/0.05449, allocations: 87.59 kB / 289.5 MB, free: 15.36 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001004/0.05459, allocations: 4 kB / 289.5 MB, free: 15.36 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004769/0.05507, allocations: 16 kB / 289.5 MB, free: 15.34 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.855e-05/0.05515, allocations: 23.98 kB / 289.5 MB, free: 15.32 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.418e-05/0.05518, allocations: 8 kB / 289.5 MB, free: 15.31 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0006472/0.05583, allocations: 355 kB / 289.9 MB, free: 14.96 MB / 282.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.05583, allocations: 0 / 289.9 MB, free: 14.96 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0008343/0.05666, allocations: 143.7 kB / 290 MB, free: 14.82 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (pipe.T,heatCapacitor.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (32): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * 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.0002032/0.05687, allocations: 111.4 kB / 290.1 MB, free: 14.71 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.00171/0.05858, allocations: 0.7025 MB / 290.8 MB, free: 13.95 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 7.093e-06/0.05858, allocations: 4 kB / 290.9 MB, free: 13.95 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004204/0.05901, allocations: 136 kB / 291 MB, free: 13.81 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001013/0.06002, allocations: 136 kB / 291.1 MB, free: 13.68 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002405/0.06242, allocations: 0.8185 MB / 291.9 MB, free: 12.83 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003509/0.06277, allocations: 212.4 kB / 292.1 MB, free: 12.61 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0003615/0.06314, allocations: 63.36 kB / 292.2 MB, free: 12.54 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001674/0.0633, allocations: 36.5 kB / 292.2 MB, free: 12.51 MB / 282.7 MB Notification: Performance of SimCode: time 8.01e-07/0.0633, allocations: 0 / 292.2 MB, free: 12.51 MB / 282.7 MB Notification: Performance of Templates: time 0.02529/0.08859, allocations: 8.415 MB / 300.7 MB, free: 4.309 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.pipe ; mkfifo Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.pipe >> ../files/Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.sim & ./Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Thermal/FluidHeatFlow/Examples/SimpleCooling/SimpleCooling.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.868273635976948]