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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) 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.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=2000,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=2000,variableFilter="time|heatCapacitor.T|pipe.T",fileNamePrefix="Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001015/0.001015, allocations: 113.3 kB / 17.28 MB, free: 6.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001075/0.001075, allocations: 189.3 kB / 18.19 MB, free: 5.395 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.461/1.461, allocations: 205.1 MB / 224 MB, free: 12.44 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001371/0.001371, allocations: 51.92 kB / 280.2 MB, free: 3.488 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1145/0.1159, allocations: 46.63 MB / 326.8 MB, free: 4.793 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling): time 0.005076/0.121, allocations: 3.515 MB / 330.3 MB, free: 1.25 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001548/0.1226, allocations: 0.9787 MB / 331.3 MB, free: 268 kB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002369/0.1228, allocations: 11.94 kB / 331.3 MB, free: 256 kB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003795/0.1232, allocations: 87.42 kB / 331.4 MB, free: 168 kB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003718/0.1236, allocations: 162.8 kB / 331.5 MB, free: 4 kB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003006/0.1239, allocations: 111.8 kB / 331.6 MB, free: 15.89 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006613/0.1246, allocations: 0.6302 MB / 332.3 MB, free: 15.26 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003142/0.1249, allocations: 198.8 kB / 332.5 MB, free: 15.07 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002309/0.1252, allocations: 243.1 kB / 332.7 MB, free: 14.83 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002915/0.1255, allocations: 274.8 kB / 333 MB, free: 14.56 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 7.361e-05/0.1255, allocations: 52 kB / 333 MB, free: 14.51 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.066e-05/0.1256, allocations: 56 kB / 333.1 MB, free: 14.45 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 9.915e-05/0.1257, allocations: 115.5 kB / 333.2 MB, free: 14.34 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002416/0.126, allocations: 286.7 kB / 333.5 MB, free: 14.06 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006002/0.1266, allocations: 0.6346 MB / 334.1 MB, free: 13.42 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.36e-06/0.1266, allocations: 0 / 334.1 MB, free: 13.42 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.524e-06/0.1266, allocations: 0 / 334.1 MB, free: 13.42 MB / 286.1 MB Notification: Performance of Transformations before backend: time 8.355e-06/0.1266, allocations: 4 kB / 334.1 MB, free: 13.42 MB / 286.1 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.001414/0.128, allocations: 0.8389 MB / 334.9 MB, free: 12.52 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.327e-05/0.1281, allocations: 8.031 kB / 334.9 MB, free: 12.51 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001224/0.1282, allocations: 72.12 kB / 335 MB, free: 12.44 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005261/0.1288, allocations: 386.7 kB / 335.4 MB, free: 12.02 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001066/0.1289, allocations: 62.91 kB / 335.5 MB, free: 11.96 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.953e-05/0.1289, allocations: 32.28 kB / 335.5 MB, free: 11.93 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007208/0.1297, allocations: 465.1 kB / 335.9 MB, free: 11.42 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.81e-05/0.1297, allocations: 0 / 335.9 MB, free: 11.42 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.781e-05/0.1297, allocations: 12 kB / 336 MB, free: 11.41 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.008e-05/0.1298, allocations: 12 kB / 336 MB, free: 11.39 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005684/0.1303, allocations: 282.5 kB / 336.2 MB, free: 11.12 MB / 286.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001963/0.1323, allocations: 1.306 MB / 337.5 MB, free: 9.719 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00108/0.1334, allocations: 440.4 kB / 338 MB, free: 9.262 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002577/0.1337, allocations: 136.8 kB / 338.1 MB, free: 9.125 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.554e-05/0.1337, allocations: 8 kB / 338.1 MB, free: 9.117 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.5e-05/0.1338, allocations: 38.56 kB / 338.2 MB, free: 9.07 MB / 286.1 MB Notification: Performance of pre-optimization done (n=32): time 1.543e-06/0.1338, allocations: 0 / 338.2 MB, free: 9.07 MB / 286.1 MB Notification: Performance of matching and sorting (n=32): time 0.001149/0.1349, allocations: 0.6023 MB / 338.8 MB, free: 8.418 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001985/0.1352, allocations: 456.9 kB / 339.2 MB, free: 7.867 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004666/0.1356, allocations: 449.9 kB / 339.6 MB, free: 7.418 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 3.79e-05/0.1357, allocations: 33.7 kB / 339.7 MB, free: 7.379 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001669/0.1359, allocations: 232.4 kB / 339.9 MB, free: 7.148 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.339e-05/0.1359, allocations: 106.5 kB / 340 MB, free: 7.043 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001304/0.1361, allocations: 81.92 kB / 340.1 MB, free: 6.957 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001297/0.1362, allocations: 354.8 kB / 340.4 MB, free: 6.602 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002271/0.1364, allocations: 108.6 kB / 340.5 MB, free: 6.496 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003458/0.1368, allocations: 252 kB / 340.8 MB, free: 6.199 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004474/0.1373, allocations: 276.2 kB / 341.1 MB, free: 5.918 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/0.1373, allocations: 4 kB / 341.1 MB, free: 5.914 MB / 286.1 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0006906/0.138, allocations: 416.9 kB / 341.5 MB, free: 5.488 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.385e-05/0.138, allocations: 29.7 kB / 341.5 MB, free: 5.453 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.031e-06/0.138, allocations: 4.031 kB / 341.5 MB, free: 5.449 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001802/0.1382, allocations: 53.69 kB / 341.6 MB, free: 5.391 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003166/0.1385, allocations: 71.89 kB / 341.6 MB, free: 5.32 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002305/0.1409, allocations: 2.968 MB / 344.6 MB, free: 2.07 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003504/0.1412, allocations: 39.72 kB / 344.6 MB, free: 2.031 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.486e-05/0.1413, allocations: 15.98 kB / 344.6 MB, free: 2.016 MB / 286.1 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.0001892/0.1415, allocations: 161.8 kB / 344.8 MB, free: 1.848 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.06e-05/0.1416, allocations: 51.44 kB / 344.9 MB, free: 1.797 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.952e-05/0.1417, allocations: 52.69 kB / 344.9 MB, free: 1.746 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.405e-06/0.1417, allocations: 0 / 344.9 MB, free: 1.746 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.957e-06/0.1417, allocations: 12.03 kB / 344.9 MB, free: 1.734 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006388/0.1423, allocations: 0.6453 MB / 345.6 MB, free: 0.9844 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001171/0.1435, allocations: 0.9043 MB / 346.5 MB, free: 20 kB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.688e-06/0.1435, allocations: 3.938 kB / 346.5 MB, free: 16 kB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003493/0.1439, allocations: 75.84 kB / 346.5 MB, free: 15.94 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.344e-06/0.1439, allocations: 0 / 346.5 MB, free: 15.94 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.212e-05/0.1439, allocations: 11.98 kB / 346.6 MB, free: 15.93 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.763e-06/0.1439, allocations: 0 / 346.6 MB, free: 15.93 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.1439, allocations: 0 / 346.6 MB, free: 15.93 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007709/0.1447, allocations: 0.5113 MB / 347.1 MB, free: 15.4 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001649/0.1449, allocations: 168.5 kB / 347.2 MB, free: 15.22 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.379e-05/0.145, allocations: 8 kB / 347.2 MB, free: 15.21 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002965/0.1453, allocations: 23.92 kB / 347.3 MB, free: 15.19 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.575e-05/0.1453, allocations: 19.97 kB / 347.3 MB, free: 15.17 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.714e-05/0.1454, allocations: 8 kB / 347.3 MB, free: 15.16 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0003144/0.1457, allocations: 323.1 kB / 347.6 MB, free: 14.85 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1457, allocations: 0 / 347.6 MB, free: 14.85 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004881/0.1462, allocations: 131.8 kB / 347.7 MB, free: 14.72 MB / 302.1 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 0.0001326/0.1463, allocations: 115.4 kB / 347.8 MB, free: 14.59 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0009602/0.1473, allocations: 0.5669 MB / 348.4 MB, free: 13.99 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/0.1473, allocations: 0 / 348.4 MB, free: 13.99 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002363/0.1475, allocations: 127.9 kB / 348.5 MB, free: 13.86 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007027/0.1483, allocations: 145.2 kB / 348.7 MB, free: 13.73 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001435/0.1497, allocations: 1.027 MB / 349.7 MB, free: 12.67 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003363/0.15, allocations: 0.8159 MB / 350.5 MB, free: 11.83 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0002826/0.1503, allocations: 64.34 kB / 350.6 MB, free: 11.76 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001166/0.1505, allocations: 39.44 kB / 350.6 MB, free: 11.72 MB / 302.1 MB Notification: Performance of SimCode: time 2.71e-07/0.1505, allocations: 0 / 350.6 MB, free: 11.72 MB / 302.1 MB Notification: Performance of Templates: time 0.0146/0.1651, allocations: 8.082 MB / 358.7 MB, free: 3.637 MB / 302.1 MB make -j1 -f Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.makefile (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=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.pipe 2>&1) 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","../files/Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches