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.001631/0.001631, allocations: 85.95 kB / 23 MB, free: 1.504 MB / 18.57 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.001793/0.001793, allocations: 171.6 kB / 26.39 MB, free: 7.988 MB / 18.57 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.007/1.007, allocations: 158.6 MB / 188.3 MB, free: 2.824 MB / 170.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 1.122e-06/1.122e-06, allocations: 0 / 252.2 MB, free: 7.285 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.357e-05/1.469e-05, allocations: 6.25 kB / 252.2 MB, free: 7.277 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.TwoMasses): time 0.001879/0.001894, allocations: 1.664 MB / 253.9 MB, free: 5.602 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006596/0.002553, allocations: 0.4996 MB / 254.4 MB, free: 5.094 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.362e-05/0.002607, allocations: 8 kB / 254.4 MB, free: 5.086 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 4.358e-05/0.002651, allocations: 7.922 kB / 254.4 MB, free: 5.078 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 7.057e-05/0.002721, allocations: 27.72 kB / 254.4 MB, free: 5.051 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002/0.002921, allocations: 31.89 kB / 254.5 MB, free: 5.02 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001096/0.003031, allocations: 107.4 kB / 254.6 MB, free: 4.914 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001058/0.003136, allocations: 31.92 kB / 254.6 MB, free: 4.883 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.122e-05/0.003198, allocations: 55.94 kB / 254.7 MB, free: 4.828 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.195e-05/0.00328, allocations: 27.91 kB / 254.7 MB, free: 4.801 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 1.776e-05/0.003297, allocations: 8 kB / 254.7 MB, free: 4.793 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.305e-05/0.00336, allocations: 16 kB / 254.7 MB, free: 4.777 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 2.354e-05/0.003384, allocations: 23.91 kB / 254.7 MB, free: 4.754 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 3.08e-05/0.003415, allocations: 35.91 kB / 254.8 MB, free: 4.719 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001171/0.003532, allocations: 63.81 kB / 254.8 MB, free: 4.656 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.623e-06/0.003533, allocations: 0 / 254.8 MB, free: 4.656 MB / 234.7 MB Notification: Performance of FrontEnd: time 5.51e-07/0.003534, allocations: 0 / 254.8 MB, free: 4.656 MB / 234.7 MB Notification: Performance of Transformations before backend: time 3.707e-06/0.003538, allocations: 0 / 254.8 MB, free: 4.656 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.000352/0.00389, allocations: 408.4 kB / 255.2 MB, free: 4.223 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.392e-05/0.003924, allocations: 11.98 kB / 255.2 MB, free: 4.211 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001127/0.004036, allocations: 28.78 kB / 255.3 MB, free: 4.184 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.688e-05/0.004123, allocations: 124.4 kB / 255.4 MB, free: 4.035 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.427e-05/0.004137, allocations: 8.375 kB / 255.4 MB, free: 4.027 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.779e-05/0.004155, allocations: 8.375 kB / 255.4 MB, free: 4.02 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.889e-05/0.004244, allocations: 66.22 kB / 255.5 MB, free: 3.949 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.959e-06/0.004254, allocations: 192 / 255.5 MB, free: 3.949 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.428e-06/0.004264, allocations: 4.375 kB / 255.5 MB, free: 3.945 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.202e-06/0.00427, allocations: 3.938 kB / 255.5 MB, free: 3.941 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.286e-05/0.004323, allocations: 35.86 kB / 255.5 MB, free: 3.906 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003949/0.004718, allocations: 356 kB / 255.9 MB, free: 3.531 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.945e-05/0.004797, allocations: 59.03 kB / 255.9 MB, free: 3.461 MB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.593e-05/0.004823, allocations: 23.67 kB / 255.9 MB, free: 3.434 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.336e-06/0.004831, allocations: 4 kB / 255.9 MB, free: 3.43 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.791e-05/0.004849, allocations: 33.55 kB / 256 MB, free: 3.387 MB / 234.7 MB Notification: Performance of pre-optimization done (n=8): time 1.182e-06/0.00485, allocations: 4 kB / 256 MB, free: 3.383 MB / 234.7 MB Notification: Performance of matching and sorting (n=8): time 0.0001335/0.004984, allocations: 73.73 kB / 256.1 MB, free: 3.305 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.828e-05/0.005012, allocations: 55.39 kB / 256.1 MB, free: 3.238 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.014e-05/0.005082, allocations: 165.9 kB / 256.3 MB, free: 3.059 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 1.179e-05/0.005094, allocations: 29.7 kB / 256.3 MB, free: 3.023 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.207e-05/0.005146, allocations: 150.7 kB / 256.4 MB, free: 2.871 MB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.804e-05/0.005164, allocations: 39.67 kB / 256.5 MB, free: 2.832 MB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.221e-05/0.005196, allocations: 27.38 kB / 256.5 MB, free: 2.797 MB / 234.7 MB Notification: Performance of setup shared object (initialization): time 0.000108/0.005304, allocations: 0.4922 MB / 257 MB, free: 2.293 MB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.462e-05/0.005319, allocations: 8 kB / 257 MB, free: 2.285 MB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.308e-05/0.005352, allocations: 46.66 kB / 257.1 MB, free: 2.23 MB / 234.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.125e-05/0.005403, allocations: 58.98 kB / 257.1 MB, free: 2.16 MB / 234.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.005405, allocations: 0 / 257.1 MB, free: 2.16 MB / 234.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 8.666e-05/0.005492, allocations: 85.56 kB / 257.2 MB, free: 2.07 MB / 234.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.041e-05/0.005502, allocations: 8 kB / 257.2 MB, free: 2.062 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.567e-06/0.005506, allocations: 0 / 257.2 MB, free: 2.062 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.925e-06/0.005514, allocations: 0 / 257.2 MB, free: 2.062 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.203e-05/0.005586, allocations: 27.92 kB / 257.2 MB, free: 2.035 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.677e-06/0.005589, allocations: 4 kB / 257.2 MB, free: 2.031 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.47e-05/0.005614, allocations: 7.953 kB / 257.2 MB, free: 2.023 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.24e-06/0.005619, allocations: 4 kB / 257.2 MB, free: 2.02 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 7.254e-05/0.005692, allocations: 164.5 kB / 257.4 MB, free: 1.848 MB / 234.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.803e-05/0.00571, allocations: 11.95 kB / 257.4 MB, free: 1.832 MB / 234.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.711e-05/0.005737, allocations: 16.48 kB / 257.4 MB, free: 1.816 MB / 234.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.014e-06/0.005739, allocations: 0 / 257.4 MB, free: 1.816 MB / 234.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.513e-06/0.00574, allocations: 0 / 257.4 MB, free: 1.816 MB / 234.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.428e-06/0.005745, allocations: 0 / 257.4 MB, free: 1.816 MB / 234.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001088/0.005854, allocations: 117.2 kB / 257.6 MB, free: 1.676 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.123e-06/0.005855, allocations: 256 / 257.6 MB, free: 1.676 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.35e-05/0.005918, allocations: 23.94 kB / 257.6 MB, free: 1.652 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.12e-07/0.005919, allocations: 0 / 257.6 MB, free: 1.652 MB / 234.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.071e-05/0.00593, allocations: 4 kB / 257.6 MB, free: 1.648 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.005932, allocations: 7.984 kB / 257.6 MB, free: 1.641 MB / 234.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.71e-07/0.005932, allocations: 0 / 257.6 MB, free: 1.641 MB / 234.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001418/0.006074, allocations: 227.8 kB / 257.8 MB, free: 1.398 MB / 234.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.193e-06/0.006081, allocations: 7.938 kB / 257.8 MB, free: 1.391 MB / 234.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.694e-05/0.006098, allocations: 7.984 kB / 257.8 MB, free: 1.383 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.018e-05/0.006128, allocations: 4 kB / 257.8 MB, free: 1.379 MB / 234.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.109e-05/0.006139, allocations: 0 / 257.8 MB, free: 1.379 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.515e-06/0.006142, allocations: 0 / 257.8 MB, free: 1.379 MB / 234.7 MB Notification: Performance of sorting global known variables: time 3.484e-05/0.006177, allocations: 127.2 kB / 258 MB, free: 1.254 MB / 234.7 MB Notification: Performance of sort global known variables: time 5e-08/0.006177, allocations: 0 / 258 MB, free: 1.254 MB / 234.7 MB Notification: Performance of remove unused functions: time 0.0001549/0.006331, allocations: 27.95 kB / 258 MB, free: 1.227 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 7.486e-05/0.006406, allocations: 99.22 kB / 258.1 MB, free: 1.121 MB / 234.7 MB Notification: Performance of simCode: created initialization part: time 8.926e-05/0.006496, allocations: 51.98 kB / 258.1 MB, free: 1.066 MB / 234.7 MB Notification: Performance of simCode: created event and clocks part: time 1.042e-06/0.006497, allocations: 0 / 258.1 MB, free: 1.066 MB / 234.7 MB Notification: Performance of simCode: created simulation system equations: time 2.156e-05/0.006518, allocations: 27.66 kB / 258.2 MB, free: 1.035 MB / 234.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001733/0.006691, allocations: 15.92 kB / 258.2 MB, free: 1.02 MB / 234.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004772/0.007169, allocations: 269.5 kB / 258.4 MB, free: 0.7305 MB / 234.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.533e-05/0.007204, allocations: 59.34 kB / 258.5 MB, free: 0.6523 MB / 234.7 MB Notification: Performance of simCode: alias equations: time 2.493e-05/0.007229, allocations: 11.98 kB / 258.5 MB, free: 0.6406 MB / 234.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.135e-05/0.00728, allocations: 82.19 kB / 258.6 MB, free: 0.5586 MB / 234.7 MB Notification: Performance of SimCode: time 6.11e-07/0.007281, allocations: 0 / 258.6 MB, free: 0.5586 MB / 234.7 MB Notification: Performance of Templates: time 0.00212/0.009401, allocations: 0.6712 MB / 259.3 MB, free: 15.89 MB / 250.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 -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,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.6974070030264556]