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.0009519/0.0009519, allocations: 80.8 kB / 21.5 MB, free: 2.996 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.001117/0.001117, allocations: 170.3 kB / 24.91 MB, free: 9.195 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.9698/0.9698, allocations: 177.1 MB / 205.3 MB, free: 5.492 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.032e-06/1.032e-06, allocations: 0 / 273.5 MB, free: 1.285 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.707e-05/1.81e-05, allocations: 6.312 kB / 273.5 MB, free: 1.277 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling): time 0.003197/0.003215, allocations: 3.545 MB / 277 MB, free: 13.72 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001311/0.004526, allocations: 0.9926 MB / 278 MB, free: 12.72 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001446/0.00467, allocations: 11.94 kB / 278 MB, free: 12.71 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000251/0.004922, allocations: 99.12 kB / 278.1 MB, free: 12.61 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002776/0.005199, allocations: 210.2 kB / 278.3 MB, free: 12.4 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001991/0.005398, allocations: 127.8 kB / 278.4 MB, free: 12.28 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004809/0.005879, allocations: 0.6611 MB / 279.1 MB, free: 11.61 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001651/0.006044, allocations: 125.4 kB / 279.2 MB, free: 11.48 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002952/0.006339, allocations: 379.2 kB / 279.6 MB, free: 11.11 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002045/0.006544, allocations: 195.5 kB / 279.8 MB, free: 10.91 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 5.327e-05/0.006597, allocations: 52 kB / 279.8 MB, free: 10.86 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.18e-05/0.006649, allocations: 56 kB / 279.9 MB, free: 10.81 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 6.359e-05/0.006713, allocations: 123.5 kB / 280 MB, free: 10.69 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001297/0.006842, allocations: 207.6 kB / 280.2 MB, free: 10.48 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003219/0.007164, allocations: 422.5 kB / 280.6 MB, free: 10.07 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.224e-06/0.007166, allocations: 7.938 kB / 280.6 MB, free: 10.06 MB / 266.7 MB Notification: Performance of FrontEnd: time 7.72e-07/0.007167, allocations: 0 / 280.6 MB, free: 10.06 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.578e-06/0.007172, allocations: 3.938 kB / 280.6 MB, free: 10.06 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.0007023/0.007874, allocations: 0.7462 MB / 281.4 MB, free: 9.281 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.08e-05/0.007905, allocations: 8.031 kB / 281.4 MB, free: 9.273 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.151e-05/0.007986, allocations: 72.88 kB / 281.5 MB, free: 9.203 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003094/0.008296, allocations: 271.8 kB / 281.7 MB, free: 8.91 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.302e-05/0.008379, allocations: 106.3 kB / 281.8 MB, free: 8.789 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.432e-05/0.008423, allocations: 44.36 kB / 281.9 MB, free: 8.746 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004436/0.008867, allocations: 0.7341 MB / 282.6 MB, free: 7.859 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.4e-05/0.008881, allocations: 192 / 282.6 MB, free: 7.859 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.229e-05/0.008903, allocations: 20.06 kB / 282.6 MB, free: 7.84 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.646e-06/0.008912, allocations: 8 kB / 282.6 MB, free: 7.832 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001527/0.009064, allocations: 107.1 kB / 282.7 MB, free: 7.727 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009088/0.009973, allocations: 0.6596 MB / 283.4 MB, free: 7.047 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004525/0.01043, allocations: 225.8 kB / 283.6 MB, free: 6.816 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.335e-05/0.0105, allocations: 72.73 kB / 283.7 MB, free: 6.742 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.072e-05/0.01052, allocations: 4 kB / 283.7 MB, free: 6.738 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.297e-05/0.01054, allocations: 38.56 kB / 283.7 MB, free: 6.691 MB / 266.7 MB Notification: Performance of pre-optimization done (n=32): time 1.343e-06/0.01054, allocations: 0 / 283.7 MB, free: 6.691 MB / 266.7 MB Notification: Performance of matching and sorting (n=32): time 0.00038/0.01092, allocations: 239.2 kB / 284 MB, free: 6.445 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001289/0.01105, allocations: 452.9 kB / 284.4 MB, free: 5.898 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000201/0.01125, allocations: 339.3 kB / 284.7 MB, free: 5.555 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.415e-05/0.01128, allocations: 29.7 kB / 284.8 MB, free: 5.52 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.155e-05/0.01136, allocations: 201.4 kB / 285 MB, free: 5.32 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.818e-05/0.01142, allocations: 111 kB / 285.1 MB, free: 5.211 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.891e-05/0.0115, allocations: 81.94 kB / 285.2 MB, free: 5.121 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 9.096e-05/0.01159, allocations: 358.7 kB / 285.5 MB, free: 4.762 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.53e-05/0.01165, allocations: 66.33 kB / 285.6 MB, free: 4.691 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002253/0.01188, allocations: 0.5658 MB / 286.1 MB, free: 3.977 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001427/0.01202, allocations: 161.1 kB / 286.3 MB, free: 3.809 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.346e-06/0.01202, allocations: 3.938 kB / 286.3 MB, free: 3.805 MB / 266.7 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0002289/0.01225, allocations: 258.6 kB / 286.6 MB, free: 3.527 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.499e-05/0.01228, allocations: 33.7 kB / 286.6 MB, free: 3.488 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.428e-06/0.01228, allocations: 0 / 286.6 MB, free: 3.488 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.781e-05/0.01237, allocations: 41.67 kB / 286.6 MB, free: 3.441 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002084/0.01258, allocations: 86.05 kB / 286.7 MB, free: 3.359 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001197/0.01378, allocations: 2.415 MB / 289.1 MB, free: 0.7734 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001486/0.01392, allocations: 39.77 kB / 289.2 MB, free: 0.7344 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.495e-05/0.01394, allocations: 8 kB / 289.2 MB, free: 0.7266 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 9.557e-05/0.01403, allocations: 129.8 kB / 289.3 MB, free: 0.5898 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.815e-05/0.01408, allocations: 43.95 kB / 289.3 MB, free: 0.5469 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.748e-05/0.01413, allocations: 48.31 kB / 289.4 MB, free: 0.4961 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.554e-06/0.01413, allocations: 4 kB / 289.4 MB, free: 0.4922 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.723e-06/0.01413, allocations: 0 / 289.4 MB, free: 0.4922 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002786/0.01441, allocations: 0.5253 MB / 289.9 MB, free: 15.86 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005111/0.01492, allocations: 0.4982 MB / 290.4 MB, free: 15.34 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.308e-06/0.01493, allocations: 3.938 kB / 290.4 MB, free: 15.33 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002119/0.01514, allocations: 83.88 kB / 290.5 MB, free: 15.25 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.803e-06/0.01514, allocations: 0 / 290.5 MB, free: 15.25 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.504e-05/0.01516, allocations: 11.98 kB / 290.5 MB, free: 15.24 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-06/0.01516, allocations: 4 kB / 290.5 MB, free: 15.23 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.01516, allocations: 0 / 290.5 MB, free: 15.23 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002669/0.01543, allocations: 308.8 kB / 290.8 MB, free: 14.91 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.726e-05/0.0155, allocations: 43.69 kB / 290.9 MB, free: 14.87 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.776e-05/0.01553, allocations: 8 kB / 290.9 MB, free: 14.86 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001273/0.01566, allocations: 16 kB / 290.9 MB, free: 14.85 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.137e-05/0.01569, allocations: 19.95 kB / 290.9 MB, free: 14.83 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.029e-05/0.0157, allocations: 8 kB / 290.9 MB, free: 14.82 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001036/0.0158, allocations: 140.7 kB / 291.1 MB, free: 14.68 MB / 282.7 MB Notification: Performance of sort global known variables: time 7e-08/0.0158, allocations: 4 kB / 291.1 MB, free: 14.68 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002372/0.01604, allocations: 143.8 kB / 291.2 MB, free: 14.54 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 8.619e-05/0.01613, allocations: 84.36 kB / 291.3 MB, free: 14.45 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0003961/0.01652, allocations: 486 kB / 291.8 MB, free: 13.93 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 7.014e-06/0.01653, allocations: 4 kB / 291.8 MB, free: 13.93 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 7.411e-05/0.01661, allocations: 77.2 kB / 291.8 MB, free: 13.85 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003145/0.01692, allocations: 145.4 kB / 292 MB, free: 13.71 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001095/0.01801, allocations: 0.7787 MB / 292.8 MB, free: 12.9 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.816e-05/0.01808, allocations: 113.8 kB / 292.9 MB, free: 12.77 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001461/0.01823, allocations: 55.39 kB / 292.9 MB, free: 12.71 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003055/0.01853, allocations: 225.2 kB / 293.1 MB, free: 12.49 MB / 282.7 MB Notification: Performance of SimCode: time 6.21e-07/0.01854, allocations: 0 / 293.1 MB, free: 12.49 MB / 282.7 MB Notification: Performance of Templates: time 0.01046/0.029, allocations: 9.12 MB / 302.3 MB, free: 3.637 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 -s gbode -gbm=radauIIA3 -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.7024551378563046]