Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Thermal.HeatTransfer.Examples.TwoMasses.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009444/0.0009444, allocations: 85.05 kB / 21.5 MB, free: 2.988 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009242/0.0009242, allocations: 147.5 kB / 24.9 MB, free: 8.691 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.9639/0.9639, allocations: 173.3 MB / 201.5 MB, free: 9.215 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0_Modelica.Thermal.HeatTransfer.Examples.TwoMasses") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.763e-06/1.763e-06, allocations: 0 / 268.5 MB, free: 6.191 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.542e-05/2.718e-05, allocations: 6.25 kB / 268.5 MB, free: 6.184 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.TwoMasses): time 0.005711/0.005738, allocations: 1.705 MB / 270.2 MB, free: 4.465 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007835/0.006522, allocations: 0.5258 MB / 270.7 MB, free: 3.934 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.096e-05/0.006573, allocations: 0 / 270.7 MB, free: 3.934 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 4.612e-05/0.006619, allocations: 7.875 kB / 270.7 MB, free: 3.926 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 7.541e-05/0.006694, allocations: 27.72 kB / 270.8 MB, free: 3.898 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001789/0.006873, allocations: 27.95 kB / 270.8 MB, free: 3.871 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001234/0.006997, allocations: 111.4 kB / 270.9 MB, free: 3.762 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003128/0.01012, allocations: 23.98 kB / 270.9 MB, free: 3.738 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.963e-05/0.0102, allocations: 55.89 kB / 271 MB, free: 3.684 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.155e-05/0.0103, allocations: 31.91 kB / 271 MB, free: 3.652 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.073e-05/0.01032, allocations: 11.98 kB / 271 MB, free: 3.641 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.326e-05/0.01041, allocations: 11.94 kB / 271 MB, free: 3.629 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 2.339e-05/0.01043, allocations: 15.98 kB / 271 MB, free: 3.613 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 3.719e-05/0.01047, allocations: 35.91 kB / 271.1 MB, free: 3.578 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000151/0.01062, allocations: 67.81 kB / 271.1 MB, free: 3.512 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.858e-06/0.01063, allocations: 0 / 271.1 MB, free: 3.512 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.703e-06/0.01063, allocations: 3.938 kB / 271.1 MB, free: 3.508 MB / 250.7 MB Notification: Performance of Transformations before backend: time 4.899e-06/0.01063, allocations: 0 / 271.1 MB, free: 3.508 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.0003647/0.011, allocations: 284.7 kB / 271.4 MB, free: 3.207 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.008e-05/0.01104, allocations: 8.922 kB / 271.4 MB, free: 3.199 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001424/0.01118, allocations: 24.86 kB / 271.5 MB, free: 3.176 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.899e-05/0.01128, allocations: 117.7 kB / 271.6 MB, free: 3.035 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.342e-05/0.01129, allocations: 8.375 kB / 271.6 MB, free: 3.027 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.05e-05/0.01131, allocations: 4.375 kB / 271.6 MB, free: 3.023 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001067/0.01142, allocations: 70.16 kB / 271.7 MB, free: 2.949 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.035e-05/0.01143, allocations: 192 / 271.7 MB, free: 2.949 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.928e-06/0.01144, allocations: 4.375 kB / 271.7 MB, free: 2.945 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.145e-06/0.01145, allocations: 11.94 kB / 271.7 MB, free: 2.934 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.01e-05/0.01151, allocations: 23.97 kB / 271.7 MB, free: 2.91 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004437/0.01195, allocations: 259.9 kB / 271.9 MB, free: 2.641 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.674e-05/0.01204, allocations: 42.56 kB / 272 MB, free: 2.59 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.033e-05/0.01207, allocations: 25 kB / 272 MB, free: 2.562 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.007e-05/0.01208, allocations: 4 kB / 272 MB, free: 2.559 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.157e-05/0.0121, allocations: 34.5 kB / 272 MB, free: 2.516 MB / 250.7 MB Notification: Performance of pre-optimization done (n=8): time 2.445e-06/0.0121, allocations: 4 kB / 272.1 MB, free: 2.512 MB / 250.7 MB Notification: Performance of matching and sorting (n=8): time 0.0001349/0.01224, allocations: 61.61 kB / 272.1 MB, free: 2.445 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.959e-05/0.01227, allocations: 55.41 kB / 272.2 MB, free: 2.379 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.686e-05/0.01233, allocations: 114.8 kB / 272.3 MB, free: 2.254 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.254e-05/0.01235, allocations: 29.7 kB / 272.3 MB, free: 2.219 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.392e-05/0.01239, allocations: 96.2 kB / 272.4 MB, free: 2.121 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.306e-05/0.01241, allocations: 35.69 kB / 272.4 MB, free: 2.086 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.761e-05/0.01245, allocations: 25.7 kB / 272.5 MB, free: 2.055 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 8.06e-05/0.01253, allocations: 318.8 kB / 272.8 MB, free: 1.734 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.867e-05/0.01255, allocations: 11.98 kB / 272.8 MB, free: 1.723 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.451e-05/0.01258, allocations: 38.56 kB / 272.8 MB, free: 1.676 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.672e-05/0.01264, allocations: 50.55 kB / 272.9 MB, free: 1.617 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.01264, allocations: 0 / 272.9 MB, free: 1.617 MB / 250.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.003248/0.01589, allocations: 69.61 kB / 272.9 MB, free: 1.543 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.632e-05/0.01591, allocations: 4 kB / 272.9 MB, free: 1.539 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.063e-06/0.01591, allocations: 4 kB / 272.9 MB, free: 1.535 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.219e-05/0.01593, allocations: 0 / 272.9 MB, free: 1.535 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001525/0.01608, allocations: 34.84 kB / 273 MB, free: 1.504 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.206e-06/0.01608, allocations: 3.938 kB / 273 MB, free: 1.5 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.602e-05/0.01612, allocations: 16 kB / 273 MB, free: 1.484 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.37e-06/0.01612, allocations: 0 / 273 MB, free: 1.484 MB / 250.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 6.698e-05/0.01619, allocations: 121.8 kB / 273.1 MB, free: 1.355 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.403e-05/0.01621, allocations: 7.984 kB / 273.1 MB, free: 1.348 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.004e-05/0.01624, allocations: 8.438 kB / 273.1 MB, free: 1.336 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.745e-06/0.01625, allocations: 0 / 273.1 MB, free: 1.336 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.256e-06/0.01625, allocations: 4 kB / 273.1 MB, free: 1.332 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.725e-06/0.01625, allocations: 0 / 273.1 MB, free: 1.332 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001298/0.01638, allocations: 89.77 kB / 273.2 MB, free: 1.227 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.01638, allocations: 3.938 kB / 273.2 MB, free: 1.223 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.621e-05/0.01648, allocations: 31.36 kB / 273.3 MB, free: 1.195 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/0.01648, allocations: 0 / 273.3 MB, free: 1.195 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.856e-06/0.01649, allocations: 0 / 273.3 MB, free: 1.195 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.854e-06/0.01649, allocations: 0 / 273.3 MB, free: 1.195 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.817e-06/0.0165, allocations: 7.984 kB / 273.3 MB, free: 1.188 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001694/0.01667, allocations: 171.4 kB / 273.4 MB, free: 1.004 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.06e-05/0.01668, allocations: 7.938 kB / 273.4 MB, free: 0.9961 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.247e-06/0.01669, allocations: 0 / 273.4 MB, free: 0.9961 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.727e-05/0.01672, allocations: 4 kB / 273.4 MB, free: 0.9922 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.531e-05/0.01674, allocations: 11.92 kB / 273.5 MB, free: 0.9805 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.565e-06/0.01674, allocations: 4.031 kB / 273.5 MB, free: 0.9766 MB / 250.7 MB Notification: Performance of sorting global known variables: time 2.209e-05/0.01676, allocations: 12.86 kB / 273.5 MB, free: 0.9609 MB / 250.7 MB Notification: Performance of sort global known variables: time 9e-08/0.01676, allocations: 0 / 273.5 MB, free: 0.9609 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0001328/0.0169, allocations: 27.95 kB / 273.5 MB, free: 0.9336 MB / 250.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 8.413e-05/0.01698, allocations: 76.42 kB / 273.6 MB, free: 0.8516 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 7.336e-05/0.01705, allocations: 44.75 kB / 273.6 MB, free: 0.8047 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 3.817e-06/0.01706, allocations: 0 / 273.6 MB, free: 0.8047 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 1.573e-05/0.01707, allocations: 25.25 kB / 273.6 MB, free: 0.7773 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001376/0.01721, allocations: 12.22 kB / 273.7 MB, free: 0.7656 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005154/0.01773, allocations: 248.4 kB / 273.9 MB, free: 0.4922 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.193e-05/0.01777, allocations: 63.34 kB / 274 MB, free: 420 kB / 250.7 MB Notification: Performance of simCode: alias equations: time 2.694e-05/0.0178, allocations: 4.672 kB / 274 MB, free: 412 kB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.273e-05/0.01785, allocations: 63.36 kB / 274 MB, free: 348 kB / 250.7 MB Notification: Performance of SimCode: time 6.11e-07/0.01785, allocations: 0 / 274 MB, free: 348 kB / 250.7 MB Notification: Performance of Templates: time 0.002286/0.02013, allocations: 0.7677 MB / 274.8 MB, free: 15.59 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Thermal.HeatTransfer.Examples.TwoMasses.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Thermal.HeatTransfer.Examples.TwoMasses.pipe ; mkfifo Modelica_4.0.0_Modelica.Thermal.HeatTransfer.Examples.TwoMasses.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Thermal.HeatTransfer.Examples.TwoMasses.pipe >> ../files/Modelica_4.0.0_Modelica.Thermal.HeatTransfer.Examples.TwoMasses.sim & ./Modelica_4.0.0_Modelica.Thermal.HeatTransfer.Examples.TwoMasses -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Thermal.HeatTransfer.Examples.TwoMasses.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Thermal.HeatTransfer.Examples.TwoMasses_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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.4949474558234215]