Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_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_cpp_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_cpp_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.001524/0.001523, allocations: 182.4 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.023/2.023, 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.001063/0.001063, allocations: 86.7 kB / 267.5 MB, free: 14.05 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.195e-05/3.213e-05, allocations: 7.984 kB / 321.5 MB, free: 17.85 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09532/0.09539, allocations: 47.57 MB / 369.1 MB, free: 2.215 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4878/0.5832, allocations: 81.56 MB / 450.6 MB, free: 11.64 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002661/0.5835, allocations: 73.45 kB / 450.7 MB, free: 11.61 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04271/0.6263, allocations: 10.07 MB / 460.8 MB, free: 3.121 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.653e-06/0.6263, allocations: 0 / 460.8 MB, free: 3.121 MB / 330.7 MB Notification: Performance of Transformations before backend: time 4.396e-05/0.6264, allocations: 12 kB / 460.8 MB, free: 3.109 MB / 330.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.001678/0.6281, allocations: 0.7301 MB / 461.5 MB, free: 2.363 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.859e-05/0.6281, allocations: 12.03 kB / 461.5 MB, free: 2.352 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001601/0.6283, allocations: 59.34 kB / 461.6 MB, free: 2.293 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008111/0.6291, allocations: 388.7 kB / 462 MB, free: 1.922 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001415/0.6293, allocations: 63.59 kB / 462 MB, free: 1.867 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.51e-05/0.6294, allocations: 28.75 kB / 462.1 MB, free: 1.848 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009475/0.6303, allocations: 453.2 kB / 462.5 MB, free: 1.461 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.897e-05/0.6304, allocations: 0 / 462.5 MB, free: 1.461 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.824e-05/0.6304, allocations: 16.56 kB / 462.5 MB, free: 1.457 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.531e-05/0.6305, allocations: 8 kB / 462.5 MB, free: 1.449 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007712/0.6312, allocations: 274.8 kB / 462.8 MB, free: 1.273 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003391/0.6347, allocations: 1.281 MB / 464.1 MB, free: 15.93 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008785/0.6356, allocations: 375.8 kB / 464.5 MB, free: 15.54 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000412/0.636, allocations: 156.7 kB / 464.6 MB, free: 15.38 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.522e-05/0.6361, allocations: 7.984 kB / 464.6 MB, free: 15.38 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.692e-05/0.6361, allocations: 42.5 kB / 464.7 MB, free: 15.32 MB / 346.7 MB Notification: Performance of pre-optimization done (n=36): time 2.945e-06/0.6361, allocations: 0 / 464.7 MB, free: 15.32 MB / 346.7 MB Notification: Performance of matching and sorting (n=36): time 0.001261/0.6374, allocations: 379 kB / 465 MB, free: 14.94 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002211/0.6376, allocations: 448.9 kB / 465.5 MB, free: 14.4 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007555/0.6384, allocations: 399.2 kB / 465.9 MB, free: 14 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 6.239e-05/0.6385, allocations: 33.7 kB / 465.9 MB, free: 13.96 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002255/0.6387, allocations: 270.9 kB / 466.2 MB, free: 13.7 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001549/0.6389, allocations: 130.1 kB / 466.3 MB, free: 13.57 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.418e-05/0.6389, allocations: 4 kB / 466.3 MB, free: 13.57 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001303/0.6391, allocations: 326.8 kB / 466.6 MB, free: 13.24 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003302/0.6394, allocations: 108 kB / 466.7 MB, free: 13.13 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004954/0.6399, allocations: 250.8 kB / 467 MB, free: 12.84 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003925/0.6403, allocations: 160.4 kB / 467.1 MB, free: 12.68 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.506e-06/0.6404, allocations: 0 / 467.1 MB, free: 12.68 MB / 346.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.001221/0.6416, allocations: 408.9 kB / 467.5 MB, free: 12.26 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.171e-05/0.6417, allocations: 33.73 kB / 467.5 MB, free: 12.22 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.276e-06/0.6417, allocations: 0 / 467.5 MB, free: 12.22 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003924/0.6421, allocations: 57.69 kB / 467.6 MB, free: 12.16 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008067/0.6429, allocations: 95.86 kB / 467.7 MB, free: 12.06 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003002/0.6459, allocations: 2.74 MB / 470.4 MB, free: 9.051 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000794/0.6468, allocations: 63.7 kB / 470.5 MB, free: 8.988 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.416e-05/0.6468, allocations: 12.66 kB / 470.5 MB, free: 8.977 MB / 346.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 () * 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.0001781/0.647, allocations: 132.9 kB / 470.6 MB, free: 8.84 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001287/0.6471, allocations: 51.42 kB / 470.7 MB, free: 8.789 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001689/0.6473, allocations: 53.12 kB / 470.7 MB, free: 8.738 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.503e-06/0.6473, allocations: 4 kB / 470.7 MB, free: 8.734 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.865e-06/0.6474, allocations: 0 / 470.7 MB, free: 8.734 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009168/0.6483, allocations: 0.6764 MB / 471.4 MB, free: 7.953 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002092/0.6504, allocations: 0.9704 MB / 472.4 MB, free: 6.918 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.468e-06/0.6504, allocations: 4 kB / 472.4 MB, free: 6.914 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008821/0.6513, allocations: 91.88 kB / 472.5 MB, free: 6.824 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.446e-06/0.6513, allocations: 0 / 472.5 MB, free: 6.824 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.01e-05/0.6514, allocations: 8 kB / 472.5 MB, free: 6.816 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.538e-06/0.6514, allocations: 4 kB / 472.5 MB, free: 6.812 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.455e-06/0.6514, allocations: 0 / 472.5 MB, free: 6.812 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001317/0.6527, allocations: 0.5611 MB / 473.1 MB, free: 6.234 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003139/0.6531, allocations: 168.4 kB / 473.2 MB, free: 6.051 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001106/0.6532, allocations: 12 kB / 473.2 MB, free: 6.039 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005737/0.6538, allocations: 36.03 kB / 473.3 MB, free: 6.004 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001127/0.6539, allocations: 31.81 kB / 473.3 MB, free: 5.973 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.557e-05/0.654, allocations: 12 kB / 473.3 MB, free: 5.961 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0005849/0.6546, allocations: 313.2 kB / 473.6 MB, free: 5.656 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.21e-07/0.6546, allocations: 3.938 kB / 473.6 MB, free: 5.652 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0006719/0.6553, allocations: 143.8 kB / 473.8 MB, free: 5.512 MB / 346.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 () * 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.000237/0.6555, allocations: 131.1 kB / 473.9 MB, free: 5.371 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001275/0.6568, allocations: 0.5635 MB / 474.5 MB, free: 4.77 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 7.524e-06/0.6568, allocations: 4 kB / 474.5 MB, free: 4.766 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003818/0.6572, allocations: 151.6 kB / 474.6 MB, free: 4.617 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009603/0.6582, allocations: 128.6 kB / 474.7 MB, free: 4.496 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001907/0.6601, allocations: 0.678 MB / 475.4 MB, free: 3.789 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004912/0.6606, allocations: 0.8355 MB / 476.2 MB, free: 2.922 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002489/0.6609, allocations: 43.42 kB / 476.3 MB, free: 2.883 MB / 346.7 MB Notification: Performance of SimCode: time 1.012e-06/0.6609, allocations: 0 / 476.3 MB, free: 2.883 MB / 346.7 MB Notification: Performance of Templates: time 0.01866/0.6796, allocations: 8.497 MB / 484.8 MB, free: 10.38 MB / 362.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.sim & ./Modelica_3.2.3_cpp_Modelica.Thermal.FluidHeatFlow.Examples.OneMass --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Thermal.FluidHeatFlow.Examples.OneMass_res.mat","/var/lib/jenkins1/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_cpp_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches