Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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.001204/0.001204, allocations: 81.05 kB / 10.02 MB, free: 0.6719 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.005389/0.006593, allocations: 453.8 kB / 10.46 MB, free: 236 kB / 10.45 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.00114/0.00114, allocations: 165.1 kB / 11.36 MB, free: 2.812 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001481/0.002621, allocations: 483.5 kB / 11.83 MB, free: 2.336 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.179/1.179, allocations: 158.6 MB / 171.2 MB, free: 2.5 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2137/1.393, allocations: 49.49 MB / 220.7 MB, free: 1.359 MB / 218.7 MB " [Timeout remaining time 179] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_Modelica.Thermal.HeatTransfer.Examples.TwoMasses") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.635e-06/2.635e-06, allocations: 0 / 222 MB, free: 88 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.707e-05/3.97e-05, allocations: 9.406 kB / 222 MB, free: 80 kB / 218.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.TwoMasses): time 0.004145/0.004184, allocations: 1.708 MB / 223.7 MB, free: 14.35 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.001102/0.005286, allocations: 0.5229 MB / 224.2 MB, free: 13.82 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.073e-05/0.005357, allocations: 4 kB / 224.2 MB, free: 13.82 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 7.003e-05/0.005427, allocations: 7.922 kB / 224.2 MB, free: 13.81 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 9.684e-05/0.005524, allocations: 31.7 kB / 224.2 MB, free: 13.78 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002016/0.005726, allocations: 27.89 kB / 224.3 MB, free: 13.75 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002049/0.00593, allocations: 99.48 kB / 224.4 MB, free: 13.65 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000165/0.006095, allocations: 31.97 kB / 224.4 MB, free: 13.62 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001468/0.006242, allocations: 55.89 kB / 224.5 MB, free: 13.57 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001338/0.006376, allocations: 31.89 kB / 224.5 MB, free: 13.54 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 3.13e-05/0.006407, allocations: 12 kB / 224.5 MB, free: 13.52 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001329/0.00654, allocations: 12 kB / 224.5 MB, free: 13.51 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 3.446e-05/0.006575, allocations: 15.94 kB / 224.5 MB, free: 13.5 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 5.204e-05/0.006627, allocations: 27.94 kB / 224.5 MB, free: 13.47 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002376/0.006864, allocations: 59.83 kB / 224.6 MB, free: 13.41 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.11e-05/0.006885, allocations: 3.938 kB / 224.6 MB, free: 13.41 MB / 234.7 MB Notification: Performance of FrontEnd: time 3.116e-06/0.006889, allocations: 4 kB / 224.6 MB, free: 13.4 MB / 234.7 MB Notification: Performance of Transformations before backend: time 1.66e-05/0.006905, allocations: 0 / 224.6 MB, free: 13.4 MB / 234.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.0006446/0.00755, allocations: 300.3 kB / 224.9 MB, free: 13.09 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.466e-05/0.007604, allocations: 12.03 kB / 224.9 MB, free: 13.07 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002973/0.007902, allocations: 102 kB / 225 MB, free: 12.96 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001542/0.008056, allocations: 117.6 kB / 225.1 MB, free: 12.82 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.776e-05/0.008074, allocations: 4.375 kB / 225.1 MB, free: 12.81 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.983e-05/0.008114, allocations: 12.38 kB / 225.2 MB, free: 12.8 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000164/0.008277, allocations: 66.17 kB / 225.2 MB, free: 12.73 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.891e-05/0.008296, allocations: 192 / 225.2 MB, free: 12.73 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.439e-05/0.008311, allocations: 8.375 kB / 225.2 MB, free: 12.72 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.351e-05/0.008324, allocations: 3.938 kB / 225.2 MB, free: 12.72 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.944e-05/0.008414, allocations: 27.97 kB / 225.3 MB, free: 12.69 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007122/0.009126, allocations: 259.9 kB / 225.5 MB, free: 12.42 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001484/0.009274, allocations: 50.48 kB / 225.6 MB, free: 12.36 MB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.865e-05/0.009313, allocations: 16.86 kB / 225.6 MB, free: 12.34 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.345e-05/0.009326, allocations: 3.984 kB / 225.6 MB, free: 12.34 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.897e-05/0.009365, allocations: 46.55 kB / 225.6 MB, free: 12.29 MB / 234.7 MB Notification: Performance of pre-optimization done (n=8): time 1.472e-06/0.009367, allocations: 0 / 225.6 MB, free: 12.29 MB / 234.7 MB Notification: Performance of matching and sorting (n=8): time 0.0002243/0.009591, allocations: 65.75 kB / 225.7 MB, free: 12.21 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.024e-05/0.009641, allocations: 51.41 kB / 225.7 MB, free: 12.15 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000117/0.009758, allocations: 114.7 kB / 225.9 MB, free: 12.03 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 2.022e-05/0.009779, allocations: 29.7 kB / 225.9 MB, free: 11.99 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.594e-05/0.009865, allocations: 108.1 kB / 226 MB, free: 11.88 MB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.912e-05/0.009894, allocations: 27.75 kB / 226 MB, free: 11.86 MB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.733e-05/0.009951, allocations: 29.69 kB / 226 MB, free: 11.82 MB / 234.7 MB Notification: Performance of setup shared object (initialization): time 0.0001421/0.01009, allocations: 322.8 kB / 226.4 MB, free: 11.5 MB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.939e-05/0.01012, allocations: 11.98 kB / 226.4 MB, free: 11.48 MB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.579e-05/0.01017, allocations: 22.58 kB / 226.4 MB, free: 11.45 MB / 234.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.588e-05/0.01025, allocations: 62.34 kB / 226.5 MB, free: 11.38 MB / 234.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.819e-06/0.01026, allocations: 4 kB / 226.5 MB, free: 11.38 MB / 234.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001403/0.0104, allocations: 73.61 kB / 226.5 MB, free: 11.3 MB / 234.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.953e-05/0.01042, allocations: 4 kB / 226.5 MB, free: 11.3 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.101e-05/0.01043, allocations: 0 / 226.5 MB, free: 11.3 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.249e-05/0.01045, allocations: 4 kB / 226.5 MB, free: 11.29 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002594/0.01071, allocations: 27.98 kB / 226.6 MB, free: 11.27 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.205e-06/0.01072, allocations: 0 / 226.6 MB, free: 11.27 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.307e-05/0.01077, allocations: 19.88 kB / 226.6 MB, free: 11.25 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.237e-06/0.01078, allocations: 4 kB / 226.6 MB, free: 11.24 MB / 234.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 9.458e-05/0.01088, allocations: 121.8 kB / 226.7 MB, free: 11.11 MB / 234.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.725e-05/0.0109, allocations: 4 kB / 226.7 MB, free: 11.11 MB / 234.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.607e-05/0.01095, allocations: 8.438 kB / 226.7 MB, free: 11.1 MB / 234.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.416e-06/0.01095, allocations: 4 kB / 226.7 MB, free: 11.1 MB / 234.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.076e-06/0.01096, allocations: 0 / 226.7 MB, free: 11.1 MB / 234.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.632e-06/0.01096, allocations: 3.984 kB / 226.7 MB, free: 11.09 MB / 234.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001717/0.01113, allocations: 77.83 kB / 226.8 MB, free: 11 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.883e-06/0.01114, allocations: 0 / 226.8 MB, free: 11 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000154/0.01129, allocations: 27.98 kB / 226.8 MB, free: 10.97 MB / 234.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.632e-05/0.01131, allocations: 7.984 kB / 226.8 MB, free: 10.96 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.447e-06/0.01131, allocations: 4 kB / 226.8 MB, free: 10.96 MB / 234.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.502e-05/0.01133, allocations: 0 / 226.8 MB, free: 10.96 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.021e-06/0.01133, allocations: 7.938 kB / 226.8 MB, free: 10.95 MB / 234.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.01133, allocations: 0 / 226.8 MB, free: 10.95 MB / 234.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002398/0.01157, allocations: 171.3 kB / 227 MB, free: 10.77 MB / 234.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.767e-05/0.01159, allocations: 4.25 kB / 227 MB, free: 10.77 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.768e-05/0.01164, allocations: 0 / 227 MB, free: 10.77 MB / 234.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.261e-05/0.01166, allocations: 11.98 kB / 227 MB, free: 10.75 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.925e-06/0.01167, allocations: 4 kB / 227 MB, free: 10.75 MB / 234.7 MB Notification: Performance of sorting global known variables: time 2.473e-05/0.01169, allocations: 12.84 kB / 227 MB, free: 10.73 MB / 234.7 MB Notification: Performance of sort global known variables: time 9e-08/0.01169, allocations: 0 / 227 MB, free: 10.73 MB / 234.7 MB Notification: Performance of remove unused functions: time 0.0001367/0.01183, allocations: 27.97 kB / 227.1 MB, free: 10.71 MB / 234.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.0001228/0.01195, allocations: 80.41 kB / 227.2 MB, free: 10.62 MB / 234.7 MB Notification: Performance of simCode: created initialization part: time 0.0001048/0.01206, allocations: 40.78 kB / 227.2 MB, free: 10.58 MB / 234.7 MB Notification: Performance of simCode: created event and clocks part: time 1.302e-05/0.01207, allocations: 0 / 227.2 MB, free: 10.58 MB / 234.7 MB Notification: Performance of simCode: created simulation system equations: time 3.24e-05/0.0121, allocations: 32.78 kB / 227.2 MB, free: 10.54 MB / 234.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000225/0.01233, allocations: 71.33 kB / 227.3 MB, free: 10.46 MB / 234.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001674/0.014, allocations: 251.5 kB / 227.5 MB, free: 10.19 MB / 234.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.848e-05/0.01406, allocations: 63.34 kB / 227.6 MB, free: 10.11 MB / 234.7 MB Notification: Performance of simCode: alias equations: time 5.194e-05/0.01411, allocations: 4.734 kB / 227.6 MB, free: 10.1 MB / 234.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.351e-05/0.01419, allocations: 59.36 kB / 227.7 MB, free: 10.04 MB / 234.7 MB Notification: Performance of SimCode: time 1.392e-06/0.01419, allocations: 0 / 227.7 MB, free: 10.04 MB / 234.7 MB Notification: Performance of Templates: time 0.003394/0.01758, allocations: 0.7409 MB / 228.4 MB, free: 9.312 MB / 234.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.TwoMasses.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.TwoMasses.pipe ; mkfifo Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.TwoMasses.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.TwoMasses.pipe >> ../files/Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.TwoMasses.sim & ./Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.TwoMasses -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.TwoMasses.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.TwoMasses_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Thermal/HeatTransfer/Examples/TwoMasses/TwoMasses.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.015202596783638]