Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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_cpp_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_cpp_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001871/0.001871, allocations: 180.8 kB / 17.41 MB, free: 4.406 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.646/1.646, allocations: 205.4 MB / 223.6 MB, free: 8.949 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009382/0.0009381, allocations: 89.5 kB / 271.9 MB, free: 8.254 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003408/0.0003409, allocations: 8 kB / 328.1 MB, free: 15.95 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3028/0.3032, allocations: 47.57 MB / 375.7 MB, free: 45.42 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1086/0.4119, allocations: 81.03 MB / 456.7 MB, free: 15.61 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002716/0.4122, allocations: 75.95 kB / 456.8 MB, free: 15.53 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02607/0.4383, allocations: 9.57 MB / 466.4 MB, free: 5.895 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.976e-06/0.4384, allocations: 0 / 466.4 MB, free: 5.895 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.16e-05/0.4384, allocations: 8 kB / 466.4 MB, free: 5.887 MB / 346.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.001638/0.4401, allocations: 0.7495 MB / 467.1 MB, free: 5.074 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.905e-05/0.4401, allocations: 8.031 kB / 467.2 MB, free: 5.066 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001964/0.4403, allocations: 64.22 kB / 467.2 MB, free: 5.004 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006844/0.441, allocations: 390.6 kB / 467.6 MB, free: 4.582 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001094/0.4411, allocations: 58.91 kB / 467.7 MB, free: 4.52 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.142e-05/0.4412, allocations: 36.38 kB / 467.7 MB, free: 4.484 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008087/0.4421, allocations: 465.4 kB / 468.1 MB, free: 3.977 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.028e-05/0.4421, allocations: 3.938 kB / 468.1 MB, free: 3.973 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.597e-05/0.4421, allocations: 16 kB / 468.2 MB, free: 3.957 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.073e-05/0.4422, allocations: 8 kB / 468.2 MB, free: 3.949 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006378/0.4428, allocations: 290.5 kB / 468.5 MB, free: 3.664 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002384/0.4452, allocations: 1.249 MB / 469.7 MB, free: 2.336 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00104/0.4462, allocations: 425.3 kB / 470.1 MB, free: 1.895 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002698/0.4465, allocations: 145.4 kB / 470.3 MB, free: 1.75 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.091e-05/0.4466, allocations: 12.27 kB / 470.3 MB, free: 1.738 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.888e-05/0.4466, allocations: 42.84 kB / 470.3 MB, free: 1.688 MB / 346.7 MB Notification: Performance of pre-optimization done (n=33): time 1.693e-06/0.4466, allocations: 0 / 470.3 MB, free: 1.688 MB / 346.7 MB Notification: Performance of matching and sorting (n=33): time 0.001228/0.4479, allocations: 0.6272 MB / 470.9 MB, free: 1.012 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002388/0.4481, allocations: 448.9 kB / 471.4 MB, free: 480 kB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005425/0.4487, allocations: 449.9 kB / 471.8 MB, free: 24 kB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 5.705e-05/0.4487, allocations: 37.7 kB / 471.9 MB, free: 15.98 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001808/0.4489, allocations: 228.5 kB / 472.1 MB, free: 15.75 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001009/0.449, allocations: 118.3 kB / 472.2 MB, free: 15.63 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.926e-05/0.4491, allocations: 4 kB / 472.2 MB, free: 15.63 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001616/0.4492, allocations: 362.7 kB / 472.6 MB, free: 15.27 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002493/0.4495, allocations: 108 kB / 472.7 MB, free: 15.16 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003591/0.4499, allocations: 266.3 kB / 472.9 MB, free: 14.84 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005266/0.4504, allocations: 297.2 kB / 473.2 MB, free: 14.54 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/0.4504, allocations: 0 / 473.2 MB, free: 14.54 MB / 362.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0007891/0.4512, allocations: 438 kB / 473.6 MB, free: 14.1 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.273e-05/0.4513, allocations: 33.69 kB / 473.7 MB, free: 14.06 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.687e-06/0.4513, allocations: 0 / 473.7 MB, free: 14.06 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001676/0.4514, allocations: 53.64 kB / 473.7 MB, free: 14 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003853/0.4518, allocations: 67.89 kB / 473.8 MB, free: 13.93 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002611/0.4545, allocations: 2.76 MB / 476.6 MB, free: 10.91 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003711/0.4549, allocations: 43.69 kB / 476.6 MB, free: 10.87 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.395e-05/0.4549, allocations: 11.98 kB / 476.6 MB, free: 10.86 MB / 362.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 (37): * Single equations (assignments): 34 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {3 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0002747/0.4552, allocations: 173.7 kB / 476.8 MB, free: 10.68 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.832e-05/0.4553, allocations: 51.44 kB / 476.8 MB, free: 10.62 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001177/0.4554, allocations: 52.69 kB / 476.9 MB, free: 10.57 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.3e-06/0.4554, allocations: 4 kB / 476.9 MB, free: 10.57 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.33e-06/0.4554, allocations: 0 / 476.9 MB, free: 10.57 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007962/0.4562, allocations: 0.6612 MB / 477.5 MB, free: 9.801 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001484/0.4577, allocations: 0.9314 MB / 478.5 MB, free: 8.809 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.005e-06/0.4577, allocations: 0 / 478.5 MB, free: 8.809 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003499/0.4581, allocations: 79.89 kB / 478.6 MB, free: 8.73 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.308e-06/0.4581, allocations: 0 / 478.6 MB, free: 8.73 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.142e-05/0.4582, allocations: 8 kB / 478.6 MB, free: 8.723 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.505e-06/0.4582, allocations: 0 / 478.6 MB, free: 8.723 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.318e-06/0.4582, allocations: 3.984 kB / 478.6 MB, free: 8.719 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009024/0.4591, allocations: 0.5438 MB / 479.1 MB, free: 8.16 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002326/0.4593, allocations: 160.5 kB / 479.3 MB, free: 7.984 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.352e-05/0.4594, allocations: 8 kB / 479.3 MB, free: 7.977 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002606/0.4597, allocations: 19.98 kB / 479.3 MB, free: 7.957 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.103e-05/0.4598, allocations: 23.91 kB / 479.3 MB, free: 7.934 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.102e-05/0.4598, allocations: 16 kB / 479.3 MB, free: 7.918 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.000398/0.4602, allocations: 315.1 kB / 479.6 MB, free: 7.617 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4602, allocations: 0 / 479.6 MB, free: 7.617 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0005114/0.4607, allocations: 135.8 kB / 479.8 MB, free: 7.484 MB / 362.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 (33): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000221/0.4609, allocations: 119.2 kB / 479.9 MB, free: 7.355 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0009822/0.4619, allocations: 0.5749 MB / 480.5 MB, free: 6.742 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 6.071e-06/0.4619, allocations: 4 kB / 480.5 MB, free: 6.738 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002602/0.4622, allocations: 136.4 kB / 480.6 MB, free: 6.605 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008117/0.463, allocations: 121.9 kB / 480.7 MB, free: 6.488 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001918/0.465, allocations: 1.118 MB / 481.8 MB, free: 5.336 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003953/0.4654, allocations: 0.8198 MB / 482.7 MB, free: 4.484 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001357/0.4655, allocations: 51.42 kB / 482.7 MB, free: 4.438 MB / 362.7 MB Notification: Performance of SimCode: time 6.12e-07/0.4655, allocations: 0 / 482.7 MB, free: 4.438 MB / 362.7 MB Notification: Performance of Templates: time 0.01284/0.4784, allocations: 8.15 MB / 490.9 MB, free: 12.31 MB / 378.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.sim & ./Modelica_3.2.3_cpp_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling_res.mat","/var/lib/jenkins1/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_cpp_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches