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/ModelicaServices trunk/package.mo", uses=false) 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) 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices trunk/package.mo): time 0.001178/0.001178, allocations: 114.3 kB / 18.45 MB, free: 4.598 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001149/0.001149, allocations: 210 kB / 19.41 MB, free: 3.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.343/1.343, allocations: 227.4 MB / 247.6 MB, free: 10.43 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001148/0.001148, allocations: 55.91 kB / 359.4 MB, free: 12.94 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2718/0.2729, allocations: 50.54 MB / 409.9 MB, free: 1.742 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.TwoMasses): time 0.002558/0.2755, allocations: 1.643 MB / 411.5 MB, free: 100 kB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008732/0.2764, allocations: 0.5456 MB / 412.1 MB, free: 15.55 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.879e-05/0.2765, allocations: 0 / 412.1 MB, free: 15.55 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 6.16e-05/0.2766, allocations: 15.86 kB / 412.1 MB, free: 15.53 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 6.695e-05/0.2767, allocations: 19.78 kB / 412.1 MB, free: 15.51 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002215/0.2769, allocations: 39.83 kB / 412.2 MB, free: 15.47 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001326/0.277, allocations: 95.53 kB / 412.3 MB, free: 15.38 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001543/0.2772, allocations: 39.97 kB / 412.3 MB, free: 15.34 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.301e-05/0.2773, allocations: 39.86 kB / 412.3 MB, free: 15.3 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.719e-05/0.2773, allocations: 35.84 kB / 412.4 MB, free: 15.27 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.048e-05/0.2774, allocations: 8 kB / 412.4 MB, free: 15.26 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.775e-05/0.2775, allocations: 20 kB / 412.4 MB, free: 15.24 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 1.909e-05/0.2775, allocations: 15.98 kB / 412.4 MB, free: 15.22 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.918e-05/0.2775, allocations: 43.8 kB / 412.5 MB, free: 15.18 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001642/0.2777, allocations: 92.95 kB / 412.5 MB, free: 15.09 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.559e-06/0.2777, allocations: 0 / 412.5 MB, free: 15.09 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.312e-06/0.2777, allocations: 4 kB / 412.5 MB, free: 15.09 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.822e-06/0.2777, allocations: 3.984 kB / 412.6 MB, free: 15.08 MB / 334.1 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.0005113/0.2783, allocations: 379.3 kB / 412.9 MB, free: 14.66 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.663e-05/0.2783, allocations: 8.031 kB / 412.9 MB, free: 14.66 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001253/0.2784, allocations: 12.84 kB / 412.9 MB, free: 14.64 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001312/0.2786, allocations: 172.3 kB / 413.1 MB, free: 14.44 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.184e-05/0.2786, allocations: 12.31 kB / 413.1 MB, free: 14.43 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.283e-05/0.2786, allocations: 12.38 kB / 413.1 MB, free: 14.41 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001645/0.2788, allocations: 88.22 kB / 413.2 MB, free: 14.32 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.368e-05/0.2788, allocations: 7.906 kB / 413.2 MB, free: 14.32 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.244e-05/0.2788, allocations: 3.984 kB / 413.2 MB, free: 14.31 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.428e-06/0.2788, allocations: 0 / 413.2 MB, free: 14.31 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001039/0.279, allocations: 51.97 kB / 413.3 MB, free: 14.26 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006472/0.2796, allocations: 400.4 kB / 413.7 MB, free: 13.82 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000126/0.2797, allocations: 78.5 kB / 413.8 MB, free: 13.73 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.989e-05/0.2798, allocations: 32.84 kB / 413.8 MB, free: 13.7 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.229e-05/0.2798, allocations: 4 kB / 413.8 MB, free: 13.69 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.074e-05/0.2799, allocations: 30.56 kB / 413.8 MB, free: 13.65 MB / 334.1 MB Notification: Performance of pre-optimization done (n=8): time 1.192e-06/0.2799, allocations: 0 / 413.8 MB, free: 13.65 MB / 334.1 MB Notification: Performance of matching and sorting (n=8): time 0.0001993/0.2801, allocations: 89.8 kB / 413.9 MB, free: 13.56 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.355e-05/0.2801, allocations: 59.41 kB / 414 MB, free: 13.49 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.719e-05/0.2802, allocations: 109.8 kB / 414.1 MB, free: 13.37 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.349e-05/0.2802, allocations: 29.64 kB / 414.1 MB, free: 13.34 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.338e-05/0.2803, allocations: 99.94 kB / 414.2 MB, free: 13.23 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.186e-05/0.2803, allocations: 31.7 kB / 414.2 MB, free: 13.2 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.19e-05/0.2804, allocations: 25.72 kB / 414.3 MB, free: 13.17 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000111/0.2805, allocations: 314.8 kB / 414.6 MB, free: 12.86 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.115e-05/0.2805, allocations: 20 kB / 414.6 MB, free: 12.84 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.55e-05/0.2806, allocations: 50.56 kB / 414.6 MB, free: 12.78 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.133e-05/0.2807, allocations: 74.48 kB / 414.7 MB, free: 12.7 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.2807, allocations: 0 / 414.7 MB, free: 12.7 MB / 334.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001406/0.2808, allocations: 101.5 kB / 414.8 MB, free: 12.59 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.339e-05/0.2809, allocations: 8 kB / 414.8 MB, free: 12.58 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.248e-06/0.2809, allocations: 256 / 414.8 MB, free: 12.58 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.422e-05/0.2809, allocations: 8 kB / 414.8 MB, free: 12.57 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001269/0.281, allocations: 27.98 kB / 414.8 MB, free: 12.55 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.077e-06/0.281, allocations: 8.062 kB / 414.9 MB, free: 12.54 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.963e-05/0.2811, allocations: 11.84 kB / 414.9 MB, free: 12.53 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.855e-06/0.2811, allocations: 4 kB / 414.9 MB, free: 12.52 MB / 334.1 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.631e-05/0.2812, allocations: 121.7 kB / 415 MB, free: 12.39 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.741e-05/0.2812, allocations: 4 kB / 415 MB, free: 12.39 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.993e-05/0.2813, allocations: 12.38 kB / 415 MB, free: 12.38 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.725e-06/0.2813, allocations: 7.938 kB / 415 MB, free: 12.37 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.14e-06/0.2813, allocations: 3.984 kB / 415 MB, free: 12.37 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.925e-06/0.2813, allocations: 0 / 415 MB, free: 12.37 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001818/0.2815, allocations: 185.6 kB / 415.2 MB, free: 12.14 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.282e-06/0.2815, allocations: 0 / 415.2 MB, free: 12.14 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001029/0.2816, allocations: 19.98 kB / 415.2 MB, free: 12.12 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.814e-06/0.2816, allocations: 0 / 415.2 MB, free: 12.12 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.355e-06/0.2816, allocations: 0 / 415.2 MB, free: 12.12 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.547e-06/0.2816, allocations: 3.938 kB / 415.2 MB, free: 12.11 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.2816, allocations: 0 / 415.2 MB, free: 12.11 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001991/0.2818, allocations: 199.5 kB / 415.4 MB, free: 11.9 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.668e-05/0.2819, allocations: 92.92 kB / 415.5 MB, free: 11.79 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.461e-05/0.2819, allocations: 0 / 415.5 MB, free: 11.79 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.09e-05/0.282, allocations: 3.938 kB / 415.5 MB, free: 11.79 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.508e-05/0.282, allocations: 11.98 kB / 415.5 MB, free: 11.78 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.236e-06/0.282, allocations: 0 / 415.5 MB, free: 11.78 MB / 334.1 MB Notification: Performance of sorting global known variables: time 4.099e-05/0.2821, allocations: 83.28 kB / 415.6 MB, free: 11.7 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2821, allocations: 3.938 kB / 415.6 MB, free: 11.69 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002346/0.2823, allocations: 20.06 kB / 415.6 MB, free: 11.67 MB / 334.1 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001039/0.2824, allocations: 103.2 kB / 415.7 MB, free: 11.56 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001283/0.2826, allocations: 55.92 kB / 415.8 MB, free: 11.51 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.375e-06/0.2826, allocations: 0 / 415.8 MB, free: 11.51 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 3.338e-05/0.2826, allocations: 23.94 kB / 415.8 MB, free: 11.48 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002975/0.2829, allocations: 14.95 kB / 415.8 MB, free: 11.47 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005947/0.2835, allocations: 344.5 kB / 416.2 MB, free: 11.1 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002443/0.2838, allocations: 0.6961 MB / 416.9 MB, free: 10.38 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.24e-05/0.2838, allocations: 11.44 kB / 416.9 MB, free: 10.37 MB / 334.1 MB Notification: Performance of SimCode: time 3.71e-07/0.2838, allocations: 0 / 416.9 MB, free: 10.37 MB / 334.1 MB Notification: Performance of Templates: time 0.002232/0.2861, allocations: 0.9654 MB / 417.8 MB, free: 9.398 MB / 334.1 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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Thermal.HeatTransfer.Examples.TwoMasses.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches