Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.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.OneMass,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|heatCapacitor.T|pipe.T",fileNamePrefix="Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.OneMass") translateModel(Modelica.Thermal.FluidHeatFlow.Examples.OneMass,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|heatCapacitor.T|pipe.T",fileNamePrefix="Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.OneMass") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001904/0.001904, allocations: 181.2 kB / 17.01 MB, free: 5.121 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.617/1.617, allocations: 205.4 MB / 223.1 MB, free: 9.121 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.0008277/0.0008278, allocations: 89.41 kB / 271.5 MB, free: 8.367 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003326/0.0003324, allocations: 4 kB / 328.2 MB, free: 15.54 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2944/0.2947, allocations: 47.58 MB / 375.8 MB, free: 45.61 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1092/0.404, allocations: 81.66 MB / 457.5 MB, free: 15 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002411/0.4043, allocations: 75.95 kB / 457.5 MB, free: 14.92 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02771/0.432, allocations: 10.08 MB / 467.6 MB, free: 4.766 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.365e-06/0.4321, allocations: 0 / 467.6 MB, free: 4.766 MB / 346.7 MB Notification: Performance of Transformations before backend: time 3.602e-05/0.4321, allocations: 12 kB / 467.6 MB, free: 4.754 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: 79 * Number of variables: 79 Notification: Performance of Generate backend data structure: time 0.001538/0.4336, allocations: 0.8117 MB / 468.4 MB, free: 3.883 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.24e-05/0.4337, allocations: 11.97 kB / 468.5 MB, free: 3.871 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001437/0.4339, allocations: 67.25 kB / 468.5 MB, free: 3.805 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006895/0.4346, allocations: 393.5 kB / 468.9 MB, free: 3.379 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001206/0.4347, allocations: 70.64 kB / 469 MB, free: 3.305 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.531e-05/0.4348, allocations: 32 kB / 469 MB, free: 3.273 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009603/0.4357, allocations: 489 kB / 469.5 MB, free: 2.742 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.077e-05/0.4358, allocations: 0 / 469.5 MB, free: 2.742 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.106e-05/0.4358, allocations: 16 kB / 469.5 MB, free: 2.727 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.459e-05/0.4358, allocations: 8 kB / 469.5 MB, free: 2.719 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001004/0.4369, allocations: 378.3 kB / 469.9 MB, free: 2.348 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002715/0.4396, allocations: 1.284 MB / 471.2 MB, free: 0.9844 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009009/0.4405, allocations: 457 kB / 471.6 MB, free: 0.5156 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.105e-05/0.4406, allocations: 7.984 kB / 471.6 MB, free: 0.5078 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.716e-05/0.4406, allocations: 42.56 kB / 471.7 MB, free: 468 kB / 346.7 MB Notification: Performance of pre-optimization done (n=36): time 3.277e-06/0.4406, allocations: 0 / 471.7 MB, free: 468 kB / 346.7 MB Notification: Performance of matching and sorting (n=36): time 0.001969/0.4426, allocations: 0.7782 MB / 472.4 MB, free: 15.63 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002507/0.4429, allocations: 445 kB / 472.9 MB, free: 15.09 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005392/0.4434, allocations: 405.1 kB / 473.3 MB, free: 14.69 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 4.393e-05/0.4435, allocations: 33.7 kB / 473.3 MB, free: 14.65 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001875/0.4437, allocations: 233.1 kB / 473.5 MB, free: 14.42 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001135/0.4438, allocations: 134.1 kB / 473.7 MB, free: 14.29 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.932e-05/0.4438, allocations: 4 kB / 473.7 MB, free: 14.28 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001796/0.444, allocations: 358.8 kB / 474 MB, free: 13.92 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003862/0.4444, allocations: 155.9 kB / 474.2 MB, free: 13.77 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005117/0.4449, allocations: 298 kB / 474.5 MB, free: 13.43 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004209/0.4454, allocations: 202.4 kB / 474.7 MB, free: 13.22 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.785e-06/0.4454, allocations: 0 / 474.7 MB, free: 13.22 MB / 362.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.001067/0.4464, allocations: 0.5198 MB / 475.2 MB, free: 12.68 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.972e-05/0.4465, allocations: 33.7 kB / 475.2 MB, free: 12.64 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.744e-06/0.4465, allocations: 0 / 475.2 MB, free: 12.64 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001851/0.4467, allocations: 45.7 kB / 475.2 MB, free: 12.59 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004378/0.4472, allocations: 95.88 kB / 475.3 MB, free: 12.5 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002958/0.4501, allocations: 2.771 MB / 478.1 MB, free: 9.465 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004885/0.4506, allocations: 59.7 kB / 478.2 MB, free: 9.406 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.299e-05/0.4507, allocations: 8 kB / 478.2 MB, free: 9.398 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 (38): * Single equations (assignments): 35 * 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.0003452/0.451, allocations: 173.7 kB / 478.3 MB, free: 9.219 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001104/0.4512, allocations: 63.33 kB / 478.4 MB, free: 9.156 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001237/0.4513, allocations: 52.77 kB / 478.5 MB, free: 9.102 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.669e-06/0.4513, allocations: 4 kB / 478.5 MB, free: 9.098 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.28e-06/0.4513, allocations: 0 / 478.5 MB, free: 9.098 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001029/0.4523, allocations: 0.7634 MB / 479.2 MB, free: 8.23 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001703/0.4541, allocations: 1.068 MB / 480.3 MB, free: 7.098 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.489e-06/0.4541, allocations: 7.922 kB / 480.3 MB, free: 7.09 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004753/0.4546, allocations: 99.94 kB / 480.4 MB, free: 6.992 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.39e-06/0.4546, allocations: 7.938 kB / 480.4 MB, free: 6.984 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.897e-05/0.4546, allocations: 7.984 kB / 480.4 MB, free: 6.977 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.801e-06/0.4546, allocations: 4 kB / 480.4 MB, free: 6.973 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/0.4546, allocations: 0 / 480.4 MB, free: 6.973 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001287/0.4559, allocations: 0.6977 MB / 481.1 MB, free: 6.258 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002111/0.4562, allocations: 168.4 kB / 481.3 MB, free: 6.074 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.753e-05/0.4562, allocations: 8 kB / 481.3 MB, free: 6.066 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000316/0.4565, allocations: 44.03 kB / 481.3 MB, free: 6.023 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.299e-05/0.4566, allocations: 19.97 kB / 481.4 MB, free: 6.004 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.117e-05/0.4567, allocations: 8 kB / 481.4 MB, free: 5.996 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0003782/0.457, allocations: 323.1 kB / 481.7 MB, free: 5.688 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.457, allocations: 0 / 481.7 MB, free: 5.688 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0004751/0.4575, allocations: 143.8 kB / 481.8 MB, free: 5.547 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 (36): * Single equations (assignments): 36 * 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.0002209/0.4578, allocations: 135.1 kB / 481.9 MB, free: 5.406 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001226/0.459, allocations: 0.6687 MB / 482.6 MB, free: 4.699 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.865e-06/0.459, allocations: 4.062 kB / 482.6 MB, free: 4.695 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004086/0.4594, allocations: 191.8 kB / 482.8 MB, free: 4.508 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006296/0.4601, allocations: 132.5 kB / 482.9 MB, free: 4.379 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001788/0.4619, allocations: 1.118 MB / 484.1 MB, free: 3.234 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003904/0.4623, allocations: 0.8394 MB / 484.9 MB, free: 2.367 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0002535/0.4625, allocations: 56.3 kB / 485 MB, free: 2.312 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001174/0.4626, allocations: 43.42 kB / 485 MB, free: 2.27 MB / 362.7 MB Notification: Performance of SimCode: time 4.21e-07/0.4627, allocations: 0 / 485 MB, free: 2.27 MB / 362.7 MB Notification: Performance of Templates: time 0.01393/0.4766, allocations: 7.843 MB / 492.8 MB, free: 10.45 MB / 378.7 MB make -j1 -f Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.makefile (rm -f Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.pipe ; mkfifo Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.pipe >> ../files/Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.sim & ./Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.OneMass -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.OneMass_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Thermal/FluidHeatFlow/Examples/OneMass/OneMass.csv","../files/Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches