Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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.001099/0.001099, allocations: 84.39 kB / 22.21 MB, free: 2.289 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.001092/0.001092, allocations: 165.2 kB / 25.6 MB, free: 8.914 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.9678/0.9678, allocations: 158.6 MB / 187.5 MB, free: 2.809 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.SimpleCooling,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|heatCapacitor.T|pipe.T",fileNamePrefix="Modelica_3.2.3_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_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.432e-06/1.432e-06, allocations: 0 / 251.5 MB, free: 7.266 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.11e-05/2.253e-05, allocations: 2.312 kB / 251.5 MB, free: 7.262 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling): time 0.003773/0.003796, allocations: 3.467 MB / 254.9 MB, free: 3.77 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.001862/0.005658, allocations: 0.9666 MB / 255.9 MB, free: 2.793 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002001/0.005858, allocations: 7.938 kB / 255.9 MB, free: 2.785 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002789/0.006137, allocations: 103.1 kB / 256 MB, free: 2.684 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003225/0.00646, allocations: 210.2 kB / 256.2 MB, free: 2.477 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002347/0.006695, allocations: 119.8 kB / 256.3 MB, free: 2.359 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005768/0.007271, allocations: 0.6572 MB / 257 MB, free: 1.699 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002072/0.007479, allocations: 127.5 kB / 257.1 MB, free: 1.566 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003668/0.007845, allocations: 375.2 kB / 257.5 MB, free: 1.199 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002612/0.008107, allocations: 195.5 kB / 257.7 MB, free: 1.008 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 6.859e-05/0.008175, allocations: 56 kB / 257.7 MB, free: 0.9531 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.288e-05/0.008248, allocations: 52 kB / 257.8 MB, free: 0.9023 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 9.629e-05/0.008344, allocations: 123.5 kB / 257.9 MB, free: 0.7812 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001661/0.00851, allocations: 207.6 kB / 258.1 MB, free: 0.5781 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004038/0.008914, allocations: 426.4 kB / 258.5 MB, free: 164 kB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.084e-06/0.008916, allocations: 3.938 kB / 258.5 MB, free: 160 kB / 234.7 MB Notification: Performance of FrontEnd: time 6.91e-07/0.008917, allocations: 0 / 258.5 MB, free: 160 kB / 234.7 MB Notification: Performance of Transformations before backend: time 5.851e-06/0.008923, allocations: 0 / 258.5 MB, free: 160 kB / 234.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.0008626/0.009785, allocations: 0.8905 MB / 259.4 MB, free: 15.22 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.643e-05/0.009822, allocations: 11.98 kB / 259.4 MB, free: 15.21 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.496e-05/0.009917, allocations: 96.56 kB / 259.5 MB, free: 15.11 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002975/0.01021, allocations: 318.6 kB / 259.8 MB, free: 14.78 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.918e-05/0.0103, allocations: 106.3 kB / 259.9 MB, free: 14.66 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.424e-05/0.01035, allocations: 40.38 kB / 260 MB, free: 14.62 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004599/0.01081, allocations: 0.7744 MB / 260.7 MB, free: 13.68 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.418e-05/0.01082, allocations: 4.172 kB / 260.7 MB, free: 13.67 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.923e-05/0.01085, allocations: 24.12 kB / 260.8 MB, free: 13.65 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.328e-06/0.01086, allocations: 4 kB / 260.8 MB, free: 13.64 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001622/0.01102, allocations: 123.1 kB / 260.9 MB, free: 13.52 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001108/0.01213, allocations: 0.9088 MB / 261.8 MB, free: 12.58 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004887/0.01262, allocations: 239.8 kB / 262 MB, free: 12.33 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.927e-05/0.0127, allocations: 63.64 kB / 262.1 MB, free: 12.27 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.628e-05/0.01273, allocations: 15.94 kB / 262.1 MB, free: 12.25 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.882e-05/0.01275, allocations: 45.38 kB / 262.2 MB, free: 12.2 MB / 250.7 MB Notification: Performance of pre-optimization done (n=32): time 1.323e-06/0.01276, allocations: 0 / 262.2 MB, free: 12.2 MB / 250.7 MB Notification: Performance of matching and sorting (n=32): time 0.0006669/0.01342, allocations: 300.6 kB / 262.4 MB, free: 11.89 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001249/0.01355, allocations: 448.9 kB / 262.9 MB, free: 11.34 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002507/0.0138, allocations: 422.4 kB / 263.3 MB, free: 10.91 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 2.617e-05/0.01382, allocations: 33.7 kB / 263.3 MB, free: 10.88 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001288/0.01395, allocations: 291.2 kB / 263.6 MB, free: 10.59 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.005e-05/0.01401, allocations: 122.9 kB / 263.7 MB, free: 10.46 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.824e-05/0.01409, allocations: 79.64 kB / 263.8 MB, free: 10.38 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001351/0.01423, allocations: 0.5312 MB / 264.3 MB, free: 9.832 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.314e-05/0.0143, allocations: 74.31 kB / 264.4 MB, free: 9.754 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002499/0.01455, allocations: 0.6089 MB / 265 MB, free: 8.977 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001579/0.01471, allocations: 182.7 kB / 265.2 MB, free: 8.785 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.883e-06/0.01471, allocations: 0 / 265.2 MB, free: 8.785 MB / 250.7 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.000295/0.015, allocations: 327.9 kB / 265.5 MB, free: 8.438 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.564e-05/0.01503, allocations: 33.7 kB / 265.6 MB, free: 8.398 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.987e-06/0.01503, allocations: 0 / 265.6 MB, free: 8.398 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.266e-05/0.01513, allocations: 43.34 kB / 265.6 MB, free: 8.348 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001644/0.01529, allocations: 71.94 kB / 265.7 MB, free: 8.277 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001499/0.01679, allocations: 3.532 MB / 269.2 MB, free: 4.512 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001591/0.01695, allocations: 39.77 kB / 269.2 MB, free: 4.473 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.563e-05/0.01696, allocations: 11.98 kB / 269.2 MB, free: 4.461 MB / 250.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.0003852/0.01735, allocations: 180.5 kB / 269.4 MB, free: 4.273 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.675e-05/0.01741, allocations: 55.72 kB / 269.5 MB, free: 4.219 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.562e-05/0.01745, allocations: 52.5 kB / 269.5 MB, free: 4.168 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.078e-06/0.01746, allocations: 7.984 kB / 269.5 MB, free: 4.16 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.655e-06/0.01746, allocations: 0 / 269.5 MB, free: 4.16 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002695/0.01773, allocations: 0.5488 MB / 270.1 MB, free: 3.508 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005744/0.0183, allocations: 0.642 MB / 270.7 MB, free: 2.828 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.605e-06/0.01831, allocations: 3.938 kB / 270.7 MB, free: 2.824 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001619/0.01847, allocations: 71.89 kB / 270.8 MB, free: 2.754 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.845e-06/0.01847, allocations: 4 kB / 270.8 MB, free: 2.75 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.187e-05/0.01848, allocations: 4 kB / 270.8 MB, free: 2.746 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.144e-06/0.01848, allocations: 4 kB / 270.8 MB, free: 2.742 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.01848, allocations: 4 kB / 270.8 MB, free: 2.738 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002963/0.01878, allocations: 401 kB / 271.2 MB, free: 2.328 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.692e-05/0.01888, allocations: 95.47 kB / 271.3 MB, free: 2.234 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.841e-05/0.01891, allocations: 8 kB / 271.3 MB, free: 2.227 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001289/0.01904, allocations: 11.98 kB / 271.3 MB, free: 2.215 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.694e-05/0.01906, allocations: 23.91 kB / 271.3 MB, free: 2.191 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.045e-05/0.01907, allocations: 12 kB / 271.4 MB, free: 2.18 MB / 250.7 MB Notification: Performance of sorting global known variables: time 0.0001392/0.01921, allocations: 271 kB / 271.6 MB, free: 1.918 MB / 250.7 MB Notification: Performance of sort global known variables: time 4e-08/0.01921, allocations: 0 / 271.6 MB, free: 1.918 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0002669/0.01948, allocations: 135.8 kB / 271.8 MB, free: 1.785 MB / 250.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 7.882e-05/0.01956, allocations: 103.3 kB / 271.9 MB, free: 1.672 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0004109/0.01997, allocations: 0.6004 MB / 272.5 MB, free: 1.016 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.01997, allocations: 4 kB / 272.5 MB, free: 1.012 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 7.706e-05/0.02005, allocations: 79.55 kB / 272.5 MB, free: 0.9297 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003428/0.02039, allocations: 141.4 kB / 272.7 MB, free: 0.7891 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001057/0.02145, allocations: 0.7834 MB / 273.5 MB, free: 15.97 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.873e-05/0.02151, allocations: 109.9 kB / 273.6 MB, free: 15.85 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001321/0.02164, allocations: 55.38 kB / 273.6 MB, free: 15.79 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003056/0.02194, allocations: 262 kB / 273.9 MB, free: 15.54 MB / 266.7 MB Notification: Performance of SimCode: time 6.11e-07/0.02195, allocations: 0 / 273.9 MB, free: 15.54 MB / 266.7 MB Notification: Performance of Templates: time 0.009938/0.03188, allocations: 8.981 MB / 282.9 MB, free: 6.598 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.pipe ; mkfifo Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.pipe >> ../files/Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.sim & ./Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/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.8132528769783676]