Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.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.001614/0.001614, allocations: 85.08 kB / 23 MB, free: 1.504 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.001098/0.001098, allocations: 173.2 kB / 26.39 MB, free: 8.156 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9074/0.9074, allocations: 158.6 MB / 188.3 MB, free: 2.816 MB / 170.7 MB " [Timeout remaining time 179] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.IndirectCooling,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1500,variableFilter="time|heatCapacitor.T|innerPipe.T|outerPipe.T|pipe1.T",fileNamePrefix="Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling") translateModel(Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1500,variableFilter="time|heatCapacitor.T|innerPipe.T|outerPipe.T|pipe1.T",fileNamePrefix="Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.014e-06/2.014e-06, allocations: 0 / 252.2 MB, free: 7.254 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.464e-05/3.665e-05, allocations: 6.25 kB / 252.3 MB, free: 7.246 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling): time 0.007365/0.007401, allocations: 5.499 MB / 257.8 MB, free: 1.723 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.003956/0.01136, allocations: 1.441 MB / 259.2 MB, free: 276 kB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007939/0.01215, allocations: 15.88 kB / 259.2 MB, free: 260 kB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005883/0.01274, allocations: 198.3 kB / 259.4 MB, free: 60 kB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001138/0.01388, allocations: 420.5 kB / 259.8 MB, free: 15.64 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007089/0.01459, allocations: 259.5 kB / 260.1 MB, free: 15.39 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.001941/0.01653, allocations: 1.424 MB / 261.5 MB, free: 13.96 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005628/0.01709, allocations: 267.6 kB / 261.8 MB, free: 13.67 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001243/0.01833, allocations: 0.7913 MB / 262.5 MB, free: 12.88 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008387/0.01917, allocations: 434.8 kB / 263 MB, free: 12.45 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002607/0.01943, allocations: 120 kB / 263.1 MB, free: 12.34 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002197/0.01965, allocations: 120 kB / 263.2 MB, free: 12.22 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002129/0.01986, allocations: 263.1 kB / 263.5 MB, free: 11.96 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005907/0.02046, allocations: 447.1 kB / 263.9 MB, free: 11.52 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001161/0.02162, allocations: 0.9108 MB / 264.8 MB, free: 10.61 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.039e-06/0.02162, allocations: 0 / 264.8 MB, free: 10.61 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.663e-06/0.02162, allocations: 0 / 264.8 MB, free: 10.61 MB / 250.7 MB Notification: Performance of Transformations before backend: time 2.362e-05/0.02165, allocations: 0 / 264.8 MB, free: 10.61 MB / 250.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 169 * Number of variables: 169 Notification: Performance of Generate backend data structure: time 0.002503/0.02415, allocations: 1.552 MB / 266.4 MB, free: 9 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.021e-05/0.02419, allocations: 11.98 kB / 266.4 MB, free: 8.988 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002849/0.02448, allocations: 184.2 kB / 266.6 MB, free: 8.809 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007648/0.02524, allocations: 0.5395 MB / 267.1 MB, free: 8.238 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000243/0.02548, allocations: 305.9 kB / 267.4 MB, free: 7.887 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001187/0.0256, allocations: 88.38 kB / 267.5 MB, free: 7.801 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001313/0.02691, allocations: 1.719 MB / 269.2 MB, free: 5.703 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.66e-05/0.02693, allocations: 192 / 269.2 MB, free: 5.703 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.256e-05/0.02698, allocations: 40.12 kB / 269.2 MB, free: 5.664 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.156e-05/0.027, allocations: 16 kB / 269.3 MB, free: 5.648 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003804/0.02738, allocations: 277.7 kB / 269.5 MB, free: 5.379 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00224/0.02962, allocations: 1.696 MB / 271.2 MB, free: 3.641 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001101/0.03072, allocations: 0.525 MB / 271.7 MB, free: 3.102 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002381/0.03095, allocations: 181.5 kB / 271.9 MB, free: 2.922 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.244e-05/0.031, allocations: 20.66 kB / 271.9 MB, free: 2.898 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.787e-05/0.03102, allocations: 50.16 kB / 272 MB, free: 2.84 MB / 250.7 MB Notification: Performance of pre-optimization done (n=72): time 2.214e-06/0.03103, allocations: 3.938 kB / 272 MB, free: 2.836 MB / 250.7 MB Notification: Performance of matching and sorting (n=72): time 0.0009824/0.03201, allocations: 0.6673 MB / 272.7 MB, free: 2.148 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003689/0.03238, allocations: 0.945 MB / 273.6 MB, free: 0.9727 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004816/0.03286, allocations: 0.6865 MB / 274.3 MB, free: 280 kB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 4.657e-05/0.03291, allocations: 45.7 kB / 274.3 MB, free: 228 kB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002732/0.03318, allocations: 499.4 kB / 274.8 MB, free: 15.73 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001466/0.03333, allocations: 257.7 kB / 275.1 MB, free: 15.48 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001776/0.0335, allocations: 172.2 kB / 275.2 MB, free: 15.3 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001351/0.03364, allocations: 0.5042 MB / 275.7 MB, free: 14.79 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001674/0.03381, allocations: 179 kB / 275.9 MB, free: 14.6 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007172/0.03452, allocations: 1.469 MB / 277.4 MB, free: 12.72 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003558/0.03488, allocations: 406 kB / 277.8 MB, free: 12.29 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.785e-06/0.03488, allocations: 4 kB / 277.8 MB, free: 12.29 MB / 266.7 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.000867/0.03575, allocations: 0.7552 MB / 278.5 MB, free: 11.46 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.745e-05/0.03581, allocations: 85.11 kB / 278.6 MB, free: 11.36 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.889e-06/0.03582, allocations: 3.984 kB / 278.6 MB, free: 11.36 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002259/0.03604, allocations: 114.3 kB / 278.7 MB, free: 11.23 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000364/0.03641, allocations: 148 kB / 278.9 MB, free: 11.08 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003959/0.04037, allocations: 8.789 MB / 287.7 MB, free: 1.719 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004672/0.04083, allocations: 83.58 kB / 287.8 MB, free: 1.637 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.393e-05/0.04087, allocations: 16 kB / 287.8 MB, free: 1.621 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (80): * Single equations (assignments): 72 * Array equations: 0 * Algorithm blocks: 3 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 4 systems {(3,1), (1,1), (3,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0002275/0.04109, allocations: 224.4 kB / 288 MB, free: 1.391 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000149/0.04124, allocations: 123.4 kB / 288.1 MB, free: 1.27 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001241/0.04137, allocations: 95.95 kB / 288.2 MB, free: 1.168 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.67e-06/0.04137, allocations: 8 kB / 288.2 MB, free: 1.16 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.426e-06/0.04138, allocations: 0 / 288.2 MB, free: 1.16 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005674/0.04195, allocations: 0.7306 MB / 288.9 MB, free: 328 kB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00197/0.04392, allocations: 1.178 MB / 290.1 MB, free: 15.1 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.729e-06/0.04392, allocations: 0 / 290.1 MB, free: 15.1 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006649/0.04459, allocations: 151.8 kB / 290.3 MB, free: 14.95 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001188/0.04471, allocations: 19.67 kB / 290.3 MB, free: 14.93 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.966e-05/0.04476, allocations: 23.92 kB / 290.3 MB, free: 14.9 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001153/0.04591, allocations: 1.737 MB / 292.1 MB, free: 13.05 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.803e-06/0.04591, allocations: 4 kB / 292.1 MB, free: 13.04 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001274/0.04719, allocations: 0.7058 MB / 292.8 MB, free: 12.32 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002812/0.04747, allocations: 175.2 kB / 292.9 MB, free: 12.14 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.708e-05/0.04754, allocations: 24 kB / 293 MB, free: 12.12 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003224/0.04787, allocations: 35.97 kB / 293 MB, free: 12.09 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.751e-05/0.04792, allocations: 44.56 kB / 293 MB, free: 12.04 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.066e-05/0.04794, allocations: 12 kB / 293 MB, free: 12.03 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0002738/0.04822, allocations: 438.8 kB / 293.5 MB, free: 11.61 MB / 282.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.04822, allocations: 0 / 293.5 MB, free: 11.61 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0005735/0.04879, allocations: 299.7 kB / 293.8 MB, free: 11.31 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (heatCapacitor.T,pipe1.T,outerPipe.T,innerPipe.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 (70): * Single equations (assignments): 69 * 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): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001256/0.04892, allocations: 127.1 kB / 293.9 MB, free: 11.18 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.001238/0.05016, allocations: 1.477 MB / 295.4 MB, free: 9.551 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.447e-06/0.05016, allocations: 0 / 295.4 MB, free: 9.551 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002553/0.05041, allocations: 358.7 kB / 295.7 MB, free: 9.18 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006223/0.05104, allocations: 282.6 kB / 296 MB, free: 8.906 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001899/0.05294, allocations: 1.524 MB / 297.5 MB, free: 7.344 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001167/0.05305, allocations: 177.3 kB / 297.7 MB, free: 7.148 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0003098/0.05336, allocations: 122.9 kB / 297.8 MB, free: 7.023 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006825/0.05404, allocations: 0.4901 MB / 298.3 MB, free: 6.531 MB / 282.7 MB Notification: Performance of SimCode: time 1.212e-06/0.05405, allocations: 0 / 298.3 MB, free: 6.531 MB / 282.7 MB Notification: Performance of Templates: time 0.02169/0.07574, allocations: 20.4 MB / 318.7 MB, free: 2.145 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.pipe ; mkfifo Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.pipe >> ../files/Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.sim & ./Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Thermal/FluidHeatFlow/Examples/IndirectCooling/IndirectCooling.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: 3.4395197140984237]