Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.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.TwoMass,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|heatCapacitor1.T|heatCapacitor2.T|pipe1.T|pipe2.T|pipe3.T",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass") translateModel(Modelica.Thermal.FluidHeatFlow.Examples.TwoMass,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|heatCapacitor1.T|heatCapacitor2.T|pipe1.T|pipe2.T|pipe3.T",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00148/0.001484, allocations: 181.7 kB / 13.66 MB, free: 1.664 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.14/2.14, allocations: 205.2 MB / 219.4 MB, free: 14.21 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.001061/0.00106, allocations: 82.7 kB / 267.5 MB, free: 14.05 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.651e-05/3.682e-05, allocations: 4 kB / 321.5 MB, free: 17.85 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09577/0.09584, allocations: 47.58 MB / 369.1 MB, free: 2.211 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4045/0.5004, allocations: 82.3 MB / 451.4 MB, free: 10.91 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002617/0.5007, allocations: 72.31 kB / 451.5 MB, free: 10.87 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07074/0.5715, allocations: 16.44 MB / 467.9 MB, free: 12.29 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.593e-06/0.5716, allocations: 0 / 467.9 MB, free: 12.29 MB / 346.7 MB Notification: Performance of Transformations before backend: time 6.771e-05/0.5716, allocations: 20 kB / 467.9 MB, free: 12.27 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: 137 * Number of variables: 137 Notification: Performance of Generate backend data structure: time 0.003014/0.5747, allocations: 1.069 MB / 469 MB, free: 11.14 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.273e-05/0.5747, allocations: 8.25 kB / 469 MB, free: 11.13 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003414/0.5751, allocations: 110.8 kB / 469.1 MB, free: 11.02 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001307/0.5764, allocations: 0.536 MB / 469.6 MB, free: 10.45 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003009/0.5767, allocations: 146.3 kB / 469.8 MB, free: 10.29 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001543/0.5769, allocations: 64 kB / 469.8 MB, free: 10.22 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001786/0.5787, allocations: 0.7769 MB / 470.6 MB, free: 9.344 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.551e-05/0.5787, allocations: 0 / 470.6 MB, free: 9.344 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001073/0.5789, allocations: 28 kB / 470.6 MB, free: 9.316 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.874e-05/0.5789, allocations: 12 kB / 470.7 MB, free: 9.305 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001494/0.5804, allocations: 0.4933 MB / 471.1 MB, free: 8.809 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005731/0.5861, allocations: 2.088 MB / 473.2 MB, free: 6.621 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001876/0.5881, allocations: 0.9126 MB / 474.2 MB, free: 5.625 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008382/0.5889, allocations: 331 kB / 474.5 MB, free: 5.301 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000103/0.5891, allocations: 20.7 kB / 474.5 MB, free: 5.277 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.62e-05/0.5891, allocations: 51.33 kB / 474.5 MB, free: 5.219 MB / 346.7 MB Notification: Performance of pre-optimization done (n=74): time 3.537e-06/0.5892, allocations: 7.938 kB / 474.6 MB, free: 5.211 MB / 346.7 MB Notification: Performance of matching and sorting (n=74): time 0.003697/0.5929, allocations: 0.885 MB / 475.4 MB, free: 4.309 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004046/0.5933, allocations: 0.8235 MB / 476.3 MB, free: 3.285 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001223/0.5945, allocations: 0.5484 MB / 476.8 MB, free: 2.73 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002129/0.5948, allocations: 45.7 kB / 476.9 MB, free: 2.68 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000332/0.5951, allocations: 351.5 kB / 477.2 MB, free: 2.332 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004103/0.5955, allocations: 252.2 kB / 477.4 MB, free: 2.082 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.475e-05/0.5956, allocations: 16 kB / 477.5 MB, free: 2.066 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.000165/0.5958, allocations: 342.7 kB / 477.8 MB, free: 1.723 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007615/0.5966, allocations: 225.5 kB / 478 MB, free: 1.504 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00116/0.5978, allocations: 493.8 kB / 478.5 MB, free: 0.9219 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009943/0.5988, allocations: 353.8 kB / 478.8 MB, free: 0.5625 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.424e-06/0.5988, allocations: 0 / 478.8 MB, free: 0.5625 MB / 346.7 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.004093/0.603, allocations: 0.9845 MB / 479.8 MB, free: 15.54 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.619e-05/0.6031, allocations: 89.05 kB / 479.9 MB, free: 15.43 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.487e-05/0.6031, allocations: 4 kB / 479.9 MB, free: 15.43 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00114/0.6043, allocations: 215.2 kB / 480.1 MB, free: 15.21 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001374/0.6057, allocations: 151.8 kB / 480.3 MB, free: 15.06 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009803/0.6156, allocations: 6.211 MB / 486.5 MB, free: 8.316 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001413/0.617, allocations: 123.3 kB / 486.6 MB, free: 8.195 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.104e-05/0.6171, allocations: 24 kB / 486.6 MB, free: 8.172 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (70): * Single equations (assignments): 63 * Array equations: 0 * Algorithm blocks: 3 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {3 3,1 3,1 7,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0002949/0.6174, allocations: 152.9 kB / 486.8 MB, free: 8.016 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002393/0.6177, allocations: 91.2 kB / 486.9 MB, free: 7.926 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002832/0.618, allocations: 96.03 kB / 487 MB, free: 7.824 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.261e-05/0.618, allocations: 12 kB / 487 MB, free: 7.812 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.665e-06/0.618, allocations: 0 / 487 MB, free: 7.812 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003374/0.6214, allocations: 1.177 MB / 488.2 MB, free: 6.52 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005802/0.6273, allocations: 1.866 MB / 490 MB, free: 4.586 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.187e-06/0.6273, allocations: 7.938 kB / 490 MB, free: 4.578 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001374/0.6287, allocations: 143.8 kB / 490.2 MB, free: 4.438 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007493/0.6295, allocations: 170.4 kB / 490.3 MB, free: 4.262 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.32e-05/0.6296, allocations: 12 kB / 490.3 MB, free: 4.25 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008321/0.6379, allocations: 4.794 MB / 495.1 MB, free: 15.05 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.414e-06/0.638, allocations: 0 / 495.1 MB, free: 15.05 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004567/0.6426, allocations: 1.289 MB / 496.4 MB, free: 13.74 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006483/0.6433, allocations: 239.9 kB / 496.7 MB, free: 13.48 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001878/0.6435, allocations: 16 kB / 496.7 MB, free: 13.47 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001015/0.6445, allocations: 63.89 kB / 496.7 MB, free: 13.41 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002721/0.6448, allocations: 68.64 kB / 496.8 MB, free: 13.34 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.029e-05/0.6449, allocations: 20.11 kB / 496.8 MB, free: 13.32 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0009113/0.6458, allocations: 443.2 kB / 497.3 MB, free: 12.89 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.41e-07/0.6458, allocations: 0 / 497.3 MB, free: 12.89 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001322/0.6471, allocations: 295.7 kB / 497.5 MB, free: 12.6 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (pipe1.T,pipe2.T,pipe3.T,heatCapacitor1.T,heatCapacitor2.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (62): * Single equations (assignments): 59 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {1 3,1 3,1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002903/0.6474, allocations: 131.1 kB / 497.7 MB, free: 12.46 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.002637/0.6501, allocations: 1.239 MB / 498.9 MB, free: 11.14 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 8.807e-06/0.6501, allocations: 4 kB / 498.9 MB, free: 11.13 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001897/0.652, allocations: 0.7268 MB / 499.6 MB, free: 10.37 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0016/0.6537, allocations: 214.7 kB / 499.9 MB, free: 10.16 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003617/0.6573, allocations: 1.261 MB / 0.4894 GB, free: 8.875 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006698/0.658, allocations: 0.9557 MB / 0.4903 GB, free: 7.891 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004314/0.6585, allocations: 67.42 kB / 0.4904 GB, free: 7.824 MB / 378.7 MB Notification: Performance of SimCode: time 1.082e-06/0.6585, allocations: 0 / 0.4904 GB, free: 7.824 MB / 378.7 MB Notification: Performance of Templates: time 0.04025/0.6987, allocations: 21.21 MB / 0.5111 GB, free: 2.547 MB / 394.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.sim & ./Modelica_3.2.3_cpp_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Thermal/FluidHeatFlow/Examples/TwoMass/TwoMass.csv","../files/Modelica_3.2.3_cpp_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches