Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.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.001321/0.001321, allocations: 71.77 kB / 21.69 MB, free: 2.859 MB / 18.57 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.001547/0.001547, allocations: 168 kB / 25 MB, free: 8.871 MB / 18.57 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 0.9677/0.9677, allocations: 177.1 MB / 205.3 MB, free: 5.617 MB / 186.7 MB " [Timeout remaining time 179] 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: translateModel(Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|heatCapacitor.T|pipe.T",fileNamePrefix="Modelica_4.1.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.1.0_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.462e-06/1.462e-06, allocations: 0 / 273 MB, free: 1.852 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.877e-05/2.023e-05, allocations: 2.312 kB / 273 MB, free: 1.848 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling): time 0.003352/0.003372, allocations: 3.52 MB / 276.6 MB, free: 14.31 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001125/0.004497, allocations: 0.9656 MB / 277.5 MB, free: 13.34 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001439/0.004641, allocations: 7.938 kB / 277.5 MB, free: 13.33 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002546/0.004895, allocations: 99.12 kB / 277.6 MB, free: 13.23 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002622/0.005157, allocations: 202.2 kB / 277.8 MB, free: 13.04 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001911/0.005349, allocations: 127.7 kB / 278 MB, free: 12.91 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004985/0.005847, allocations: 0.6608 MB / 278.6 MB, free: 12.25 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001872/0.006034, allocations: 131.4 kB / 278.7 MB, free: 12.11 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002615/0.006296, allocations: 371.2 kB / 279.1 MB, free: 11.75 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002043/0.0065, allocations: 199.5 kB / 279.3 MB, free: 11.55 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 5.705e-05/0.006557, allocations: 52 kB / 279.4 MB, free: 11.5 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.635e-05/0.006613, allocations: 60 kB / 279.4 MB, free: 11.44 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 7.83e-05/0.006692, allocations: 115.6 kB / 279.5 MB, free: 11.33 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001501/0.006842, allocations: 211.5 kB / 279.7 MB, free: 11.12 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003687/0.007211, allocations: 434.5 kB / 280.2 MB, free: 10.7 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.116e-06/0.007214, allocations: 0 / 280.2 MB, free: 10.7 MB / 266.7 MB Notification: Performance of FrontEnd: time 8.52e-07/0.007214, allocations: 0 / 280.2 MB, free: 10.7 MB / 266.7 MB Notification: Performance of Transformations before backend: time 6.091e-06/0.007221, allocations: 0 / 280.2 MB, free: 10.7 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.0009121/0.008133, allocations: 0.8826 MB / 281 MB, free: 9.77 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.644e-05/0.008169, allocations: 12.03 kB / 281.1 MB, free: 9.758 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00011/0.008279, allocations: 100.5 kB / 281.2 MB, free: 9.66 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003833/0.008662, allocations: 327.2 kB / 281.5 MB, free: 9.312 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.209e-05/0.008754, allocations: 110.3 kB / 281.6 MB, free: 9.188 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.125e-05/0.008806, allocations: 36.38 kB / 281.6 MB, free: 9.152 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007726/0.009578, allocations: 0.8018 MB / 282.4 MB, free: 8.18 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.429e-05/0.009593, allocations: 4.188 kB / 282.4 MB, free: 8.176 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.078e-05/0.009623, allocations: 20.12 kB / 282.4 MB, free: 8.156 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.094e-05/0.009634, allocations: 8 kB / 282.4 MB, free: 8.148 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002494/0.009884, allocations: 147.8 kB / 282.6 MB, free: 8.004 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001214/0.0111, allocations: 0.9668 MB / 283.6 MB, free: 6.996 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006039/0.0117, allocations: 263.9 kB / 283.8 MB, free: 6.723 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001159/0.01182, allocations: 83.64 kB / 283.9 MB, free: 6.637 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.433e-05/0.01184, allocations: 8 kB / 283.9 MB, free: 6.629 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.624e-05/0.01187, allocations: 45.33 kB / 283.9 MB, free: 6.574 MB / 266.7 MB Notification: Performance of pre-optimization done (n=32): time 1.422e-06/0.01187, allocations: 0 / 283.9 MB, free: 6.574 MB / 266.7 MB Notification: Performance of matching and sorting (n=32): time 0.0005654/0.01243, allocations: 332.6 kB / 284.3 MB, free: 6.234 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001284/0.01256, allocations: 452.9 kB / 284.7 MB, free: 5.688 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003081/0.01287, allocations: 422.7 kB / 285.1 MB, free: 5.258 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.61e-05/0.0129, allocations: 33.7 kB / 285.2 MB, free: 5.219 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001393/0.01304, allocations: 303.2 kB / 285.5 MB, free: 4.918 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.091e-05/0.0131, allocations: 115 kB / 285.6 MB, free: 4.805 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.547e-05/0.01318, allocations: 75.69 kB / 285.6 MB, free: 4.719 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001313/0.01331, allocations: 0.5312 MB / 286.2 MB, free: 4.176 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001102/0.01342, allocations: 86.33 kB / 286.3 MB, free: 4.086 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002881/0.01371, allocations: 0.6361 MB / 286.9 MB, free: 3.281 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002261/0.01394, allocations: 190.9 kB / 287.1 MB, free: 3.082 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.205e-06/0.01394, allocations: 0 / 287.1 MB, free: 3.082 MB / 266.7 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0003787/0.01432, allocations: 356 kB / 287.4 MB, free: 2.707 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.531e-05/0.01434, allocations: 32.05 kB / 287.5 MB, free: 2.672 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.309e-06/0.01435, allocations: 0 / 287.5 MB, free: 2.672 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001228/0.01447, allocations: 51.3 kB / 287.5 MB, free: 2.613 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001801/0.01465, allocations: 75.92 kB / 287.6 MB, free: 2.539 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001819/0.01647, allocations: 3.585 MB / 291.2 MB, free: 14.7 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001666/0.01664, allocations: 31.78 kB / 291.2 MB, free: 14.67 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.777e-05/0.01666, allocations: 15.98 kB / 291.2 MB, free: 14.66 MB / 282.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.0001215/0.01678, allocations: 184.5 kB / 291.4 MB, free: 14.46 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.059e-05/0.01684, allocations: 55.72 kB / 291.5 MB, free: 14.41 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.152e-05/0.01689, allocations: 48.38 kB / 291.5 MB, free: 14.36 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.292e-06/0.01689, allocations: 0 / 291.5 MB, free: 14.36 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.627e-06/0.01689, allocations: 4 kB / 291.5 MB, free: 14.36 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003275/0.01722, allocations: 0.5721 MB / 292.1 MB, free: 13.68 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006847/0.01791, allocations: 0.7312 MB / 292.8 MB, free: 12.91 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.01791, allocations: 0 / 292.8 MB, free: 12.91 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001787/0.01809, allocations: 63.97 kB / 292.9 MB, free: 12.84 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.815e-06/0.01809, allocations: 3.984 kB / 292.9 MB, free: 12.84 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.397e-05/0.0181, allocations: 4 kB / 292.9 MB, free: 12.84 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/0.01811, allocations: 4 kB / 292.9 MB, free: 12.83 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.755e-06/0.01811, allocations: 11.94 kB / 292.9 MB, free: 12.82 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003895/0.0185, allocations: 433 kB / 293.3 MB, free: 12.38 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.84e-05/0.0186, allocations: 79.61 kB / 293.4 MB, free: 12.3 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.613e-05/0.01863, allocations: 15.98 kB / 293.4 MB, free: 12.28 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001441/0.01878, allocations: 8 kB / 293.4 MB, free: 12.27 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.284e-05/0.01881, allocations: 19.95 kB / 293.4 MB, free: 12.25 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.096e-05/0.01882, allocations: 12 kB / 293.4 MB, free: 12.24 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001792/0.019, allocations: 283.1 kB / 293.7 MB, free: 11.97 MB / 282.7 MB Notification: Performance of sort global known variables: time 6e-08/0.019, allocations: 0 / 293.7 MB, free: 11.97 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.000267/0.01927, allocations: 143.8 kB / 293.9 MB, free: 11.83 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 9.032e-05/0.01936, allocations: 111.2 kB / 294 MB, free: 11.71 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0005164/0.01987, allocations: 0.6126 MB / 294.6 MB, free: 11.04 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.01988, allocations: 0 / 294.6 MB, free: 11.04 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001046/0.01998, allocations: 96.03 kB / 294.7 MB, free: 10.94 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003801/0.02036, allocations: 140.8 kB / 294.8 MB, free: 10.81 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001212/0.02157, allocations: 0.7998 MB / 295.6 MB, free: 9.977 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002867/0.02186, allocations: 109.9 kB / 295.7 MB, free: 9.848 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001277/0.02199, allocations: 59.38 kB / 295.8 MB, free: 9.789 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.045e-05/0.02206, allocations: 36.5 kB / 295.8 MB, free: 9.754 MB / 282.7 MB Notification: Performance of SimCode: time 5.51e-07/0.02206, allocations: 0 / 295.8 MB, free: 9.754 MB / 282.7 MB Notification: Performance of Templates: time 0.009782/0.03184, allocations: 8.398 MB / 304.2 MB, free: 1.582 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.pipe ; mkfifo Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.pipe >> ../files/Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.sim & ./Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Thermal/FluidHeatFlow/Examples/SimpleCooling/SimpleCooling.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.9770157469902188]