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.001347/0.001347, allocations: 84.73 kB / 21.5 MB, free: 2.984 MB / 18.57 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.001133/0.001133, allocations: 161.3 kB / 24.91 MB, free: 8.762 MB / 18.57 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 0.948/0.948, allocations: 177 MB / 205.2 MB, free: 5.461 MB / 186.7 MB " [Timeout remaining time 179] 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.303e-06/1.303e-06, allocations: 0 / 273.4 MB, free: 1.266 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.836e-05/1.967e-05, allocations: 2.312 kB / 273.4 MB, free: 1.262 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.TwoMasses): time 0.00196/0.00198, allocations: 1.68 MB / 275 MB, free: 15.57 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006974/0.002677, allocations: 0.5454 MB / 275.6 MB, free: 15.02 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.641e-05/0.002724, allocations: 0 / 275.6 MB, free: 15.02 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 4.118e-05/0.002765, allocations: 11.88 kB / 275.6 MB, free: 15.01 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 7.096e-05/0.002836, allocations: 31.7 kB / 275.6 MB, free: 14.98 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001782/0.003014, allocations: 35.83 kB / 275.7 MB, free: 14.94 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001009/0.003115, allocations: 103.5 kB / 275.8 MB, free: 14.84 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.137e-05/0.003206, allocations: 31.97 kB / 275.8 MB, free: 14.81 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.639e-05/0.003263, allocations: 47.91 kB / 275.8 MB, free: 14.76 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.39e-05/0.003337, allocations: 31.95 kB / 275.9 MB, free: 14.73 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.506e-05/0.003352, allocations: 8 kB / 275.9 MB, free: 14.72 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.48e-05/0.003447, allocations: 16 kB / 275.9 MB, free: 14.71 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 2.181e-05/0.003468, allocations: 19.91 kB / 275.9 MB, free: 14.69 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 3.509e-05/0.003504, allocations: 35.92 kB / 275.9 MB, free: 14.65 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001117/0.003615, allocations: 67.69 kB / 276 MB, free: 14.59 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.786e-06/0.003618, allocations: 4 kB / 276 MB, free: 14.58 MB / 266.7 MB Notification: Performance of FrontEnd: time 9.52e-07/0.003619, allocations: 0 / 276 MB, free: 14.58 MB / 266.7 MB Notification: Performance of Transformations before backend: time 2.745e-06/0.003622, allocations: 0 / 276 MB, free: 14.58 MB / 266.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.0002725/0.003894, allocations: 280.8 kB / 276.3 MB, free: 14.29 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.866e-05/0.003923, allocations: 11.98 kB / 276.3 MB, free: 14.27 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.538e-05/0.004018, allocations: 32.73 kB / 276.3 MB, free: 14.24 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.159e-05/0.00409, allocations: 109.8 kB / 276.4 MB, free: 14.11 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.338e-06/0.004099, allocations: 4.375 kB / 276.4 MB, free: 14.11 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.039e-05/0.00412, allocations: 12.31 kB / 276.5 MB, free: 14.09 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.782e-05/0.004197, allocations: 66.22 kB / 276.5 MB, free: 14.02 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.825e-06/0.004205, allocations: 192 / 276.5 MB, free: 14.02 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.592e-06/0.004212, allocations: 384 / 276.5 MB, free: 14.02 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.32e-06/0.004217, allocations: 7.938 kB / 276.5 MB, free: 14.02 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.83e-05/0.004265, allocations: 43.02 kB / 276.6 MB, free: 13.98 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003382/0.004604, allocations: 251.9 kB / 276.8 MB, free: 13.71 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.881e-05/0.004672, allocations: 50.55 kB / 276.9 MB, free: 13.66 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.086e-05/0.004693, allocations: 16.8 kB / 276.9 MB, free: 13.64 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.792e-06/0.0047, allocations: 4 kB / 276.9 MB, free: 13.63 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.59e-05/0.004716, allocations: 30.56 kB / 276.9 MB, free: 13.59 MB / 266.7 MB Notification: Performance of pre-optimization done (n=8): time 1.012e-06/0.004717, allocations: 0 / 276.9 MB, free: 13.59 MB / 266.7 MB Notification: Performance of matching and sorting (n=8): time 9.804e-05/0.004815, allocations: 69.67 kB / 277 MB, free: 13.52 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.471e-05/0.00484, allocations: 51.41 kB / 277 MB, free: 13.46 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.996e-05/0.00489, allocations: 110.8 kB / 277.1 MB, free: 13.34 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 8.746e-06/0.004898, allocations: 25.7 kB / 277.2 MB, free: 13.3 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.869e-05/0.004937, allocations: 112.1 kB / 277.3 MB, free: 13.19 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.455e-05/0.004952, allocations: 27.75 kB / 277.3 MB, free: 13.16 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.884e-05/0.004981, allocations: 29.69 kB / 277.3 MB, free: 13.13 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 6.642e-05/0.005047, allocations: 318.8 kB / 277.6 MB, free: 12.81 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.495e-05/0.005062, allocations: 15.92 kB / 277.7 MB, free: 12.79 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.475e-05/0.005087, allocations: 30.52 kB / 277.7 MB, free: 12.75 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.46e-05/0.005131, allocations: 54.78 kB / 277.7 MB, free: 12.69 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.383e-06/0.005133, allocations: 0 / 277.7 MB, free: 12.69 MB / 266.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 6.954e-05/0.005202, allocations: 77.61 kB / 277.8 MB, free: 12.61 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.091e-05/0.005213, allocations: 11.94 kB / 277.8 MB, free: 12.6 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.456e-06/0.005217, allocations: 0 / 277.8 MB, free: 12.6 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.103e-05/0.005228, allocations: 0 / 277.8 MB, free: 12.6 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.635e-05/0.005324, allocations: 23.98 kB / 277.9 MB, free: 12.57 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.447e-06/0.005327, allocations: 4 kB / 277.9 MB, free: 12.57 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.463e-05/0.005352, allocations: 7.938 kB / 277.9 MB, free: 12.56 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.791e-06/0.005358, allocations: 12.06 kB / 277.9 MB, free: 12.55 MB / 266.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 4.888e-05/0.005407, allocations: 113.7 kB / 278 MB, free: 12.43 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.605e-05/0.005423, allocations: 8 kB / 278 MB, free: 12.42 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.651e-05/0.005449, allocations: 16.42 kB / 278 MB, free: 12.4 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.373e-06/0.005451, allocations: 0 / 278 MB, free: 12.4 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.122e-06/0.005452, allocations: 0 / 278 MB, free: 12.4 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.396e-06/0.005455, allocations: 0 / 278 MB, free: 12.4 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.842e-05/0.005544, allocations: 89.69 kB / 278.1 MB, free: 12.3 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.71e-07/0.005544, allocations: 4 kB / 278.1 MB, free: 12.29 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.143e-05/0.005596, allocations: 16 kB / 278.1 MB, free: 12.28 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.72e-07/0.005596, allocations: 4 kB / 278.1 MB, free: 12.27 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.617e-06/0.005605, allocations: 4 kB / 278.1 MB, free: 12.27 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.304e-06/0.005607, allocations: 3.984 kB / 278.1 MB, free: 12.27 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.005608, allocations: 0 / 278.1 MB, free: 12.27 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001135/0.005722, allocations: 171.6 kB / 278.3 MB, free: 12.08 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.356e-06/0.00573, allocations: 7.953 kB / 278.3 MB, free: 12.07 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.616e-06/0.005739, allocations: 4 kB / 278.3 MB, free: 12.07 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.804e-05/0.005767, allocations: 0 / 278.3 MB, free: 12.07 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.226e-05/0.005779, allocations: 7.984 kB / 278.3 MB, free: 12.06 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.903e-06/0.005781, allocations: 0 / 278.3 MB, free: 12.06 MB / 266.7 MB Notification: Performance of sorting global known variables: time 1.023e-05/0.005791, allocations: 8.859 kB / 278.3 MB, free: 12.05 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.005791, allocations: 4.031 kB / 278.3 MB, free: 12.05 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001262/0.005917, allocations: 24 kB / 278.4 MB, free: 12.02 MB / 266.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 6.504e-05/0.005982, allocations: 76.41 kB / 278.4 MB, free: 11.94 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 6.774e-05/0.00605, allocations: 52.83 kB / 278.5 MB, free: 11.89 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.404e-06/0.006053, allocations: 0 / 278.5 MB, free: 11.89 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 1.577e-05/0.006068, allocations: 20.8 kB / 278.5 MB, free: 11.86 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001249/0.006193, allocations: 11.94 kB / 278.5 MB, free: 11.85 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004344/0.006628, allocations: 260.7 kB / 278.8 MB, free: 11.57 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.273e-05/0.00666, allocations: 67.28 kB / 278.8 MB, free: 11.48 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 2.061e-05/0.006681, allocations: 4 kB / 278.8 MB, free: 11.48 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.034e-05/0.006721, allocations: 59.36 kB / 278.9 MB, free: 11.42 MB / 266.7 MB Notification: Performance of SimCode: time 3.81e-07/0.006722, allocations: 0 / 278.9 MB, free: 11.42 MB / 266.7 MB Notification: Performance of Templates: time 0.00197/0.008692, allocations: 0.6733 MB / 279.6 MB, free: 10.76 MB / 266.7 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=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Thermal.HeatTransfer.Examples.TwoMasses.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.524790473282337]