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.001091/0.001091, allocations: 84 kB / 21.43 MB, free: 3.129 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.005165/0.005165, allocations: 146.5 kB / 24.68 MB, free: 9.426 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.8292/0.8292, allocations: 173.4 MB / 201.2 MB, free: 9.449 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.914e-06/1.914e-06, allocations: 0 / 319.7 MB, free: 5.758 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 5.617e-05/5.808e-05, allocations: 2.281 kB / 319.7 MB, free: 5.754 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.TwoMasses): time 0.003584/0.003642, allocations: 1.586 MB / 321.2 MB, free: 4.152 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009463/0.004588, allocations: 498.8 kB / 321.7 MB, free: 3.66 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.046e-05/0.004658, allocations: 4 kB / 321.7 MB, free: 3.656 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 5.478e-05/0.004713, allocations: 11.86 kB / 321.8 MB, free: 3.645 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 8.558e-05/0.004799, allocations: 31.66 kB / 321.8 MB, free: 3.613 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002802/0.005079, allocations: 31.95 kB / 321.8 MB, free: 3.582 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.000167/0.005246, allocations: 107.4 kB / 321.9 MB, free: 3.477 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001596/0.005406, allocations: 19.98 kB / 321.9 MB, free: 3.457 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.419e-05/0.0055, allocations: 55.94 kB / 322 MB, free: 3.402 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001212/0.005621, allocations: 27.91 kB / 322 MB, free: 3.375 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.379e-05/0.005645, allocations: 8 kB / 322 MB, free: 3.367 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.84e-05/0.005733, allocations: 19.94 kB / 322 MB, free: 3.348 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 2.876e-05/0.005762, allocations: 23.91 kB / 322.1 MB, free: 3.324 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 4.895e-05/0.005811, allocations: 27.98 kB / 322.1 MB, free: 3.297 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002194/0.00603, allocations: 99.72 kB / 322.2 MB, free: 3.199 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.95e-06/0.006035, allocations: 4 kB / 322.2 MB, free: 3.195 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.695e-06/0.006038, allocations: 0 / 322.2 MB, free: 3.195 MB / 282.7 MB Notification: Performance of Transformations before backend: time 6.221e-06/0.006044, allocations: 0 / 322.2 MB, free: 3.195 MB / 282.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.000552/0.006596, allocations: 317.2 kB / 322.5 MB, free: 2.859 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.317e-05/0.006649, allocations: 12.92 kB / 322.5 MB, free: 2.848 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001477/0.006797, allocations: 8.891 kB / 322.5 MB, free: 2.84 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000123/0.00692, allocations: 113.7 kB / 322.6 MB, free: 2.703 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.922e-05/0.006939, allocations: 8.375 kB / 322.6 MB, free: 2.695 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.209e-05/0.006971, allocations: 12.31 kB / 322.7 MB, free: 2.684 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00018/0.007151, allocations: 86.17 kB / 322.7 MB, free: 2.594 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.326e-05/0.007175, allocations: 192 / 322.7 MB, free: 2.594 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.886e-05/0.007193, allocations: 8.312 kB / 322.8 MB, free: 2.586 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.936e-06/0.007202, allocations: 7.938 kB / 322.8 MB, free: 2.578 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001246/0.007327, allocations: 51.97 kB / 322.8 MB, free: 2.527 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006831/0.00801, allocations: 324.2 kB / 323.1 MB, free: 2.18 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000148/0.008158, allocations: 66.55 kB / 323.2 MB, free: 2.105 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.834e-05/0.008216, allocations: 32.86 kB / 323.2 MB, free: 2.07 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.279e-05/0.008229, allocations: 0 / 323.2 MB, free: 2.07 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.02e-05/0.008259, allocations: 34.56 kB / 323.3 MB, free: 2.027 MB / 282.7 MB Notification: Performance of pre-optimization done (n=8): time 1.433e-06/0.008261, allocations: 0 / 323.3 MB, free: 2.027 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.0002473/0.008508, allocations: 97.72 kB / 323.4 MB, free: 1.926 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.995e-05/0.008548, allocations: 55.41 kB / 323.4 MB, free: 1.859 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.32e-05/0.008631, allocations: 105.8 kB / 323.5 MB, free: 1.746 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.474e-05/0.008646, allocations: 29.7 kB / 323.5 MB, free: 1.711 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.709e-05/0.008713, allocations: 104.1 kB / 323.6 MB, free: 1.605 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.855e-05/0.008742, allocations: 31.73 kB / 323.7 MB, free: 1.574 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.985e-05/0.008792, allocations: 25.7 kB / 323.7 MB, free: 1.543 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001066/0.008898, allocations: 322.8 kB / 324 MB, free: 1.219 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.448e-05/0.008943, allocations: 23.98 kB / 324 MB, free: 1.195 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.957e-05/0.009002, allocations: 42.56 kB / 324.1 MB, free: 1.145 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000108/0.00911, allocations: 66.52 kB / 324.1 MB, free: 1.07 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.009113, allocations: 3.938 kB / 324.1 MB, free: 1.066 MB / 282.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001604/0.009273, allocations: 113.5 kB / 324.3 MB, free: 0.9492 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.672e-05/0.00929, allocations: 4 kB / 324.3 MB, free: 0.9453 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.653e-06/0.009297, allocations: 0 / 324.3 MB, free: 0.9453 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.099e-05/0.009318, allocations: 7.984 kB / 324.3 MB, free: 0.9375 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002013/0.009519, allocations: 23.94 kB / 324.3 MB, free: 0.9141 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.402e-06/0.009525, allocations: 0 / 324.3 MB, free: 0.9141 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.028e-05/0.009556, allocations: 3.938 kB / 324.3 MB, free: 0.9102 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.615e-06/0.009563, allocations: 11.94 kB / 324.3 MB, free: 0.8984 MB / 282.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 8.035e-05/0.009644, allocations: 117.8 kB / 324.4 MB, free: 0.7734 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.196e-05/0.009666, allocations: 7.953 kB / 324.4 MB, free: 0.7656 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.016e-05/0.009706, allocations: 12.47 kB / 324.4 MB, free: 0.75 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.639e-06/0.00971, allocations: 4 kB / 324.4 MB, free: 0.7461 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.841e-06/0.009716, allocations: 0 / 324.4 MB, free: 0.7461 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.118e-06/0.00972, allocations: 0 / 324.4 MB, free: 0.7461 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001432/0.009863, allocations: 129.5 kB / 324.6 MB, free: 0.5898 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.467e-06/0.009867, allocations: 4 kB / 324.6 MB, free: 0.5859 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.445e-05/0.009941, allocations: 19.98 kB / 324.6 MB, free: 0.5664 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.635e-06/0.009944, allocations: 0 / 324.6 MB, free: 0.5664 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.052e-05/0.009955, allocations: 7.938 kB / 324.6 MB, free: 0.5586 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.803e-06/0.009956, allocations: 0 / 324.6 MB, free: 0.5586 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.893e-06/0.009958, allocations: 0 / 324.6 MB, free: 0.5586 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002212/0.01018, allocations: 195.4 kB / 324.8 MB, free: 360 kB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.147e-05/0.01019, allocations: 7.984 kB / 324.8 MB, free: 352 kB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.466e-05/0.01021, allocations: 7.938 kB / 324.8 MB, free: 344 kB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.301e-05/0.01024, allocations: 0 / 324.8 MB, free: 344 kB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.53e-05/0.01026, allocations: 7.984 kB / 324.8 MB, free: 336 kB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.248e-06/0.01027, allocations: 0 / 324.8 MB, free: 336 kB / 282.7 MB Notification: Performance of sorting global known variables: time 3.818e-05/0.01031, allocations: 83.28 kB / 324.9 MB, free: 252 kB / 282.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01031, allocations: 4 kB / 324.9 MB, free: 248 kB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001593/0.01047, allocations: 23.94 kB / 324.9 MB, free: 224 kB / 282.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 0.0001029/0.01057, allocations: 103.2 kB / 325 MB, free: 112 kB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001144/0.01068, allocations: 55.92 kB / 325.1 MB, free: 56 kB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.943e-06/0.01068, allocations: 0 / 325.1 MB, free: 56 kB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 2.122e-05/0.01071, allocations: 19.94 kB / 325.1 MB, free: 36 kB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002974/0.011, allocations: 11.98 kB / 325.1 MB, free: 24 kB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004868/0.01149, allocations: 291.1 kB / 325.4 MB, free: 15.71 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.636e-05/0.01155, allocations: 83.58 kB / 325.5 MB, free: 15.61 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.574e-05/0.01157, allocations: 16.5 kB / 325.5 MB, free: 15.59 MB / 298.7 MB Notification: Performance of SimCode: time 3.9e-07/0.01157, allocations: 3.938 kB / 325.5 MB, free: 15.59 MB / 298.7 MB Notification: Performance of Templates: time 0.001967/0.01354, allocations: 1.012 MB / 326.5 MB, free: 14.57 MB / 298.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=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Thermal.HeatTransfer.Examples.TwoMasses.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_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: 3.854268042370677]