Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_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_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_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.0009584/0.0009586, allocations: 172.4 kB / 14.1 MB, free: 1.223 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.487/1.487, allocations: 205.2 MB / 219.8 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.0007822/0.0007822, allocations: 82.72 kB / 268 MB, free: 14.05 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.556e-05/2.559e-05, allocations: 7.984 kB / 322.4 MB, free: 17.36 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1102/0.1103, allocations: 47.57 MB / 370 MB, free: 1.719 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3561/0.4664, allocations: 75.56 MB / 445.6 MB, free: 1.656 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003183/0.4668, allocations: 63 kB / 445.6 MB, free: 1.625 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.004997/0.4718, allocations: 1.798 MB / 447.4 MB, free: 80 kB / 314.7 MB Notification: Performance of FrontEnd: time 1.313e-06/0.4718, allocations: 0 / 447.4 MB, free: 80 kB / 314.7 MB Notification: Performance of Transformations before backend: time 7.063e-06/0.4718, allocations: 0 / 447.4 MB, free: 80 kB / 314.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.0003834/0.4722, allocations: 354.5 kB / 447.8 MB, free: 15.69 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.717e-05/0.4723, allocations: 20.02 kB / 447.8 MB, free: 15.67 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001052/0.4724, allocations: 7.906 kB / 447.8 MB, free: 15.66 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001208/0.4725, allocations: 167 kB / 448 MB, free: 15.46 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.929e-05/0.4726, allocations: 11.58 kB / 448 MB, free: 15.45 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.909e-05/0.4726, allocations: 7.5 kB / 448 MB, free: 15.45 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001791/0.4728, allocations: 84.66 kB / 448.1 MB, free: 15.38 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.182e-05/0.4728, allocations: 0 / 448.1 MB, free: 15.38 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.963e-05/0.4728, allocations: 11.69 kB / 448.1 MB, free: 15.37 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.564e-06/0.4728, allocations: 0 / 448.1 MB, free: 15.37 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001142/0.473, allocations: 54.06 kB / 448.1 MB, free: 15.33 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000668/0.4736, allocations: 402.4 kB / 448.5 MB, free: 14.94 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001803/0.4738, allocations: 69.36 kB / 448.6 MB, free: 14.88 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.802e-05/0.4739, allocations: 34.92 kB / 448.6 MB, free: 14.85 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.351e-05/0.4739, allocations: 0 / 448.6 MB, free: 14.85 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.854e-05/0.474, allocations: 39.27 kB / 448.7 MB, free: 14.8 MB / 330.7 MB Notification: Performance of pre-optimization done (n=8): time 9.92e-07/0.474, allocations: 0 / 448.7 MB, free: 14.8 MB / 330.7 MB Notification: Performance of matching and sorting (n=8): time 0.0001852/0.4742, allocations: 75.2 kB / 448.7 MB, free: 14.73 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.806e-05/0.4742, allocations: 55.41 kB / 448.8 MB, free: 14.67 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.515e-05/0.4743, allocations: 96.36 kB / 448.9 MB, free: 14.57 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.678e-05/0.4743, allocations: 29.7 kB / 448.9 MB, free: 14.54 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.443e-05/0.4744, allocations: 103.2 kB / 449 MB, free: 14.43 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.915e-05/0.4744, allocations: 32.25 kB / 449.1 MB, free: 14.41 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.893e-06/0.4744, allocations: 4 kB / 449.1 MB, free: 14.41 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.000142/0.4746, allocations: 321.9 kB / 449.4 MB, free: 14.09 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.835e-05/0.4746, allocations: 18.19 kB / 449.4 MB, free: 14.07 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.589e-05/0.4747, allocations: 39.33 kB / 449.4 MB, free: 14.04 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.687e-05/0.4748, allocations: 39.23 kB / 449.5 MB, free: 14.01 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.4748, allocations: 3.938 kB / 449.5 MB, free: 14 MB / 330.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001519/0.4749, allocations: 100.4 kB / 449.6 MB, free: 13.92 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.743e-05/0.475, allocations: 4 kB / 449.6 MB, free: 13.91 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.189e-06/0.475, allocations: 0 / 449.6 MB, free: 13.91 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.514e-05/0.475, allocations: 4 kB / 449.6 MB, free: 13.91 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001282/0.4751, allocations: 23.98 kB / 449.6 MB, free: 13.89 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.604e-06/0.4751, allocations: 0 / 449.6 MB, free: 13.89 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.055e-05/0.4752, allocations: 18.59 kB / 449.6 MB, free: 13.87 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.658e-06/0.4752, allocations: 4 kB / 449.6 MB, free: 13.87 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 () * 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 7.837e-05/0.4753, allocations: 111.8 kB / 449.7 MB, free: 13.75 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.809e-05/0.4753, allocations: 11.89 kB / 449.7 MB, free: 13.74 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.888e-05/0.4754, allocations: 14.92 kB / 449.8 MB, free: 13.73 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.669e-06/0.4754, allocations: 4 kB / 449.8 MB, free: 13.73 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.348e-06/0.4754, allocations: 0 / 449.8 MB, free: 13.73 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.066e-06/0.4754, allocations: 0 / 449.8 MB, free: 13.73 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001949/0.4756, allocations: 186.5 kB / 449.9 MB, free: 13.51 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.425e-06/0.4756, allocations: 3.984 kB / 450 MB, free: 13.5 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001022/0.4757, allocations: 20 kB / 450 MB, free: 13.48 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.884e-06/0.4757, allocations: 0 / 450 MB, free: 13.48 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.053e-05/0.4758, allocations: 0 / 450 MB, free: 13.48 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.252e-06/0.4758, allocations: 4 kB / 450 MB, free: 13.48 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.31e-07/0.4758, allocations: 0 / 450 MB, free: 13.48 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002072/0.476, allocations: 197.2 kB / 450.2 MB, free: 13.29 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.233e-05/0.476, allocations: 81.14 kB / 450.2 MB, free: 13.2 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.77e-05/0.4761, allocations: 4 kB / 450.3 MB, free: 13.19 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.264e-05/0.4761, allocations: 11.19 kB / 450.3 MB, free: 13.18 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.908e-05/0.4762, allocations: 7.984 kB / 450.3 MB, free: 13.18 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.897e-06/0.4762, allocations: 0 / 450.3 MB, free: 13.18 MB / 330.7 MB Notification: Performance of sorting global known variables: time 4.536e-05/0.4762, allocations: 86.84 kB / 450.4 MB, free: 13.09 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4762, allocations: 0 / 450.4 MB, free: 13.09 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.000244/0.4765, allocations: 31.22 kB / 450.4 MB, free: 13.07 MB / 330.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 () * 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.0001245/0.4766, allocations: 91.25 kB / 450.5 MB, free: 12.97 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0001314/0.4768, allocations: 56.94 kB / 450.5 MB, free: 12.93 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.4768, allocations: 0 / 450.5 MB, free: 12.93 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 3.526e-05/0.4768, allocations: 30.98 kB / 450.6 MB, free: 12.9 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001915/0.477, allocations: 9.188 kB / 450.6 MB, free: 12.89 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004803/0.4775, allocations: 246.8 kB / 450.8 MB, free: 12.64 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000315/0.4778, allocations: 0.6965 MB / 451.5 MB, free: 11.92 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 3.642e-05/0.4779, allocations: 11.89 kB / 451.5 MB, free: 11.91 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.355e-05/0.4779, allocations: 11.44 kB / 451.5 MB, free: 11.89 MB / 330.7 MB Notification: Performance of SimCode: time 5.11e-07/0.4779, allocations: 0 / 451.5 MB, free: 11.89 MB / 330.7 MB Notification: Performance of Templates: time 0.002507/0.4804, allocations: 0.5784 MB / 452.1 MB, free: 11.33 MB / 330.7 MB make -j1 -f Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.TwoMasses.makefile (rm -f Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.TwoMasses.pipe ; mkfifo Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.TwoMasses.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.TwoMasses.pipe >> ../files/Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.TwoMasses.sim & ./Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.TwoMasses -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.TwoMasses.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.TwoMasses_res.mat","/var/lib/jenkins/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_Modelica.Thermal.HeatTransfer.Examples.TwoMasses.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches