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.000961/0.000961, allocations: 85.05 kB / 21.5 MB, free: 2.988 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.0008763/0.0008763, allocations: 144.8 kB / 24.89 MB, free: 8.781 MB / 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 0.9601/0.9601, allocations: 173.4 MB / 201.5 MB, free: 8.766 MB / 186.7 MB " [Timeout remaining time 179] 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 1.293e-06/1.293e-06, allocations: 0 / 268.5 MB, free: 6.004 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.38e-05/1.509e-05, allocations: 2.312 kB / 268.5 MB, free: 6 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling): time 0.006792/0.006807, allocations: 3.515 MB / 272 MB, free: 2.465 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.004501/0.01131, allocations: 0.973 MB / 273 MB, free: 1.484 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001593/0.01147, allocations: 7.938 kB / 273 MB, free: 1.477 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002742/0.01174, allocations: 111.1 kB / 273.1 MB, free: 1.367 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003329/0.01207, allocations: 198.3 kB / 273.3 MB, free: 1.172 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002162/0.01229, allocations: 123.6 kB / 273.4 MB, free: 1.051 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005688/0.01286, allocations: 0.6686 MB / 274.1 MB, free: 392 kB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001984/0.01306, allocations: 137.4 kB / 274.2 MB, free: 240 kB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003314/0.01339, allocations: 371.1 kB / 274.6 MB, free: 15.87 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003263/0.01665, allocations: 195.5 kB / 274.8 MB, free: 15.68 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 6.496e-05/0.01672, allocations: 52 kB / 274.8 MB, free: 15.63 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.727e-05/0.01678, allocations: 52 kB / 274.9 MB, free: 15.58 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 7.702e-05/0.01686, allocations: 119.6 kB / 275 MB, free: 15.46 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001691/0.01703, allocations: 211.5 kB / 275.2 MB, free: 15.25 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004048/0.01743, allocations: 430.5 kB / 275.6 MB, free: 14.83 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.104e-06/0.01744, allocations: 0 / 275.6 MB, free: 14.83 MB / 266.7 MB Notification: Performance of FrontEnd: time 6.31e-07/0.01744, allocations: 4 kB / 275.6 MB, free: 14.83 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.759e-06/0.01744, allocations: 4 kB / 275.6 MB, free: 14.82 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.0008523/0.01829, allocations: 0.7384 MB / 276.4 MB, free: 14.05 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.132e-05/0.01833, allocations: 8.922 kB / 276.4 MB, free: 14.05 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.859e-05/0.01842, allocations: 76.88 kB / 276.5 MB, free: 13.97 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003304/0.01876, allocations: 259.9 kB / 276.7 MB, free: 13.69 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.504e-05/0.01884, allocations: 110.3 kB / 276.8 MB, free: 13.57 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.125e-05/0.01889, allocations: 40.38 kB / 276.9 MB, free: 13.53 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002033/0.02092, allocations: 0.7341 MB / 277.6 MB, free: 12.64 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.07e-05/0.02094, allocations: 192 / 277.6 MB, free: 12.64 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.063e-05/0.02096, allocations: 20.12 kB / 277.6 MB, free: 12.62 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.442e-06/0.02096, allocations: 8 kB / 277.6 MB, free: 12.61 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001414/0.0211, allocations: 111.1 kB / 277.7 MB, free: 12.51 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008889/0.02199, allocations: 0.6673 MB / 278.4 MB, free: 11.81 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00045/0.02244, allocations: 218.6 kB / 278.6 MB, free: 11.59 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.944e-05/0.02251, allocations: 64.75 kB / 278.7 MB, free: 11.52 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.262e-05/0.02253, allocations: 4 kB / 278.7 MB, free: 11.52 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.363e-05/0.02256, allocations: 46.5 kB / 278.7 MB, free: 11.46 MB / 266.7 MB Notification: Performance of pre-optimization done (n=32): time 1.503e-06/0.02256, allocations: 0 / 278.7 MB, free: 11.46 MB / 266.7 MB Notification: Performance of matching and sorting (n=32): time 0.0003636/0.02292, allocations: 247.2 kB / 279 MB, free: 11.21 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001138/0.02304, allocations: 445 kB / 279.4 MB, free: 10.67 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001917/0.02323, allocations: 339.3 kB / 279.7 MB, free: 10.32 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.089e-05/0.02325, allocations: 33.7 kB / 279.8 MB, free: 10.29 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002176/0.02347, allocations: 201.4 kB / 280 MB, free: 10.09 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.697e-05/0.02352, allocations: 122.9 kB / 280.1 MB, free: 9.965 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.815e-05/0.0236, allocations: 66.02 kB / 280.1 MB, free: 9.891 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 8.079e-05/0.02368, allocations: 358.7 kB / 280.5 MB, free: 9.531 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.041e-05/0.02374, allocations: 66.34 kB / 280.6 MB, free: 9.461 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000213/0.02396, allocations: 0.5696 MB / 281.1 MB, free: 8.742 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001351/0.02409, allocations: 149.2 kB / 281.3 MB, free: 8.586 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.755e-06/0.02409, allocations: 7.938 kB / 281.3 MB, free: 8.578 MB / 266.7 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0002252/0.02432, allocations: 266.5 kB / 281.5 MB, free: 8.293 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.311e-05/0.02434, allocations: 36.83 kB / 281.6 MB, free: 8.254 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.719e-06/0.02435, allocations: 3.984 kB / 281.6 MB, free: 8.25 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.264e-05/0.02443, allocations: 41.62 kB / 281.6 MB, free: 8.203 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002023/0.02463, allocations: 79.94 kB / 281.7 MB, free: 8.125 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001101/0.02573, allocations: 2.403 MB / 284.1 MB, free: 5.551 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001385/0.02587, allocations: 35.77 kB / 284.1 MB, free: 5.516 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.366e-05/0.02589, allocations: 12.06 kB / 284.1 MB, free: 5.504 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.217e-05/0.02598, allocations: 129.8 kB / 284.3 MB, free: 5.367 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.519e-05/0.02602, allocations: 43.95 kB / 284.3 MB, free: 5.324 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.353e-05/0.02607, allocations: 52.3 kB / 284.4 MB, free: 5.273 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.944e-06/0.02607, allocations: 4 kB / 284.4 MB, free: 5.27 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.422e-06/0.02607, allocations: 0 / 284.4 MB, free: 5.27 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003266/0.0264, allocations: 0.5253 MB / 284.9 MB, free: 4.641 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004729/0.02687, allocations: 0.4944 MB / 285.4 MB, free: 4.117 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.276e-06/0.02687, allocations: 7.938 kB / 285.4 MB, free: 4.109 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002085/0.02708, allocations: 79.94 kB / 285.5 MB, free: 4.031 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.523e-06/0.02708, allocations: 3.938 kB / 285.5 MB, free: 4.027 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.242e-05/0.0271, allocations: 8 kB / 285.5 MB, free: 4.02 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.353e-06/0.0271, allocations: 3.938 kB / 285.5 MB, free: 4.016 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.0271, allocations: 0 / 285.5 MB, free: 4.016 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002487/0.02735, allocations: 316.7 kB / 285.8 MB, free: 3.688 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.468e-05/0.02742, allocations: 51.67 kB / 285.8 MB, free: 3.637 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.926e-05/0.02745, allocations: 12 kB / 285.9 MB, free: 3.625 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001259/0.02758, allocations: 15.98 kB / 285.9 MB, free: 3.609 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.741e-05/0.0276, allocations: 15.97 kB / 285.9 MB, free: 3.594 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.487e-06/0.02761, allocations: 8 kB / 285.9 MB, free: 3.586 MB / 266.7 MB Notification: Performance of sorting global known variables: time 9.032e-05/0.0277, allocations: 140.7 kB / 286 MB, free: 3.445 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.0277, allocations: 0 / 286 MB, free: 3.445 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.000219/0.02792, allocations: 139.8 kB / 286.2 MB, free: 3.309 MB / 266.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 6.822e-05/0.02799, allocations: 88.36 kB / 286.3 MB, free: 3.211 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0003483/0.02834, allocations: 478.1 kB / 286.7 MB, free: 2.699 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 5.491e-06/0.02834, allocations: 4 kB / 286.7 MB, free: 2.695 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001986/0.02854, allocations: 85.19 kB / 286.8 MB, free: 2.609 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002822/0.02882, allocations: 129.4 kB / 286.9 MB, free: 2.484 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001018/0.02984, allocations: 0.7818 MB / 287.7 MB, free: 1.672 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.842e-05/0.0299, allocations: 113.8 kB / 287.8 MB, free: 1.543 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001264/0.03003, allocations: 59.38 kB / 287.9 MB, free: 1.484 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003021/0.03033, allocations: 225.2 kB / 288.1 MB, free: 1.262 MB / 266.7 MB Notification: Performance of SimCode: time 5.31e-07/0.03033, allocations: 0 / 288.1 MB, free: 1.262 MB / 266.7 MB Notification: Performance of Templates: time 0.09775/0.1281, allocations: 9.121 MB / 297.2 MB, free: 28.43 MB / 266.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 -s gbode -gbm=radauIIA3 -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","",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.735289361793548]