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.001123/0.001123, allocations: 77.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001862/0.002985, allocations: 449.8 kB / 10.44 MB, free: 252 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.00111/0.00111, allocations: 165.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009819/0.002092, allocations: 479.5 kB / 11.82 MB, free: 2.344 MB / 13.93 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 1.009/1.009, allocations: 177.2 MB / 189.8 MB, free: 5.266 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08448/1.093, allocations: 53.66 MB / 243.4 MB, free: 15.52 MB / 250.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.443e-06/1.443e-06, allocations: 0 / 244.7 MB, free: 14.26 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.631e-05/1.775e-05, allocations: 2.312 kB / 244.7 MB, free: 14.26 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.TwoMasses): time 0.001795/0.001813, allocations: 1.723 MB / 246.4 MB, free: 12.52 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005479/0.002361, allocations: 0.5616 MB / 247 MB, free: 11.95 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.564e-05/0.002396, allocations: 0 / 247 MB, free: 11.95 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 3.907e-05/0.002435, allocations: 19.86 kB / 247 MB, free: 11.93 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 4.473e-05/0.00248, allocations: 27.7 kB / 247 MB, free: 11.91 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 8.415e-05/0.002564, allocations: 23.97 kB / 247 MB, free: 11.88 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 9.649e-05/0.002661, allocations: 99.47 kB / 247.1 MB, free: 11.79 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.19e-05/0.002753, allocations: 23.98 kB / 247.2 MB, free: 11.76 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.221e-05/0.002825, allocations: 63.88 kB / 247.2 MB, free: 11.7 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.032e-05/0.002905, allocations: 39.83 kB / 247.3 MB, free: 11.66 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 1.587e-05/0.002921, allocations: 8 kB / 247.3 MB, free: 11.65 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.798e-05/0.002989, allocations: 16 kB / 247.3 MB, free: 11.64 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 1.624e-05/0.003005, allocations: 11.94 kB / 247.3 MB, free: 11.62 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 2.551e-05/0.003031, allocations: 31.94 kB / 247.3 MB, free: 11.59 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001129/0.003144, allocations: 59.83 kB / 247.4 MB, free: 11.54 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.367e-06/0.003153, allocations: 3.938 kB / 247.4 MB, free: 11.53 MB / 250.7 MB Notification: Performance of FrontEnd: time 7.32e-07/0.003154, allocations: 0 / 247.4 MB, free: 11.53 MB / 250.7 MB Notification: Performance of Transformations before backend: time 8.055e-06/0.003162, allocations: 0 / 247.4 MB, free: 11.53 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.0003409/0.003503, allocations: 300.4 kB / 247.7 MB, free: 11.21 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.633e-05/0.003529, allocations: 12.03 kB / 247.7 MB, free: 11.2 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001314/0.003661, allocations: 102 kB / 247.8 MB, free: 11.09 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.892e-05/0.003739, allocations: 121.6 kB / 247.9 MB, free: 10.94 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.347e-06/0.003749, allocations: 384 / 247.9 MB, free: 10.94 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.882e-05/0.003768, allocations: 12.38 kB / 247.9 MB, free: 10.93 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.234e-05/0.00385, allocations: 68.97 kB / 248 MB, free: 10.86 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.015e-06/0.003858, allocations: 192 / 248 MB, free: 10.86 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.985e-06/0.003866, allocations: 4.375 kB / 248 MB, free: 10.86 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.403e-06/0.003872, allocations: 7.938 kB / 248 MB, free: 10.85 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.324e-05/0.003916, allocations: 23.98 kB / 248 MB, free: 10.82 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003327/0.004248, allocations: 255.9 kB / 248.3 MB, free: 10.56 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.728e-05/0.004316, allocations: 54.48 kB / 248.3 MB, free: 10.5 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.277e-05/0.004338, allocations: 20.86 kB / 248.4 MB, free: 10.47 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.213e-06/0.004346, allocations: 4 kB / 248.4 MB, free: 10.47 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.228e-05/0.004368, allocations: 38.55 kB / 248.4 MB, free: 10.42 MB / 250.7 MB Notification: Performance of pre-optimization done (n=8): time 1.182e-06/0.004369, allocations: 0 / 248.4 MB, free: 10.42 MB / 250.7 MB Notification: Performance of matching and sorting (n=8): time 0.0001004/0.004469, allocations: 57.92 kB / 248.4 MB, free: 10.36 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.558e-05/0.004495, allocations: 59.34 kB / 248.5 MB, free: 10.29 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.001e-05/0.004545, allocations: 106.8 kB / 248.6 MB, free: 10.17 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 8.976e-06/0.004554, allocations: 29.7 kB / 248.6 MB, free: 10.14 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.881e-05/0.004593, allocations: 112.1 kB / 248.7 MB, free: 10.02 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.649e-05/0.004609, allocations: 27.75 kB / 248.8 MB, free: 9.996 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.91e-05/0.004638, allocations: 29.69 kB / 248.8 MB, free: 9.961 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 6.922e-05/0.004708, allocations: 318.8 kB / 249.1 MB, free: 9.641 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.257e-05/0.00472, allocations: 11.98 kB / 249.1 MB, free: 9.629 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.57e-05/0.004746, allocations: 32.83 kB / 249.2 MB, free: 9.59 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.504e-05/0.004791, allocations: 62.34 kB / 249.2 MB, free: 9.52 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.004793, allocations: 0 / 249.2 MB, free: 9.52 MB / 250.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 6.795e-05/0.004861, allocations: 73.61 kB / 249.3 MB, free: 9.441 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.038e-05/0.004871, allocations: 8 kB / 249.3 MB, free: 9.434 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.887e-06/0.004875, allocations: 0 / 249.3 MB, free: 9.434 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.054e-05/0.004886, allocations: 0 / 249.3 MB, free: 9.434 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001234/0.005009, allocations: 27.98 kB / 249.3 MB, free: 9.406 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.958e-06/0.005013, allocations: 8.062 kB / 249.3 MB, free: 9.398 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.245e-05/0.005035, allocations: 11.89 kB / 249.3 MB, free: 9.387 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.338e-06/0.00504, allocations: 8.062 kB / 249.4 MB, free: 9.379 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 5.15e-05/0.005091, allocations: 125.7 kB / 249.5 MB, free: 9.246 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.374e-05/0.005105, allocations: 4 kB / 249.5 MB, free: 9.242 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.321e-05/0.005128, allocations: 12.42 kB / 249.5 MB, free: 9.23 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.412e-06/0.00513, allocations: 0 / 249.5 MB, free: 9.23 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.202e-06/0.005131, allocations: 0 / 249.5 MB, free: 9.23 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.254e-06/0.005133, allocations: 0 / 249.5 MB, free: 9.23 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.379e-05/0.005217, allocations: 85.81 kB / 249.6 MB, free: 9.129 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.61e-07/0.005218, allocations: 0 / 249.6 MB, free: 9.129 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.25e-05/0.00529, allocations: 27.98 kB / 249.6 MB, free: 9.102 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.462e-06/0.005297, allocations: 7.984 kB / 249.6 MB, free: 9.094 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.507e-06/0.0053, allocations: 4 kB / 249.6 MB, free: 9.09 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.085e-06/0.005308, allocations: 0 / 249.6 MB, free: 9.09 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.11e-07/0.005309, allocations: 3.938 kB / 249.6 MB, free: 9.086 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.72e-07/0.00531, allocations: 0 / 249.6 MB, free: 9.086 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00011/0.00542, allocations: 175.3 kB / 249.8 MB, free: 8.898 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.055e-06/0.005428, allocations: 256 / 249.8 MB, free: 8.898 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.873e-05/0.005457, allocations: 4 kB / 249.8 MB, free: 8.895 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.113e-05/0.005468, allocations: 7.984 kB / 249.8 MB, free: 8.887 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.146e-06/0.005471, allocations: 4 kB / 249.8 MB, free: 8.883 MB / 250.7 MB Notification: Performance of sorting global known variables: time 1.222e-05/0.005483, allocations: 12.89 kB / 249.8 MB, free: 8.867 MB / 250.7 MB Notification: Performance of sort global known variables: time 5e-08/0.005483, allocations: 0 / 249.8 MB, free: 8.867 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0001204/0.005603, allocations: 23.94 kB / 249.8 MB, free: 8.844 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 6.528e-05/0.005669, allocations: 84.41 kB / 249.9 MB, free: 8.754 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 6.703e-05/0.005736, allocations: 44.77 kB / 250 MB, free: 8.707 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 5.641e-06/0.005741, allocations: 0 / 250 MB, free: 8.707 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 2.321e-05/0.005765, allocations: 28.8 kB / 250 MB, free: 8.676 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001483/0.005913, allocations: 75.53 kB / 250.1 MB, free: 8.59 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001376/0.007289, allocations: 240.3 kB / 250.3 MB, free: 8.328 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.202e-05/0.007321, allocations: 63.34 kB / 250.4 MB, free: 8.246 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 2.539e-05/0.007347, allocations: 0.7344 kB / 250.4 MB, free: 8.242 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.799e-05/0.007395, allocations: 59.38 kB / 250.4 MB, free: 8.184 MB / 250.7 MB Notification: Performance of SimCode: time 6.91e-07/0.007395, allocations: 7.938 kB / 250.4 MB, free: 8.176 MB / 250.7 MB Notification: Performance of Templates: time 0.002239/0.009634, allocations: 0.743 MB / 251.2 MB, free: 7.457 MB / 250.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 -ignoreHideResult -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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.580819733440876]