Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Thermal.HeatTransfer.Examples.TwoMasses.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.HeatTransfer.Examples.TwoMasses,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|mass1.T|mass2.T",fileNamePrefix="Modelica_trunk_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_trunk_Modelica.Thermal.HeatTransfer.Examples.TwoMasses") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001484/0.001484, allocations: 198.8 kB / 8.768 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.487/1.487, allocations: 225.6 MB / 234.8 MB, free: 3.301 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.000935/0.0009351, allocations: 101.6 kB / 286.7 MB, free: 5.273 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.034e-05/2.038e-05, allocations: 4 kB / 343.7 MB, free: 8.297 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1119/0.112, allocations: 51.47 MB / 395.2 MB, free: 4.785 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3802/0.4922, allocations: 76.58 MB / 471.7 MB, free: 14.73 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001784/0.4924, allocations: 67.88 kB / 471.8 MB, free: 14.71 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.004575/0.497, allocations: 1.831 MB / 473.6 MB, free: 13.59 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.834e-06/0.4971, allocations: 0 / 473.6 MB, free: 13.59 MB / 346.7 MB Notification: Performance of Transformations before backend: time 9.618e-06/0.4971, allocations: 4.562 kB / 473.6 MB, free: 13.58 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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0003206/0.4974, allocations: 363.8 kB / 474 MB, free: 13.2 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.442e-05/0.4975, allocations: 12.03 kB / 474 MB, free: 13.19 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001136/0.4976, allocations: 9.797 kB / 474 MB, free: 13.18 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.932e-05/0.4977, allocations: 169.5 kB / 474.2 MB, free: 12.98 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.334e-05/0.4977, allocations: 0 / 474.2 MB, free: 12.98 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.459e-05/0.4977, allocations: 9.5 kB / 474.2 MB, free: 12.97 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001246/0.4979, allocations: 54.58 kB / 474.2 MB, free: 12.94 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001105/0.498, allocations: 65.59 kB / 474.3 MB, free: 12.89 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.305e-05/0.498, allocations: 3.625 kB / 474.3 MB, free: 12.89 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.097e-05/0.498, allocations: 0 / 474.3 MB, free: 12.89 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.478e-06/0.498, allocations: 0 / 474.3 MB, free: 12.89 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005528/0.4986, allocations: 369.2 kB / 474.7 MB, free: 12.57 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001029/0.4987, allocations: 71.55 kB / 474.7 MB, free: 12.51 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.417e-05/0.4988, allocations: 28.88 kB / 474.8 MB, free: 12.48 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.377e-05/0.4988, allocations: 0 / 474.8 MB, free: 12.48 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.066e-05/0.4988, allocations: 35.36 kB / 474.8 MB, free: 12.44 MB / 346.7 MB Notification: Performance of pre-optimization done (n=8): time 9.22e-07/0.4988, allocations: 4 kB / 474.8 MB, free: 12.44 MB / 346.7 MB Notification: Performance of matching and sorting (n=8): time 0.0001647/0.499, allocations: 67.5 kB / 474.9 MB, free: 12.38 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.481e-05/0.499, allocations: 56.2 kB / 474.9 MB, free: 12.31 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.211e-05/0.4991, allocations: 101.3 kB / 475 MB, free: 12.21 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.047e-05/0.4991, allocations: 25.7 kB / 475.1 MB, free: 12.18 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.235e-05/0.4992, allocations: 101.1 kB / 475.2 MB, free: 12.09 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.867e-05/0.4992, allocations: 30.09 kB / 475.2 MB, free: 12.07 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.588e-06/0.4992, allocations: 0 / 475.2 MB, free: 12.07 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 5.411e-05/0.4993, allocations: 321 kB / 475.5 MB, free: 11.75 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.043e-05/0.4993, allocations: 15.44 kB / 475.5 MB, free: 11.74 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.815e-05/0.4993, allocations: 51.84 kB / 475.6 MB, free: 11.7 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.367e-05/0.4994, allocations: 22.66 kB / 475.6 MB, free: 11.68 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.854e-06/0.4994, allocations: 0 / 475.6 MB, free: 11.68 MB / 346.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001228/0.4995, allocations: 99.83 kB / 475.7 MB, free: 11.6 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.684e-05/0.4996, allocations: 4.75 kB / 475.7 MB, free: 11.6 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.701e-06/0.4996, allocations: 0 / 475.7 MB, free: 11.6 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.605e-05/0.4996, allocations: 0 / 475.7 MB, free: 11.6 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001185/0.4997, allocations: 30.84 kB / 475.7 MB, free: 11.57 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.182e-06/0.4997, allocations: 0 / 475.7 MB, free: 11.57 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.62e-05/0.4998, allocations: 13.48 kB / 475.7 MB, free: 11.56 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.973e-06/0.4998, allocations: 4 kB / 475.7 MB, free: 11.55 MB / 346.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 5.873e-05/0.4999, allocations: 101 kB / 475.8 MB, free: 11.45 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.559e-05/0.4999, allocations: 20.53 kB / 475.9 MB, free: 11.43 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.787e-05/0.4999, allocations: 8.875 kB / 475.9 MB, free: 11.43 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.623e-06/0.4999, allocations: 0 / 475.9 MB, free: 11.43 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.569e-06/0.5, allocations: 0 / 475.9 MB, free: 11.43 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.35e-06/0.5, allocations: 0.9375 kB / 475.9 MB, free: 11.43 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000143/0.5001, allocations: 156.2 kB / 476 MB, free: 11.25 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.5001, allocations: 0 / 476 MB, free: 11.25 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001026/0.5002, allocations: 25.34 kB / 476 MB, free: 11.23 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.805e-06/0.5002, allocations: 0.7031 kB / 476 MB, free: 11.23 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.977e-06/0.5003, allocations: 0 / 476 MB, free: 11.23 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.204e-06/0.5003, allocations: 7.953 kB / 476 MB, free: 11.23 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.645e-06/0.5003, allocations: 0.75 kB / 476 MB, free: 11.23 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001621/0.5004, allocations: 190.4 kB / 476.2 MB, free: 11.05 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.886e-05/0.5005, allocations: 81.66 kB / 476.3 MB, free: 10.95 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.89e-05/0.5005, allocations: 3.672 kB / 476.3 MB, free: 10.95 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.082e-05/0.5006, allocations: 4.594 kB / 476.3 MB, free: 10.95 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.824e-05/0.5006, allocations: 5.781 kB / 476.3 MB, free: 10.95 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.418e-06/0.5006, allocations: 8.062 kB / 476.3 MB, free: 10.94 MB / 346.7 MB Notification: Performance of sorting global known variables: time 2.52e-05/0.5006, allocations: 84.66 kB / 476.4 MB, free: 10.86 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.5006, allocations: 0 / 476.4 MB, free: 10.86 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002499/0.5009, allocations: 19.91 kB / 476.4 MB, free: 10.84 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 () * 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 9.985e-05/0.501, allocations: 100.6 kB / 476.5 MB, free: 10.73 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001066/0.5011, allocations: 43.39 kB / 476.6 MB, free: 10.7 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.416e-06/0.5011, allocations: 3.938 kB / 476.6 MB, free: 10.7 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 2.713e-05/0.5012, allocations: 23.38 kB / 476.6 MB, free: 10.68 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001907/0.5014, allocations: 8.781 kB / 476.6 MB, free: 10.68 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004285/0.5018, allocations: 233.7 kB / 476.8 MB, free: 10.46 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001328/0.5019, allocations: 0.6988 MB / 477.5 MB, free: 9.75 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 3.583e-05/0.502, allocations: 7.797 kB / 477.5 MB, free: 9.746 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.791e-05/0.502, allocations: 11.44 kB / 477.6 MB, free: 9.734 MB / 346.7 MB Notification: Performance of SimCode: time 2.31e-07/0.502, allocations: 0 / 477.6 MB, free: 9.734 MB / 346.7 MB Notification: Performance of Templates: time 0.002356/0.5044, allocations: 0.5559 MB / 478.1 MB, free: 9.422 MB / 346.7 MB make -j1 -f Modelica_trunk_Modelica.Thermal.HeatTransfer.Examples.TwoMasses.makefile (rm -f Modelica_trunk_Modelica.Thermal.HeatTransfer.Examples.TwoMasses.pipe ; mkfifo Modelica_trunk_Modelica.Thermal.HeatTransfer.Examples.TwoMasses.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Thermal.HeatTransfer.Examples.TwoMasses.pipe >> ../files/Modelica_trunk_Modelica.Thermal.HeatTransfer.Examples.TwoMasses.sim & ./Modelica_trunk_Modelica.Thermal.HeatTransfer.Examples.TwoMasses -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Thermal.HeatTransfer.Examples.TwoMasses.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Thermal.HeatTransfer.Examples.TwoMasses_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Thermal/HeatTransfer/Examples/TwoMasses/TwoMasses.csv","../files/Modelica_trunk_Modelica.Thermal.HeatTransfer.Examples.TwoMasses.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches