Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Thermal.HeatTransfer.Examples.TwoMasses.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001235/0.001235, allocations: 80.41 kB / 22.21 MB, free: 2.289 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001122/0.001122, allocations: 167.6 kB / 25.61 MB, free: 8.902 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9391/0.9391, allocations: 177.1 MB / 206 MB, free: 4.492 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/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_4.1.0_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_4.1.0_Modelica.Thermal.HeatTransfer.Examples.TwoMasses") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.322e-06/1.322e-06, allocations: 0 / 274.2 MB, free: 4.461 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.067e-06/1.039e-05, allocations: 3.25 kB / 274.2 MB, free: 4.457 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.TwoMasses): time 0.00178/0.00179, allocations: 1.671 MB / 275.8 MB, free: 2.793 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006165/0.002407, allocations: 0.5371 MB / 276.4 MB, free: 2.254 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.548e-05/0.002452, allocations: 0 / 276.4 MB, free: 2.254 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 3.591e-05/0.002488, allocations: 8.641 kB / 276.4 MB, free: 2.246 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 5.933e-05/0.002547, allocations: 33.45 kB / 276.4 MB, free: 2.215 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001638/0.002711, allocations: 39.83 kB / 276.4 MB, free: 2.176 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001046/0.002816, allocations: 103.4 kB / 276.5 MB, free: 2.074 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.847e-05/0.002914, allocations: 27.88 kB / 276.6 MB, free: 2.047 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.838e-05/0.002973, allocations: 59.94 kB / 276.6 MB, free: 1.988 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.173e-05/0.003044, allocations: 31.91 kB / 276.7 MB, free: 1.957 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 1.62e-05/0.00306, allocations: 8 kB / 276.7 MB, free: 1.949 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.64e-05/0.003117, allocations: 12 kB / 276.7 MB, free: 1.938 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 1.869e-05/0.003136, allocations: 19.92 kB / 276.7 MB, free: 1.918 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 2.775e-05/0.003163, allocations: 31.92 kB / 276.7 MB, free: 1.887 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001096/0.003273, allocations: 67.8 kB / 276.8 MB, free: 1.82 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.883e-06/0.003275, allocations: 0 / 276.8 MB, free: 1.82 MB / 250.7 MB Notification: Performance of FrontEnd: time 5.81e-07/0.003275, allocations: 0 / 276.8 MB, free: 1.82 MB / 250.7 MB Notification: Performance of Transformations before backend: time 2.915e-06/0.003278, allocations: 0 / 276.8 MB, free: 1.82 MB / 250.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.0003434/0.003622, allocations: 408.4 kB / 277.2 MB, free: 1.387 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.205e-05/0.003654, allocations: 15.97 kB / 277.2 MB, free: 1.371 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001082/0.003762, allocations: 24.77 kB / 277.2 MB, free: 1.348 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.156e-05/0.003854, allocations: 120.5 kB / 277.4 MB, free: 1.203 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.254e-05/0.003866, allocations: 4.375 kB / 277.4 MB, free: 1.199 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.099e-05/0.003887, allocations: 16.36 kB / 277.4 MB, free: 1.184 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.95e-05/0.003977, allocations: 62.23 kB / 277.4 MB, free: 1.117 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.083e-05/0.003987, allocations: 192 / 277.4 MB, free: 1.117 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.087e-06/0.003996, allocations: 4.375 kB / 277.4 MB, free: 1.113 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.081e-06/0.004003, allocations: 3.938 kB / 277.4 MB, free: 1.109 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.203e-05/0.004055, allocations: 35 kB / 277.5 MB, free: 1.078 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003944/0.004449, allocations: 359.9 kB / 277.8 MB, free: 0.6992 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.657e-05/0.004526, allocations: 59.02 kB / 277.9 MB, free: 0.6289 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.445e-05/0.00455, allocations: 23.69 kB / 277.9 MB, free: 0.6016 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.963e-06/0.004557, allocations: 3.984 kB / 277.9 MB, free: 0.5977 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.845e-05/0.004575, allocations: 37.39 kB / 278 MB, free: 0.5508 MB / 250.7 MB Notification: Performance of pre-optimization done (n=8): time 1.012e-06/0.004576, allocations: 0 / 278 MB, free: 0.5508 MB / 250.7 MB Notification: Performance of matching and sorting (n=8): time 0.0001215/0.004698, allocations: 81.88 kB / 278 MB, free: 476 kB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.678e-05/0.004725, allocations: 59.41 kB / 278.1 MB, free: 404 kB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.153e-05/0.004786, allocations: 161.9 kB / 278.2 MB, free: 224 kB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 8.356e-06/0.004795, allocations: 25.7 kB / 278.3 MB, free: 192 kB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.384e-05/0.004848, allocations: 150.7 kB / 278.4 MB, free: 36 kB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.522e-05/0.004864, allocations: 27.73 kB / 278.4 MB, free: 8 kB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.179e-05/0.004905, allocations: 35.36 kB / 278.5 MB, free: 15.96 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001037/0.005009, allocations: 0.4922 MB / 279 MB, free: 15.46 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.443e-05/0.005023, allocations: 7.984 kB / 279 MB, free: 15.45 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.985e-05/0.005053, allocations: 43.03 kB / 279 MB, free: 15.4 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.074e-05/0.005104, allocations: 58.94 kB / 279.1 MB, free: 15.33 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.005106, allocations: 0 / 279.1 MB, free: 15.33 MB / 266.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 8.451e-05/0.00519, allocations: 93.5 kB / 279.2 MB, free: 15.23 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.127e-06/0.005199, allocations: 4 kB / 279.2 MB, free: 15.23 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.366e-06/0.005203, allocations: 0 / 279.2 MB, free: 15.23 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.767e-06/0.005212, allocations: 4 kB / 279.2 MB, free: 15.22 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.162e-05/0.005283, allocations: 31.92 kB / 279.2 MB, free: 15.19 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.825e-06/0.005286, allocations: 0 / 279.2 MB, free: 15.19 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.311e-05/0.005309, allocations: 7.953 kB / 279.2 MB, free: 15.18 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.747e-06/0.005313, allocations: 0 / 279.2 MB, free: 15.18 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 5.842e-05/0.005371, allocations: 168.6 kB / 279.4 MB, free: 15.01 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.691e-05/0.005388, allocations: 4.25 kB / 279.4 MB, free: 15 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.15e-05/0.00541, allocations: 8.438 kB / 279.4 MB, free: 14.99 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.463e-06/0.005411, allocations: 0 / 279.4 MB, free: 14.99 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.496e-06/0.005415, allocations: 8 kB / 279.4 MB, free: 14.98 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.966e-06/0.005418, allocations: 0 / 279.4 MB, free: 14.98 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001016/0.005519, allocations: 125 kB / 279.5 MB, free: 14.84 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.91e-07/0.00552, allocations: 0 / 279.5 MB, free: 14.84 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.712e-05/0.005577, allocations: 27.92 kB / 279.6 MB, free: 14.81 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.442e-06/0.005579, allocations: 4 kB / 279.6 MB, free: 14.8 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.815e-06/0.005587, allocations: 4 kB / 279.6 MB, free: 14.8 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.293e-06/0.005588, allocations: 3.938 kB / 279.6 MB, free: 14.8 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.21e-07/0.005588, allocations: 0 / 279.6 MB, free: 14.8 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001308/0.005719, allocations: 227.8 kB / 279.8 MB, free: 14.55 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.33e-06/0.005724, allocations: 0 / 279.8 MB, free: 14.55 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.426e-05/0.005739, allocations: 4 kB / 279.8 MB, free: 14.55 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.881e-05/0.005767, allocations: 0 / 279.8 MB, free: 14.55 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.564e-05/0.005783, allocations: 11.97 kB / 279.8 MB, free: 14.54 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.946e-06/0.005786, allocations: 4 kB / 279.8 MB, free: 14.54 MB / 266.7 MB Notification: Performance of sorting global known variables: time 3.341e-05/0.005819, allocations: 123.2 kB / 279.9 MB, free: 14.41 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.00582, allocations: 0 / 279.9 MB, free: 14.41 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001532/0.005973, allocations: 23.98 kB / 280 MB, free: 14.39 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 7.004e-05/0.006043, allocations: 111.2 kB / 280.1 MB, free: 14.27 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 8.114e-05/0.006124, allocations: 43.61 kB / 280.1 MB, free: 14.23 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 9.72e-07/0.006125, allocations: 0 / 280.1 MB, free: 14.23 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 2.007e-05/0.006145, allocations: 27.66 kB / 280.1 MB, free: 14.2 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001713/0.006316, allocations: 11.94 kB / 280.1 MB, free: 14.18 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004701/0.006786, allocations: 266.5 kB / 280.4 MB, free: 13.89 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.531e-05/0.006822, allocations: 59.34 kB / 280.5 MB, free: 13.82 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 2.374e-05/0.006845, allocations: 7.984 kB / 280.5 MB, free: 13.81 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.233e-05/0.006898, allocations: 74.2 kB / 280.5 MB, free: 13.73 MB / 266.7 MB Notification: Performance of SimCode: time 5.71e-07/0.006898, allocations: 0 / 280.5 MB, free: 13.73 MB / 266.7 MB Notification: Performance of Templates: time 0.002378/0.009276, allocations: 0.687 MB / 281.2 MB, free: 13.06 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Thermal.HeatTransfer.Examples.TwoMasses.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Thermal.HeatTransfer.Examples.TwoMasses.pipe ; mkfifo Modelica_4.1.0_Modelica.Thermal.HeatTransfer.Examples.TwoMasses.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Thermal.HeatTransfer.Examples.TwoMasses.pipe >> ../files/Modelica_4.1.0_Modelica.Thermal.HeatTransfer.Examples.TwoMasses.sim & ./Modelica_4.1.0_Modelica.Thermal.HeatTransfer.Examples.TwoMasses -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Thermal.HeatTransfer.Examples.TwoMasses.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_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.632930593099445]