Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Thermal.HeatTransfer.Examples.TwoMasses.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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_4.0.0_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_4.0.0_Modelica.Thermal.HeatTransfer.Examples.TwoMasses") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001025/0.001025, allocations: 182.6 kB / 16.39 MB, free: 5.742 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.304/1.304, allocations: 223.2 MB / 240.3 MB, free: 11.86 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008711/0.0008714, allocations: 93.81 kB / 291.5 MB, free: 10.94 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002515/0.0002516, allocations: 7.938 kB / 351.1 MB, free: 15.34 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2065/0.2067, allocations: 50.4 MB / 401.5 MB, free: 32.62 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09011/0.2969, allocations: 76.5 MB / 478 MB, free: 4.016 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002/0.2971, allocations: 72.59 kB / 478.1 MB, free: 3.945 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.004555/0.3017, allocations: 1.778 MB / 479.8 MB, free: 2.18 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.034e-06/0.3017, allocations: 0 / 479.8 MB, free: 2.18 MB / 346.7 MB Notification: Performance of Transformations before backend: time 9.257e-06/0.3017, allocations: 4 kB / 479.8 MB, free: 2.176 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.0003704/0.3021, allocations: 363.1 kB / 480.2 MB, free: 1.773 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.01e-05/0.3022, allocations: 12.03 kB / 480.2 MB, free: 1.762 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000104/0.3023, allocations: 11.89 kB / 480.2 MB, free: 1.75 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001172/0.3024, allocations: 167 kB / 480.4 MB, free: 1.547 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.658e-05/0.3024, allocations: 11.94 kB / 480.4 MB, free: 1.535 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.798e-05/0.3025, allocations: 8 kB / 480.4 MB, free: 1.527 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001775/0.3026, allocations: 92.19 kB / 480.5 MB, free: 1.434 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.381e-05/0.3027, allocations: 4 kB / 480.5 MB, free: 1.43 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.129e-05/0.3027, allocations: 0 / 480.5 MB, free: 1.43 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.559e-06/0.3027, allocations: 0 / 480.5 MB, free: 1.43 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001189/0.3028, allocations: 51.97 kB / 480.5 MB, free: 1.379 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006896/0.3035, allocations: 404.4 kB / 480.9 MB, free: 0.9336 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001557/0.3037, allocations: 74.69 kB / 481 MB, free: 0.8516 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.441e-05/0.3037, allocations: 7.875 kB / 481 MB, free: 0.8438 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.185e-05/0.3037, allocations: 34.55 kB / 481.1 MB, free: 0.8008 MB / 346.7 MB Notification: Performance of pre-optimization done (n=8): time 1.202e-06/0.3037, allocations: 0 / 481.1 MB, free: 0.8008 MB / 346.7 MB Notification: Performance of matching and sorting (n=8): time 0.0001991/0.304, allocations: 85.75 kB / 481.1 MB, free: 0.7109 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.523e-05/0.304, allocations: 55.41 kB / 481.2 MB, free: 0.6445 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.885e-05/0.3041, allocations: 105 kB / 481.3 MB, free: 0.5352 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.76e-05/0.3041, allocations: 25.7 kB / 481.3 MB, free: 0.5039 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.909e-05/0.3042, allocations: 103.8 kB / 481.4 MB, free: 408 kB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.575e-05/0.3042, allocations: 31.55 kB / 481.5 MB, free: 376 kB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.411e-06/0.3042, allocations: 4 kB / 481.5 MB, free: 372 kB / 346.7 MB Notification: Performance of setup shared object (initialization): time 9.895e-05/0.3043, allocations: 314.8 kB / 481.8 MB, free: 48 kB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.812e-05/0.3044, allocations: 20 kB / 481.8 MB, free: 28 kB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.887e-05/0.3044, allocations: 55.61 kB / 481.8 MB, free: 15.96 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.336e-05/0.3045, allocations: 27.94 kB / 481.9 MB, free: 15.93 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.3045, allocations: 0 / 481.9 MB, free: 15.93 MB / 362.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001481/0.3047, allocations: 109.5 kB / 482 MB, free: 15.82 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.67e-05/0.3047, allocations: 7.953 kB / 482 MB, free: 15.81 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.821e-06/0.3047, allocations: 4 kB / 482 MB, free: 15.81 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.231e-05/0.3047, allocations: 64 / 482 MB, free: 15.81 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001221/0.3048, allocations: 27.83 kB / 482 MB, free: 15.79 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.728e-06/0.3049, allocations: 3.984 kB / 482 MB, free: 15.78 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.518e-05/0.3049, allocations: 7.938 kB / 482 MB, free: 15.77 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.708e-05/0.3049, allocations: 8.312 kB / 482 MB, free: 15.77 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.684e-05/0.305, allocations: 117.8 kB / 482.1 MB, free: 15.64 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.693e-05/0.3051, allocations: 7.906 kB / 482.2 MB, free: 15.63 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.06e-05/0.3051, allocations: 12.33 kB / 482.2 MB, free: 15.62 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.524e-06/0.3051, allocations: 4 kB / 482.2 MB, free: 15.62 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.861e-06/0.3051, allocations: 0 / 482.2 MB, free: 15.62 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.427e-06/0.3051, allocations: 0 / 482.2 MB, free: 15.62 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000196/0.3053, allocations: 189.6 kB / 482.4 MB, free: 15.38 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.342e-06/0.3054, allocations: 0 / 482.4 MB, free: 15.38 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000107/0.3055, allocations: 19.98 kB / 482.4 MB, free: 15.36 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.114e-06/0.3055, allocations: 0 / 482.4 MB, free: 15.36 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.658e-06/0.3055, allocations: 0 / 482.4 MB, free: 15.36 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.218e-06/0.3055, allocations: 4.203 kB / 482.4 MB, free: 15.36 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.52e-07/0.3055, allocations: 0 / 482.4 MB, free: 15.36 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002223/0.3057, allocations: 207.3 kB / 482.6 MB, free: 15.14 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.319e-05/0.3058, allocations: 85.14 kB / 482.7 MB, free: 15.04 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.506e-05/0.3058, allocations: 0 / 482.7 MB, free: 15.04 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.356e-05/0.3059, allocations: 7.844 kB / 482.7 MB, free: 15.03 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.956e-05/0.3059, allocations: 15.88 kB / 482.7 MB, free: 15.02 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.647e-06/0.3059, allocations: 0 / 482.7 MB, free: 15.02 MB / 362.7 MB Notification: Performance of sorting global known variables: time 3.945e-05/0.306, allocations: 87.28 kB / 482.8 MB, free: 14.93 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.306, allocations: 0 / 482.8 MB, free: 14.93 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002267/0.3062, allocations: 28.06 kB / 482.8 MB, free: 14.9 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 0.0001275/0.3063, allocations: 95.23 kB / 482.9 MB, free: 14.8 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001272/0.3065, allocations: 59.92 kB / 483 MB, free: 14.74 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.3065, allocations: 0 / 483 MB, free: 14.74 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.469e-05/0.3065, allocations: 23.94 kB / 483 MB, free: 14.71 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002157/0.3068, allocations: 3.984 kB / 483 MB, free: 14.71 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006152/0.3074, allocations: 392.8 kB / 483.4 MB, free: 14.3 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002807/0.3077, allocations: 0.7004 MB / 484.1 MB, free: 13.57 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.862e-05/0.3077, allocations: 7.984 kB / 484.1 MB, free: 13.56 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.099e-05/0.3077, allocations: 11.44 kB / 484.1 MB, free: 13.55 MB / 362.7 MB Notification: Performance of SimCode: time 2.3e-07/0.3077, allocations: 0 / 484.1 MB, free: 13.55 MB / 362.7 MB Notification: Performance of Templates: time 0.002372/0.3101, allocations: 0.5565 MB / 484.6 MB, free: 13 MB / 362.7 MB make -j1 -f Modelica_4.0.0_Modelica.Thermal.HeatTransfer.Examples.TwoMasses.makefile (rm -f Modelica_4.0.0_Modelica.Thermal.HeatTransfer.Examples.TwoMasses.pipe ; mkfifo Modelica_4.0.0_Modelica.Thermal.HeatTransfer.Examples.TwoMasses.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Thermal.HeatTransfer.Examples.TwoMasses.pipe >> ../files/Modelica_4.0.0_Modelica.Thermal.HeatTransfer.Examples.TwoMasses.sim & ./Modelica_4.0.0_Modelica.Thermal.HeatTransfer.Examples.TwoMasses -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Thermal.HeatTransfer.Examples.TwoMasses.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_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_4.0.0_Modelica.Thermal.HeatTransfer.Examples.TwoMasses.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches