Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Thermal.HeatTransfer.Examples.TwoMasses.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.HeatTransfer.Examples.TwoMasses,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|mass1.T|mass2.T",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Thermal.HeatTransfer.Examples.TwoMasses") translateModel(Modelica.Thermal.HeatTransfer.Examples.TwoMasses,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|mass1.T|mass2.T",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Thermal.HeatTransfer.Examples.TwoMasses") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002225/0.002224, allocations: 186.2 kB / 16.4 MB, free: 5.746 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.959/1.959, allocations: 205.4 MB / 222.5 MB, free: 9.117 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.001124/0.001124, allocations: 93.5 kB / 270.9 MB, free: 8.359 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004022/0.0004023, allocations: 11.98 kB / 327 MB, free: 200 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3283/0.3288, allocations: 47.57 MB / 374.5 MB, free: 45.4 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1176/0.4464, allocations: 75.66 MB / 450.2 MB, free: 5.098 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002633/0.4467, allocations: 67.97 kB / 450.3 MB, free: 5.031 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.007376/0.4541, allocations: 1.787 MB / 452 MB, free: 3.242 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.853e-06/0.4542, allocations: 4 kB / 452.1 MB, free: 3.238 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.034e-05/0.4542, allocations: 0 / 452.1 MB, free: 3.238 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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0004755/0.4547, allocations: 371.1 kB / 452.4 MB, free: 2.828 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.233e-05/0.4547, allocations: 12.03 kB / 452.4 MB, free: 2.816 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001443/0.4549, allocations: 7.906 kB / 452.4 MB, free: 2.809 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001454/0.455, allocations: 174.9 kB / 452.6 MB, free: 2.598 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.297e-05/0.4551, allocations: 15.94 kB / 452.6 MB, free: 2.582 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.474e-05/0.4551, allocations: 8 kB / 452.6 MB, free: 2.574 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002247/0.4554, allocations: 88.06 kB / 452.7 MB, free: 2.484 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.342e-05/0.4554, allocations: 0 / 452.7 MB, free: 2.484 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.553e-05/0.4554, allocations: 4 kB / 452.7 MB, free: 2.48 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.476e-06/0.4554, allocations: 0 / 452.7 MB, free: 2.48 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001663/0.4556, allocations: 59.92 kB / 452.8 MB, free: 2.422 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000905/0.4565, allocations: 396.6 kB / 453.2 MB, free: 1.984 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001876/0.4567, allocations: 78.5 kB / 453.2 MB, free: 1.898 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.125e-05/0.4568, allocations: 0 / 453.2 MB, free: 1.898 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.64e-05/0.4568, allocations: 30.56 kB / 453.3 MB, free: 1.859 MB / 330.7 MB Notification: Performance of pre-optimization done (n=8): time 1.372e-06/0.4568, allocations: 4 kB / 453.3 MB, free: 1.855 MB / 330.7 MB Notification: Performance of matching and sorting (n=8): time 0.0002677/0.4571, allocations: 81.59 kB / 453.4 MB, free: 1.77 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.424e-05/0.4571, allocations: 55.34 kB / 453.4 MB, free: 1.703 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.318e-05/0.4572, allocations: 101 kB / 453.5 MB, free: 1.598 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.97e-05/0.4573, allocations: 29.7 kB / 453.5 MB, free: 1.562 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.009e-05/0.4574, allocations: 174.8 kB / 453.7 MB, free: 1.391 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.692e-05/0.4574, allocations: 27.72 kB / 453.7 MB, free: 1.363 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.398e-06/0.4574, allocations: 4 kB / 453.7 MB, free: 1.359 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.000119/0.4576, allocations: 318.8 kB / 454 MB, free: 1.039 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.548e-05/0.4576, allocations: 20 kB / 454.1 MB, free: 1.02 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.194e-05/0.4577, allocations: 42.56 kB / 454.1 MB, free: 0.9688 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.878e-05/0.4578, allocations: 31.98 kB / 454.1 MB, free: 0.9375 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.275e-06/0.4579, allocations: 7.875 kB / 454.1 MB, free: 0.9297 MB / 330.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002355/0.4581, allocations: 105.5 kB / 454.2 MB, free: 0.8203 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.858e-05/0.4581, allocations: 4 kB / 454.3 MB, free: 0.8164 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.022e-06/0.4581, allocations: 0 / 454.3 MB, free: 0.8164 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.456e-05/0.4582, allocations: 4 kB / 454.3 MB, free: 0.8125 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002181/0.4584, allocations: 27.92 kB / 454.3 MB, free: 0.7852 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.023e-06/0.4584, allocations: 0 / 454.3 MB, free: 0.7852 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.985e-05/0.4585, allocations: 12.25 kB / 454.3 MB, free: 0.7734 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.484e-05/0.4586, allocations: 8 kB / 454.3 MB, free: 0.7656 MB / 330.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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 13 * 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 prepare postOptimizeDAE: time 0.0001189/0.4587, allocations: 117.8 kB / 454.4 MB, free: 0.6406 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.869e-05/0.4587, allocations: 11.91 kB / 454.4 MB, free: 0.6289 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.492e-05/0.4588, allocations: 12.36 kB / 454.4 MB, free: 0.6211 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.988e-06/0.4588, allocations: 0 / 454.4 MB, free: 0.6211 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.909e-06/0.4588, allocations: 0 / 454.4 MB, free: 0.6211 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.027e-06/0.4588, allocations: 0 / 454.4 MB, free: 0.6211 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002833/0.4591, allocations: 189.6 kB / 454.6 MB, free: 396 kB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.529e-06/0.4591, allocations: 7.984 kB / 454.6 MB, free: 388 kB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002032/0.4593, allocations: 23.94 kB / 454.7 MB, free: 364 kB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.128e-06/0.4594, allocations: 3.938 kB / 454.7 MB, free: 360 kB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.196e-05/0.4594, allocations: 0 / 454.7 MB, free: 360 kB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.394e-06/0.4594, allocations: 0 / 454.7 MB, free: 360 kB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.964e-06/0.4594, allocations: 0 / 454.7 MB, free: 360 kB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003209/0.4597, allocations: 187.4 kB / 454.8 MB, free: 156 kB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.283e-05/0.4598, allocations: 85.09 kB / 454.9 MB, free: 52 kB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.279e-05/0.4598, allocations: 8.062 kB / 454.9 MB, free: 44 kB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001338/0.46, allocations: 7.969 kB / 454.9 MB, free: 36 kB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.727e-05/0.46, allocations: 4 kB / 454.9 MB, free: 32 kB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.352e-06/0.46, allocations: 0 / 454.9 MB, free: 32 kB / 330.7 MB Notification: Performance of sorting global known variables: time 8.178e-05/0.4601, allocations: 91.27 kB / 455 MB, free: 15.94 MB / 346.7 MB Notification: Performance of sort global known variables: time 3.9e-07/0.4602, allocations: 0 / 455 MB, free: 15.94 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.000326/0.4605, allocations: 27.84 kB / 455.1 MB, free: 15.91 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (mass1.T,mass2.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 (8): * Single equations (assignments): 8 * 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.0001375/0.4606, allocations: 99.19 kB / 455.2 MB, free: 15.81 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001894/0.4608, allocations: 59.91 kB / 455.2 MB, free: 15.75 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.4609, allocations: 0 / 455.2 MB, free: 15.75 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 6.226e-05/0.4609, allocations: 27.98 kB / 455.2 MB, free: 15.72 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002506/0.4612, allocations: 4 kB / 455.3 MB, free: 15.72 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009172/0.4621, allocations: 410.8 kB / 455.7 MB, free: 15.28 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002991/0.4624, allocations: 0.6965 MB / 456.3 MB, free: 14.55 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.714e-05/0.4625, allocations: 19.38 kB / 456.4 MB, free: 14.54 MB / 346.7 MB Notification: Performance of SimCode: time 7.31e-07/0.4625, allocations: 0 / 456.4 MB, free: 14.54 MB / 346.7 MB Notification: Performance of Templates: time 0.002925/0.4654, allocations: 0.9306 MB / 457.3 MB, free: 13.61 MB / 346.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Thermal.HeatTransfer.Examples.TwoMasses.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Thermal.HeatTransfer.Examples.TwoMasses.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Thermal.HeatTransfer.Examples.TwoMasses.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Thermal.HeatTransfer.Examples.TwoMasses.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Thermal.HeatTransfer.Examples.TwoMasses.sim & ./Modelica_3.2.3_cpp_Modelica.Thermal.HeatTransfer.Examples.TwoMasses --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Thermal.HeatTransfer.Examples.TwoMasses.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Thermal.HeatTransfer.Examples.TwoMasses_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Thermal/HeatTransfer/Examples/TwoMasses/TwoMasses.csv","../files/Modelica_3.2.3_cpp_Modelica.Thermal.HeatTransfer.Examples.TwoMasses.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches