Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/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_trunk_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_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002744/0.002744, allocations: 197.1 kB / 14.16 MB, free: 1.16 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.686/1.686, allocations: 225.4 MB / 240.1 MB, free: 15.03 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008596/0.0008596, allocations: 84.7 kB / 292.1 MB, free: 6.004 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.503e-05/3.558e-05, allocations: 8 kB / 350.5 MB, free: 2.531 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1285/0.1285, allocations: 51.5 MB / 402 MB, free: 14.98 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3697/0.4982, allocations: 82.39 MB / 484.4 MB, free: 7.023 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003216/0.4986, allocations: 75.34 kB / 484.5 MB, free: 6.988 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04086/0.5395, allocations: 16.21 MB / 0.489 GB, free: 8.465 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.804e-06/0.5395, allocations: 0 / 0.489 GB, free: 8.465 MB / 362.7 MB Notification: Performance of Transformations before backend: time 8.65e-05/0.5396, allocations: 19.94 kB / 0.489 GB, free: 8.445 MB / 362.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.002425/0.5421, allocations: 1.064 MB / 0.49 GB, free: 7.32 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.343e-05/0.5421, allocations: 12.03 kB / 0.49 GB, free: 7.309 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004619/0.5426, allocations: 110.8 kB / 0.4901 GB, free: 7.199 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001194/0.5438, allocations: 0.5249 MB / 0.4907 GB, free: 6.637 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000243/0.5441, allocations: 151.1 kB / 0.4908 GB, free: 6.477 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001636/0.5443, allocations: 56 kB / 0.4908 GB, free: 6.422 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001403/0.5457, allocations: 0.7875 MB / 0.4916 GB, free: 5.535 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.285e-05/0.5457, allocations: 0 / 0.4916 GB, free: 5.535 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.841e-05/0.5458, allocations: 24 kB / 0.4916 GB, free: 5.512 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.316e-05/0.5458, allocations: 12 kB / 0.4917 GB, free: 5.5 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009767/0.5468, allocations: 0.4933 MB / 0.4921 GB, free: 5.004 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004326/0.5511, allocations: 2.089 MB / 0.4942 GB, free: 2.82 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001405/0.5526, allocations: 0.9238 MB / 0.4951 GB, free: 1.812 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005826/0.5532, allocations: 327.1 kB / 0.4954 GB, free: 1.492 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.994e-05/0.5533, allocations: 16.77 kB / 0.4954 GB, free: 1.477 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.94e-05/0.5534, allocations: 51.33 kB / 0.4955 GB, free: 1.418 MB / 362.7 MB Notification: Performance of pre-optimization done (n=74): time 4.358e-06/0.5534, allocations: 1.125 kB / 0.4955 GB, free: 1.418 MB / 362.7 MB Notification: Performance of matching and sorting (n=74): time 0.002641/0.556, allocations: 0.889 MB / 0.4963 GB, free: 0.5078 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0006391/0.5567, allocations: 0.8235 MB / 0.4971 GB, free: 15.49 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001256/0.558, allocations: 0.5505 MB / 0.4977 GB, free: 14.93 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001293/0.5581, allocations: 41.7 kB / 0.4977 GB, free: 14.88 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005435/0.5587, allocations: 337 kB / 0.498 GB, free: 14.55 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003907/0.5591, allocations: 256.2 kB / 0.4983 GB, free: 14.29 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.525e-05/0.5591, allocations: 12 kB / 0.4983 GB, free: 14.28 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0003718/0.5595, allocations: 398.7 kB / 0.4987 GB, free: 13.88 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005077/0.5601, allocations: 213.6 kB / 0.4989 GB, free: 13.68 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008401/0.5609, allocations: 0.4899 MB / 0.4993 GB, free: 13.09 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006888/0.5616, allocations: 352 kB / 0.4997 GB, free: 12.73 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.7e-06/0.5616, allocations: 1.5 kB / 0.4997 GB, free: 12.73 MB / 378.7 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.002617/0.5643, allocations: 1.042 MB / 0.5007 GB, free: 11.65 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.644e-05/0.5644, allocations: 89.06 kB / 0.5008 GB, free: 11.54 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.595e-05/0.5644, allocations: 4 kB / 0.5008 GB, free: 11.54 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007327/0.5651, allocations: 203.3 kB / 0.501 GB, free: 11.33 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006704/0.5658, allocations: 155.8 kB / 0.5011 GB, free: 11.18 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007396/0.5732, allocations: 6.226 MB / 0.5072 GB, free: 4.422 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009556/0.5742, allocations: 119.3 kB / 0.5073 GB, free: 4.305 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001417/0.5744, allocations: 20 kB / 0.5073 GB, free: 4.285 MB / 378.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.000285/0.5747, allocations: 156.8 kB / 0.5075 GB, free: 4.125 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000245/0.5749, allocations: 87.06 kB / 0.5076 GB, free: 4.039 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002791/0.5752, allocations: 88.06 kB / 0.5077 GB, free: 3.945 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.755e-06/0.5752, allocations: 11.94 kB / 0.5077 GB, free: 3.934 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.055e-06/0.5752, allocations: 0 / 0.5077 GB, free: 3.934 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002091/0.5773, allocations: 1.182 MB / 0.5088 GB, free: 2.637 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004101/0.5814, allocations: 1.859 MB / 0.5106 GB, free: 0.707 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.514e-06/0.5815, allocations: 4 kB / 0.5106 GB, free: 0.7031 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008433/0.5823, allocations: 155.8 kB / 0.5108 GB, free: 0.5508 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00053/0.5829, allocations: 162.5 kB / 0.5109 GB, free: 392 kB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.121e-05/0.583, allocations: 27.94 kB / 0.511 GB, free: 364 kB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006107/0.5891, allocations: 4.79 MB / 0.5157 GB, free: 11.18 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.465e-06/0.5891, allocations: 0 / 0.5157 GB, free: 11.18 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002682/0.5918, allocations: 1.277 MB / 0.5169 GB, free: 9.871 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004905/0.5923, allocations: 235.9 kB / 0.5171 GB, free: 9.621 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001938/0.5925, allocations: 27.98 kB / 0.5172 GB, free: 9.594 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006338/0.5932, allocations: 60.95 kB / 0.5172 GB, free: 9.535 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001891/0.5934, allocations: 68.67 kB / 0.5173 GB, free: 9.469 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.243e-05/0.5934, allocations: 20.12 kB / 0.5173 GB, free: 9.449 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0006966/0.5941, allocations: 447.2 kB / 0.5177 GB, free: 9.016 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.51e-07/0.5941, allocations: 0 / 0.5177 GB, free: 9.016 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001113/0.5953, allocations: 291.7 kB / 0.518 GB, free: 8.73 MB / 394.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.0002733/0.5955, allocations: 131.2 kB / 0.5181 GB, free: 8.59 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001967/0.5975, allocations: 1.239 MB / 0.5193 GB, free: 7.262 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 9.337e-06/0.5975, allocations: 7 kB / 0.5193 GB, free: 7.258 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001216/0.5988, allocations: 0.7268 MB / 0.52 GB, free: 6.492 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001025/0.5998, allocations: 213.7 kB / 0.5203 GB, free: 6.293 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002523/0.6023, allocations: 1.224 MB / 0.5214 GB, free: 5.043 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005707/0.6029, allocations: 0.9557 MB / 0.5224 GB, free: 4.059 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0004736/0.6034, allocations: 94.2 kB / 0.5225 GB, free: 3.965 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001922/0.6036, allocations: 65.11 kB / 0.5225 GB, free: 3.902 MB / 394.7 MB Notification: Performance of SimCode: time 1.934e-06/0.6036, allocations: 0 / 0.5225 GB, free: 3.902 MB / 394.7 MB Notification: Performance of Templates: time 0.0323/0.6359, allocations: 16.11 MB / 0.5383 GB, free: 4.121 MB / 410.7 MB make -j1 -f Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.makefile (rm -f Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.pipe ; mkfifo Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.pipe >> ../files/Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.sim & ./Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Thermal/FluidHeatFlow/Examples/TwoMass/TwoMass.csv","../files/Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches