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.001636/0.001636, allocations: 84.69 kB / 21.43 MB, free: 296 kB / 14.72 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.001711/0.001711, allocations: 164 kB / 24.7 MB, free: 3.547 MB / 14.72 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.416/1.416, allocations: 158.6 MB / 186.5 MB, free: 6.398 MB / 174.1 MB " [Timeout remaining time 178] 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 1.743e-06/1.743e-06, allocations: 0 / 298.9 MB, free: 8.75 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.6e-05/2.774e-05, allocations: 6.219 kB / 298.9 MB, free: 8.742 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.TwoMasses): time 0.002717/0.002744, allocations: 1.573 MB / 300.5 MB, free: 7.152 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009332/0.003678, allocations: 0.4964 MB / 301 MB, free: 6.648 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.022e-05/0.003728, allocations: 0 / 301 MB, free: 6.648 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 4.817e-05/0.003776, allocations: 11.86 kB / 301 MB, free: 6.637 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 7.962e-05/0.003856, allocations: 31.7 kB / 301 MB, free: 6.605 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001925/0.004048, allocations: 27.95 kB / 301.1 MB, free: 6.578 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001553/0.004203, allocations: 103.5 kB / 301.2 MB, free: 6.477 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001135/0.004317, allocations: 27.97 kB / 301.2 MB, free: 6.449 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.039e-05/0.004397, allocations: 55.89 kB / 301.3 MB, free: 6.395 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.82e-05/0.004485, allocations: 31.89 kB / 301.3 MB, free: 6.363 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.096e-05/0.004506, allocations: 8 kB / 301.3 MB, free: 6.355 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.874e-05/0.004575, allocations: 19.88 kB / 301.3 MB, free: 6.336 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 3.036e-05/0.004606, allocations: 15.97 kB / 301.3 MB, free: 6.32 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 4.899e-05/0.004655, allocations: 31.94 kB / 301.4 MB, free: 6.289 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001652/0.00482, allocations: 99.72 kB / 301.5 MB, free: 6.191 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.025e-06/0.004823, allocations: 0 / 301.5 MB, free: 6.191 MB / 286.1 MB Notification: Performance of FrontEnd: time 7.81e-07/0.004824, allocations: 0 / 301.5 MB, free: 6.191 MB / 286.1 MB Notification: Performance of Transformations before backend: time 3.516e-06/0.004827, allocations: 7.938 kB / 301.5 MB, free: 6.184 MB / 286.1 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.0004942/0.005321, allocations: 310 kB / 301.8 MB, free: 5.852 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.421e-05/0.005355, allocations: 11.98 kB / 301.8 MB, free: 5.84 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001241/0.00548, allocations: 12.89 kB / 301.8 MB, free: 5.828 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000123/0.005603, allocations: 117.7 kB / 301.9 MB, free: 5.688 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.945e-05/0.005622, allocations: 8.375 kB / 301.9 MB, free: 5.68 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.656e-05/0.005649, allocations: 12.31 kB / 301.9 MB, free: 5.668 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000194/0.005843, allocations: 82.22 kB / 302 MB, free: 5.582 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.277e-05/0.005855, allocations: 192 / 302 MB, free: 5.582 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.259e-05/0.005868, allocations: 4.375 kB / 302 MB, free: 5.578 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.918e-06/0.005878, allocations: 11.94 kB / 302 MB, free: 5.566 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001315/0.006009, allocations: 51.97 kB / 302.1 MB, free: 5.516 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006425/0.006652, allocations: 316.2 kB / 302.4 MB, free: 5.176 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001482/0.0068, allocations: 70.53 kB / 302.5 MB, free: 5.098 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.887e-05/0.006859, allocations: 32.86 kB / 302.5 MB, free: 5.062 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.383e-05/0.006873, allocations: 3.938 kB / 302.5 MB, free: 5.059 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.997e-05/0.006903, allocations: 30.56 kB / 302.5 MB, free: 5.02 MB / 286.1 MB Notification: Performance of pre-optimization done (n=8): time 1.263e-06/0.006904, allocations: 4 kB / 302.5 MB, free: 5.016 MB / 286.1 MB Notification: Performance of matching and sorting (n=8): time 0.0002296/0.007134, allocations: 97.95 kB / 302.6 MB, free: 4.914 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.463e-05/0.007178, allocations: 51.41 kB / 302.7 MB, free: 4.852 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.453e-05/0.007273, allocations: 109.8 kB / 302.8 MB, free: 4.734 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.792e-05/0.007301, allocations: 29.7 kB / 302.8 MB, free: 4.699 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.446e-05/0.007365, allocations: 99.98 kB / 302.9 MB, free: 4.598 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.8e-05/0.007393, allocations: 31.89 kB / 302.9 MB, free: 4.566 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.682e-05/0.00744, allocations: 25.7 kB / 303 MB, free: 4.535 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001552/0.007595, allocations: 322.8 kB / 303.3 MB, free: 4.211 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.753e-05/0.007643, allocations: 23.98 kB / 303.3 MB, free: 4.188 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.703e-05/0.00771, allocations: 50.5 kB / 303.3 MB, free: 4.129 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001065/0.007816, allocations: 66.56 kB / 303.4 MB, free: 4.055 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.007818, allocations: 4 kB / 303.4 MB, free: 4.051 MB / 286.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001751/0.007993, allocations: 105.5 kB / 303.5 MB, free: 3.941 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.685e-05/0.00801, allocations: 8 kB / 303.5 MB, free: 3.934 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.797e-06/0.008014, allocations: 0 / 303.5 MB, free: 3.934 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.642e-05/0.00803, allocations: 3.984 kB / 303.5 MB, free: 3.93 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001266/0.008157, allocations: 23.94 kB / 303.6 MB, free: 3.906 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.015e-06/0.008165, allocations: 4 kB / 303.6 MB, free: 3.902 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.487e-05/0.00821, allocations: 11.95 kB / 303.6 MB, free: 3.891 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.184e-05/0.008222, allocations: 11.94 kB / 303.6 MB, free: 3.879 MB / 286.1 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.957e-05/0.008321, allocations: 117.8 kB / 303.7 MB, free: 3.754 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.013e-05/0.008351, allocations: 4 kB / 303.7 MB, free: 3.75 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.755e-05/0.008379, allocations: 8.438 kB / 303.7 MB, free: 3.746 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.623e-06/0.00838, allocations: 0 / 303.7 MB, free: 3.746 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.537e-06/0.008384, allocations: 3.938 kB / 303.7 MB, free: 3.742 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.03e-06/0.008389, allocations: 7.984 kB / 303.7 MB, free: 3.734 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001709/0.00856, allocations: 133.1 kB / 303.8 MB, free: 3.574 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.008561, allocations: 0 / 303.8 MB, free: 3.574 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001044/0.008665, allocations: 23.98 kB / 303.9 MB, free: 3.551 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.754e-06/0.008667, allocations: 0 / 303.9 MB, free: 3.551 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.837e-06/0.008676, allocations: 0 / 303.9 MB, free: 3.551 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.283e-06/0.008677, allocations: 4 kB / 303.9 MB, free: 3.547 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.008678, allocations: 0 / 303.9 MB, free: 3.547 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000235/0.008913, allocations: 195.5 kB / 304.1 MB, free: 3.34 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.279e-05/0.008926, allocations: 7.984 kB / 304.1 MB, free: 3.332 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.68e-05/0.008943, allocations: 4 kB / 304.1 MB, free: 3.328 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.784e-05/0.009, allocations: 0 / 304.1 MB, free: 3.328 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.72e-05/0.009018, allocations: 11.92 kB / 304.1 MB, free: 3.316 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.657e-06/0.009021, allocations: 0 / 304.1 MB, free: 3.316 MB / 286.1 MB Notification: Performance of sorting global known variables: time 6.091e-05/0.009082, allocations: 91.59 kB / 304.2 MB, free: 3.227 MB / 286.1 MB Notification: Performance of sort global known variables: time 7e-08/0.009082, allocations: 0 / 304.2 MB, free: 3.227 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0002462/0.009328, allocations: 27.94 kB / 304.2 MB, free: 3.199 MB / 286.1 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.0001003/0.009429, allocations: 95.23 kB / 304.3 MB, free: 3.094 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.000154/0.009583, allocations: 55.86 kB / 304.4 MB, free: 3.039 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.225e-06/0.009585, allocations: 3.938 kB / 304.4 MB, free: 3.035 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 4e-05/0.009625, allocations: 24 kB / 304.4 MB, free: 3.012 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002783/0.009903, allocations: 6.484 kB / 304.4 MB, free: 3.008 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000552/0.01046, allocations: 269.2 kB / 304.6 MB, free: 2.719 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.119e-05/0.01054, allocations: 87.19 kB / 304.7 MB, free: 2.613 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 3.102e-05/0.01057, allocations: 7.938 kB / 304.7 MB, free: 2.605 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.929e-05/0.0106, allocations: 12.5 kB / 304.8 MB, free: 2.594 MB / 286.1 MB Notification: Performance of SimCode: time 3.01e-07/0.0106, allocations: 0 / 304.8 MB, free: 2.594 MB / 286.1 MB Notification: Performance of Templates: time 0.003074/0.01367, allocations: 0.5896 MB / 305.3 MB, free: 2.008 MB / 286.1 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=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.TwoMasses.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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: 4.1978406496346]