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.001117/0.001117, allocations: 201.5 kB / 17.08 MB, free: 5.062 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.208/1.208, allocations: 227.2 MB / 245 MB, free: 7.484 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008379/0.0008379, allocations: 103.9 kB / 297.3 MB, free: 6.168 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002347/0.0002348, allocations: 8 kB / 357.9 MB, free: 9.52 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2068/0.207, allocations: 51.48 MB / 409.4 MB, free: 26.73 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.0873/0.2944, allocations: 77.31 MB / 486.7 MB, free: 13.31 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002174/0.2947, allocations: 73.89 kB / 486.8 MB, free: 13.24 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.004603/0.2993, allocations: 1.841 MB / 488.6 MB, free: 11.41 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.483e-06/0.2993, allocations: 0 / 488.6 MB, free: 11.41 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.062e-05/0.2993, allocations: 4 kB / 488.6 MB, free: 11.41 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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0003365/0.2997, allocations: 363.2 kB / 489 MB, free: 11 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.567e-05/0.2997, allocations: 12.03 kB / 489 MB, free: 10.99 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001028/0.2998, allocations: 19.89 kB / 489 MB, free: 10.97 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000106/0.2999, allocations: 171 kB / 489.2 MB, free: 10.77 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.621e-05/0.2999, allocations: 11.95 kB / 489.2 MB, free: 10.75 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.459e-05/0.3, allocations: 8 kB / 489.2 MB, free: 10.75 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001617/0.3001, allocations: 83.89 kB / 489.3 MB, free: 10.66 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.082e-05/0.3002, allocations: 0 / 489.3 MB, free: 10.66 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.143e-05/0.3002, allocations: 4 kB / 489.3 MB, free: 10.66 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.807e-06/0.3002, allocations: 0 / 489.3 MB, free: 10.66 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001146/0.3003, allocations: 59.86 kB / 489.3 MB, free: 10.6 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005773/0.3009, allocations: 400.6 kB / 489.7 MB, free: 10.16 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001146/0.301, allocations: 70.56 kB / 489.8 MB, free: 10.08 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.151e-05/0.301, allocations: 7.984 kB / 489.8 MB, free: 10.07 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.108e-05/0.3011, allocations: 38.48 kB / 489.9 MB, free: 10.02 MB / 362.7 MB Notification: Performance of pre-optimization done (n=8): time 1.092e-06/0.3011, allocations: 0 / 489.9 MB, free: 10.02 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0001808/0.3013, allocations: 93.67 kB / 489.9 MB, free: 9.926 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.89e-05/0.3013, allocations: 51.41 kB / 490 MB, free: 9.863 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.927e-05/0.3014, allocations: 101 kB / 490.1 MB, free: 9.758 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.142e-05/0.3014, allocations: 25.7 kB / 490.1 MB, free: 9.727 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.243e-05/0.3014, allocations: 99.89 kB / 490.2 MB, free: 9.625 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.336e-05/0.3015, allocations: 35.55 kB / 490.3 MB, free: 9.59 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.93e-06/0.3015, allocations: 4 kB / 490.3 MB, free: 9.586 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 8.678e-05/0.3016, allocations: 318.8 kB / 490.6 MB, free: 9.266 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.657e-05/0.3016, allocations: 20 kB / 490.6 MB, free: 9.246 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.325e-05/0.3017, allocations: 46.19 kB / 490.6 MB, free: 9.195 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.595e-05/0.3017, allocations: 24 kB / 490.7 MB, free: 9.172 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.3017, allocations: 4 kB / 490.7 MB, free: 9.168 MB / 362.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001423/0.3019, allocations: 114.1 kB / 490.8 MB, free: 9.051 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.482e-05/0.3019, allocations: 6.656 kB / 490.8 MB, free: 9.047 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.118e-06/0.3019, allocations: 0 / 490.8 MB, free: 9.047 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.161e-05/0.3019, allocations: 4 kB / 490.8 MB, free: 9.043 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000118/0.302, allocations: 27.92 kB / 490.8 MB, free: 9.016 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.659e-06/0.3021, allocations: 0 / 490.8 MB, free: 9.016 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.095e-05/0.3021, allocations: 4 kB / 490.8 MB, free: 9.012 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.095e-06/0.3021, allocations: 8 kB / 490.8 MB, free: 9.004 MB / 362.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 7.212e-05/0.3022, allocations: 125.8 kB / 490.9 MB, free: 8.871 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.506e-05/0.3022, allocations: 7.906 kB / 490.9 MB, free: 8.863 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.662e-05/0.3023, allocations: 8.375 kB / 491 MB, free: 8.855 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.573e-06/0.3023, allocations: 0 / 491 MB, free: 8.855 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.438e-06/0.3023, allocations: 0 / 491 MB, free: 8.855 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.396e-06/0.3023, allocations: 7.922 kB / 491 MB, free: 8.848 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000166/0.3025, allocations: 193.5 kB / 491.2 MB, free: 8.609 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.3025, allocations: 4 kB / 491.2 MB, free: 8.605 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.974e-05/0.3026, allocations: 19.98 kB / 491.2 MB, free: 8.586 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.723e-06/0.3026, allocations: 4 kB / 491.2 MB, free: 8.582 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.255e-06/0.3026, allocations: 0 / 491.2 MB, free: 8.582 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.373e-06/0.3026, allocations: 0 / 491.2 MB, free: 8.582 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.01e-07/0.3026, allocations: 0 / 491.2 MB, free: 8.582 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001736/0.3028, allocations: 191.7 kB / 491.4 MB, free: 8.379 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.79e-05/0.3028, allocations: 89 kB / 491.5 MB, free: 8.273 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.535e-05/0.3029, allocations: 4 kB / 491.5 MB, free: 8.27 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.117e-05/0.3029, allocations: 4 kB / 491.5 MB, free: 8.266 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.485e-05/0.3029, allocations: 11.98 kB / 491.5 MB, free: 8.254 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.436e-06/0.303, allocations: 0 / 491.5 MB, free: 8.254 MB / 362.7 MB Notification: Performance of sorting global known variables: time 3.358e-05/0.303, allocations: 83.28 kB / 491.6 MB, free: 8.172 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.303, allocations: 4 kB / 491.6 MB, free: 8.168 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002179/0.3032, allocations: 20 kB / 491.6 MB, free: 8.148 MB / 362.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 9.489e-05/0.3033, allocations: 99.23 kB / 491.7 MB, free: 8.039 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.000115/0.3034, allocations: 63.03 kB / 491.7 MB, free: 7.98 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.786e-06/0.3035, allocations: 8.125 kB / 491.7 MB, free: 7.973 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 2.724e-05/0.3035, allocations: 16 kB / 491.8 MB, free: 7.957 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001729/0.3037, allocations: 7.984 kB / 491.8 MB, free: 7.949 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005462/0.3042, allocations: 385.5 kB / 492.1 MB, free: 7.547 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002031/0.3044, allocations: 0.6926 MB / 492.8 MB, free: 6.828 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.746e-05/0.3045, allocations: 7.984 kB / 492.8 MB, free: 6.82 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.881e-05/0.3045, allocations: 11.44 kB / 492.9 MB, free: 6.809 MB / 362.7 MB Notification: Performance of SimCode: time 2.41e-07/0.3045, allocations: 4 kB / 492.9 MB, free: 6.805 MB / 362.7 MB Notification: Performance of Templates: time 0.002149/0.3067, allocations: 0.5683 MB / 493.4 MB, free: 6.242 MB / 362.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