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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001786/0.001786, allocations: 88.36 kB / 20.68 MB, free: 1.02 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001818/0.001818, allocations: 158 kB / 23.95 MB, free: 4.152 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.474/1.474, allocations: 177 MB / 204.1 MB, free: 9.16 MB / 190.1 MB " [Timeout remaining time 178] 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=1000,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=1000,variableFilter="time|mass1.T|mass2.T",fileNamePrefix="Modelica_trunk_Modelica.Thermal.HeatTransfer.Examples.TwoMasses") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.483e-06/1.483e-06, allocations: 0 / 325 MB, free: 0.5078 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.268e-05/2.417e-05, allocations: 2.281 kB / 325 MB, free: 0.5039 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.TwoMasses): time 0.002613/0.002638, allocations: 1.612 MB / 326.6 MB, free: 15.39 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009561/0.003594, allocations: 0.5221 MB / 327.1 MB, free: 15.04 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.15e-05/0.003645, allocations: 1.031 kB / 327.1 MB, free: 15.04 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 5.247e-05/0.003698, allocations: 17.34 kB / 327.1 MB, free: 15.03 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 7.189e-05/0.00377, allocations: 22.95 kB / 327.2 MB, free: 15.01 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002141/0.003984, allocations: 37.08 kB / 327.2 MB, free: 14.99 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001498/0.004134, allocations: 108.3 kB / 327.3 MB, free: 14.93 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001347/0.004268, allocations: 22.67 kB / 327.3 MB, free: 14.92 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.921e-05/0.004367, allocations: 58.19 kB / 327.4 MB, free: 14.9 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.764e-05/0.004455, allocations: 28.62 kB / 327.4 MB, free: 14.89 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.303e-05/0.004478, allocations: 8.094 kB / 327.4 MB, free: 14.89 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.679e-05/0.004555, allocations: 15.69 kB / 327.4 MB, free: 14.89 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 2.735e-05/0.004582, allocations: 16.77 kB / 327.4 MB, free: 14.88 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 4.786e-05/0.00463, allocations: 35.75 kB / 327.5 MB, free: 14.86 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001781/0.004808, allocations: 103.8 kB / 327.6 MB, free: 14.82 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.116e-06/0.004811, allocations: 0.7812 kB / 327.6 MB, free: 14.82 MB / 302.1 MB Notification: Performance of FrontEnd: time 8.72e-07/0.004812, allocations: 0 / 327.6 MB, free: 14.82 MB / 302.1 MB Notification: Performance of Transformations before backend: time 9.648e-06/0.004822, allocations: 1.125 kB / 327.6 MB, free: 14.82 MB / 302.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.0004747/0.005297, allocations: 297.9 kB / 327.9 MB, free: 14.54 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.277e-05/0.005329, allocations: 16.36 kB / 327.9 MB, free: 14.54 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000117/0.005446, allocations: 9.547 kB / 327.9 MB, free: 14.53 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001267/0.005573, allocations: 118.6 kB / 328 MB, free: 14.39 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.247e-05/0.005586, allocations: 11.97 kB / 328 MB, free: 14.39 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.376e-05/0.005619, allocations: 11.59 kB / 328 MB, free: 14.38 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001681/0.005787, allocations: 80.77 kB / 328.1 MB, free: 14.34 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.234e-05/0.0058, allocations: 192 / 328.1 MB, free: 14.34 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.411e-05/0.005814, allocations: 9.219 kB / 328.1 MB, free: 14.33 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.424e-06/0.005821, allocations: 7.328 kB / 328.1 MB, free: 14.32 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001201/0.005941, allocations: 55.14 kB / 328.2 MB, free: 14.3 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006535/0.006595, allocations: 317.8 kB / 328.5 MB, free: 14.05 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001493/0.006744, allocations: 73.17 kB / 328.6 MB, free: 14 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.239e-05/0.006807, allocations: 43.06 kB / 328.6 MB, free: 13.97 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.616e-06/0.006815, allocations: 1.062 kB / 328.6 MB, free: 13.97 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.386e-05/0.006849, allocations: 32.39 kB / 328.6 MB, free: 13.93 MB / 302.1 MB Notification: Performance of pre-optimization done (n=8): time 1.182e-06/0.00685, allocations: 0 / 328.6 MB, free: 13.93 MB / 302.1 MB Notification: Performance of matching and sorting (n=8): time 0.0002174/0.007068, allocations: 89.08 kB / 328.7 MB, free: 13.88 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.764e-05/0.007105, allocations: 53.62 kB / 328.8 MB, free: 13.82 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.543e-05/0.007201, allocations: 112.5 kB / 328.9 MB, free: 13.71 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.965e-05/0.00722, allocations: 31.88 kB / 328.9 MB, free: 13.67 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.361e-05/0.007284, allocations: 93.44 kB / 329 MB, free: 13.58 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.734e-05/0.007311, allocations: 33.83 kB / 329.1 MB, free: 13.55 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.69e-05/0.007358, allocations: 27.98 kB / 329.1 MB, free: 13.53 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001459/0.007504, allocations: 326.6 kB / 329.4 MB, free: 13.21 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.53e-05/0.007549, allocations: 22.25 kB / 329.4 MB, free: 13.2 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.316e-05/0.007613, allocations: 42.09 kB / 329.5 MB, free: 13.17 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001013/0.007714, allocations: 66.91 kB / 329.5 MB, free: 13.12 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.007716, allocations: 1.062 kB / 329.5 MB, free: 13.12 MB / 302.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001771/0.007893, allocations: 110.3 kB / 329.6 MB, free: 13.05 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.178e-05/0.007904, allocations: 6.516 kB / 329.6 MB, free: 13.05 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.058e-06/0.007908, allocations: 4 kB / 329.6 MB, free: 13.05 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.378e-05/0.007922, allocations: 1.594 kB / 329.6 MB, free: 13.05 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001211/0.008043, allocations: 23.14 kB / 329.7 MB, free: 13.05 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.991e-06/0.008049, allocations: 1.656 kB / 329.7 MB, free: 13.05 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.511e-05/0.008094, allocations: 5.375 kB / 329.7 MB, free: 13.05 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.211e-05/0.008107, allocations: 11.98 kB / 329.7 MB, free: 13.04 MB / 302.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 9.546e-05/0.008202, allocations: 119 kB / 329.8 MB, free: 12.92 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.915e-05/0.008231, allocations: 6.234 kB / 329.8 MB, free: 12.91 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.256e-05/0.008264, allocations: 14.39 kB / 329.8 MB, free: 12.9 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.573e-06/0.008265, allocations: 5.125 kB / 329.8 MB, free: 12.9 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.597e-06/0.008269, allocations: 1.125 kB / 329.8 MB, free: 12.9 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.087e-06/0.008273, allocations: 0.5156 kB / 329.8 MB, free: 12.9 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001752/0.008448, allocations: 136 kB / 330 MB, free: 12.75 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.008449, allocations: 1.094 kB / 330 MB, free: 12.75 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001034/0.008553, allocations: 18.03 kB / 330 MB, free: 12.75 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.604e-06/0.008554, allocations: 1.031 kB / 330 MB, free: 12.75 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.688e-06/0.008564, allocations: 1.781 kB / 330 MB, free: 12.75 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.292e-06/0.008565, allocations: 0 / 330 MB, free: 12.75 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.008566, allocations: 0.9688 kB / 330 MB, free: 12.75 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002203/0.008786, allocations: 195.2 kB / 330.2 MB, free: 12.59 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.498e-05/0.008801, allocations: 15.56 kB / 330.2 MB, free: 12.58 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.886e-05/0.00882, allocations: 9.938 kB / 330.2 MB, free: 12.57 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.89e-05/0.008879, allocations: 0 / 330.2 MB, free: 12.57 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.68e-05/0.008896, allocations: 5.047 kB / 330.2 MB, free: 12.57 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.849e-06/0.008901, allocations: 5.859 kB / 330.2 MB, free: 12.57 MB / 302.1 MB Notification: Performance of sorting global known variables: time 5.259e-05/0.008953, allocations: 86.17 kB / 330.3 MB, free: 12.49 MB / 302.1 MB Notification: Performance of sort global known variables: time 7e-08/0.008953, allocations: 0 / 330.3 MB, free: 12.49 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002481/0.009201, allocations: 22.5 kB / 330.3 MB, free: 12.49 MB / 302.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.0001021/0.009304, allocations: 93.28 kB / 330.4 MB, free: 12.4 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001427/0.009446, allocations: 61 kB / 330.5 MB, free: 12.38 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.009448, allocations: 1.312 kB / 330.5 MB, free: 12.38 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 3.769e-05/0.009486, allocations: 23.8 kB / 330.5 MB, free: 12.37 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002933/0.009779, allocations: 11.19 kB / 330.5 MB, free: 12.36 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005507/0.01033, allocations: 256.2 kB / 330.8 MB, free: 12.16 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.528e-05/0.0104, allocations: 79.86 kB / 330.8 MB, free: 12.09 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 3.485e-05/0.01044, allocations: 13.12 kB / 330.8 MB, free: 12.08 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.253e-05/0.01047, allocations: 11.72 kB / 330.9 MB, free: 12.07 MB / 302.1 MB Notification: Performance of SimCode: time 3.01e-07/0.01047, allocations: 0 / 330.9 MB, free: 12.07 MB / 302.1 MB Notification: Performance of Templates: time 0.003219/0.01369, allocations: 0.5822 MB / 331.4 MB, free: 11.98 MB / 302.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Thermal.HeatTransfer.Examples.TwoMasses.makefile [Timeout 660] (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) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Thermal.HeatTransfer.Examples.TwoMasses_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Thermal/HeatTransfer/Examples/TwoMasses/TwoMasses.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Thermal.HeatTransfer.Examples.TwoMasses.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.21167541667819]