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.001375/0.001375, allocations: 201 kB / 18.11 MB, free: 3.734 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.315/1.315, allocations: 226.5 MB / 245.4 MB, free: 6.492 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007886/0.0007887, allocations: 96.14 kB / 297.5 MB, free: 6.676 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002051/0.0002051, allocations: 4 kB / 358.1 MB, free: 10.07 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1927/0.1929, allocations: 51.29 MB / 409.4 MB, free: 27.61 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.08527/0.2782, allocations: 77.24 MB / 486.6 MB, free: 14.27 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001942/0.2784, allocations: 78.73 kB / 486.7 MB, free: 14.2 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.004568/0.283, allocations: 1.828 MB / 488.5 MB, free: 12.38 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.013e-06/0.283, allocations: 3.938 kB / 488.5 MB, free: 12.38 MB / 362.7 MB Notification: Performance of Transformations before backend: time 6.913e-06/0.2831, allocations: 4 kB / 488.5 MB, free: 12.38 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.0003191/0.2834, allocations: 371.4 kB / 488.9 MB, free: 11.96 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.591e-05/0.2834, allocations: 8.031 kB / 488.9 MB, free: 11.95 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.51e-05/0.2835, allocations: 12.84 kB / 488.9 MB, free: 11.94 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.805e-05/0.2836, allocations: 172.3 kB / 489.1 MB, free: 11.73 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.232e-05/0.2837, allocations: 4.375 kB / 489.1 MB, free: 11.73 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.621e-05/0.2837, allocations: 12.38 kB / 489.1 MB, free: 11.72 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001422/0.2838, allocations: 80.41 kB / 489.2 MB, free: 11.64 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.412e-05/0.2839, allocations: 8.172 kB / 489.2 MB, free: 11.63 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.386e-05/0.2839, allocations: 11.94 kB / 489.2 MB, free: 11.62 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.968e-06/0.2839, allocations: 0 / 489.2 MB, free: 11.62 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.802e-05/0.284, allocations: 51.97 kB / 489.2 MB, free: 11.57 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005552/0.2845, allocations: 412.2 kB / 489.6 MB, free: 11.11 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001185/0.2847, allocations: 70.56 kB / 489.7 MB, free: 11.04 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.15e-05/0.2847, allocations: 36.84 kB / 489.7 MB, free: 11 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.157e-05/0.2848, allocations: 160 / 489.7 MB, free: 11 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.83e-05/0.2848, allocations: 34.5 kB / 489.8 MB, free: 10.95 MB / 362.7 MB Notification: Performance of pre-optimization done (n=8): time 9.72e-07/0.2848, allocations: 0 / 489.8 MB, free: 10.95 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0001691/0.285, allocations: 85.67 kB / 489.9 MB, free: 10.86 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.022e-05/0.285, allocations: 55.34 kB / 489.9 MB, free: 10.8 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.027e-05/0.2851, allocations: 109.8 kB / 490 MB, free: 10.68 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.494e-05/0.2851, allocations: 29.7 kB / 490 MB, free: 10.64 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.416e-05/0.2851, allocations: 103.9 kB / 490.1 MB, free: 10.54 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.304e-05/0.2852, allocations: 31.55 kB / 490.2 MB, free: 10.51 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.346e-06/0.2852, allocations: 0 / 490.2 MB, free: 10.51 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 7.952e-05/0.2853, allocations: 314.8 kB / 490.5 MB, free: 10.19 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.789e-05/0.2853, allocations: 19.98 kB / 490.5 MB, free: 10.17 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.351e-05/0.2854, allocations: 54.5 kB / 490.6 MB, free: 10.11 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.311e-05/0.2855, allocations: 61.2 kB / 490.6 MB, free: 10.04 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.453e-06/0.2855, allocations: 0 / 490.6 MB, free: 10.04 MB / 362.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000136/0.2856, allocations: 105.5 kB / 490.7 MB, free: 9.934 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.166e-05/0.2856, allocations: 4 kB / 490.7 MB, free: 9.93 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.012e-06/0.2856, allocations: 7.984 kB / 490.7 MB, free: 9.922 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.488e-06/0.2856, allocations: 0 / 490.7 MB, free: 9.922 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001122/0.2858, allocations: 32 kB / 490.8 MB, free: 9.891 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.333e-06/0.2858, allocations: 3.938 kB / 490.8 MB, free: 9.887 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.884e-05/0.2858, allocations: 7.984 kB / 490.8 MB, free: 9.879 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.853e-06/0.2858, allocations: 4 kB / 490.8 MB, free: 9.875 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 6.618e-05/0.2859, allocations: 117.8 kB / 490.9 MB, free: 9.75 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.47e-05/0.2859, allocations: 8.156 kB / 490.9 MB, free: 9.742 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.649e-05/0.286, allocations: 8.375 kB / 490.9 MB, free: 9.73 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.423e-06/0.286, allocations: 3.938 kB / 490.9 MB, free: 9.727 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.763e-06/0.286, allocations: 11.94 kB / 490.9 MB, free: 9.715 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.457e-06/0.286, allocations: 4 kB / 490.9 MB, free: 9.711 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001674/0.2862, allocations: 189.6 kB / 491.1 MB, free: 9.477 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.2862, allocations: 3.938 kB / 491.1 MB, free: 9.473 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.44e-05/0.2863, allocations: 19.98 kB / 491.1 MB, free: 9.453 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.633e-06/0.2863, allocations: 0 / 491.1 MB, free: 9.453 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.726e-06/0.2863, allocations: 4 kB / 491.1 MB, free: 9.449 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.2863, allocations: 0 / 491.1 MB, free: 9.449 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.236e-06/0.2863, allocations: 3.938 kB / 491.1 MB, free: 9.445 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001706/0.2865, allocations: 191.4 kB / 491.3 MB, free: 9.242 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.194e-05/0.2865, allocations: 85.05 kB / 491.4 MB, free: 9.141 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.182e-05/0.2866, allocations: 0 / 491.4 MB, free: 9.141 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.045e-05/0.2866, allocations: 8 kB / 491.4 MB, free: 9.133 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.923e-05/0.2867, allocations: 11.86 kB / 491.4 MB, free: 9.121 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.22e-06/0.2867, allocations: 7.984 kB / 491.4 MB, free: 9.113 MB / 362.7 MB Notification: Performance of sorting global known variables: time 3.379e-05/0.2867, allocations: 83.28 kB / 491.5 MB, free: 9.031 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.854e-06/0.2867, allocations: 0 / 491.5 MB, free: 9.031 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002143/0.2869, allocations: 28 kB / 491.6 MB, free: 9.004 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 8.943e-05/0.287, allocations: 95.25 kB / 491.6 MB, free: 8.902 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001109/0.2871, allocations: 63.89 kB / 491.7 MB, free: 8.84 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.413e-06/0.2871, allocations: 0 / 491.7 MB, free: 8.84 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.037e-05/0.2872, allocations: 20 kB / 491.7 MB, free: 8.82 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002486/0.2874, allocations: 4 kB / 491.7 MB, free: 8.816 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005296/0.288, allocations: 396.5 kB / 492.1 MB, free: 8.402 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002218/0.2882, allocations: 0.7004 MB / 492.8 MB, free: 7.676 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.36e-05/0.2882, allocations: 3.984 kB / 492.8 MB, free: 7.672 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.852e-05/0.2883, allocations: 11.44 kB / 492.8 MB, free: 7.66 MB / 362.7 MB Notification: Performance of SimCode: time 2.31e-07/0.2883, allocations: 0 / 492.8 MB, free: 7.66 MB / 362.7 MB Notification: Performance of Templates: time 0.002148/0.2904, allocations: 0.5776 MB / 493.4 MB, free: 7.09 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/jenkins1/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