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.001059/0.001059, allocations: 84.39 kB / 22.21 MB, free: 2.289 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.001253/0.001253, allocations: 162 kB / 25.6 MB, free: 8.891 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.049/1.049, allocations: 158.6 MB / 187.5 MB, free: 2.801 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 2.354e-06/2.354e-06, allocations: 0 / 251.4 MB, free: 7.285 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.494e-05/2.729e-05, allocations: 2.312 kB / 251.4 MB, free: 7.281 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.TwoMasses): time 0.002362/0.002389, allocations: 1.656 MB / 253.1 MB, free: 5.613 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008757/0.003264, allocations: 0.5113 MB / 253.6 MB, free: 5.094 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.333e-05/0.003348, allocations: 4 kB / 253.6 MB, free: 5.09 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 5.516e-05/0.003403, allocations: 15.86 kB / 253.6 MB, free: 5.074 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 7.451e-05/0.003477, allocations: 27.72 kB / 253.7 MB, free: 5.047 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000215/0.003692, allocations: 27.89 kB / 253.7 MB, free: 5.02 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001232/0.003816, allocations: 103.5 kB / 253.8 MB, free: 4.918 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001225/0.003938, allocations: 35.92 kB / 253.8 MB, free: 4.883 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.099e-05/0.004019, allocations: 51.88 kB / 253.9 MB, free: 4.832 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.754e-05/0.004107, allocations: 23.98 kB / 253.9 MB, free: 4.809 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 1.974e-05/0.004126, allocations: 12 kB / 253.9 MB, free: 4.797 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.138e-05/0.004208, allocations: 19.98 kB / 253.9 MB, free: 4.777 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 2.135e-05/0.004229, allocations: 15.92 kB / 253.9 MB, free: 4.762 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 3.185e-05/0.004261, allocations: 39.91 kB / 254 MB, free: 4.723 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001564/0.004417, allocations: 63.81 kB / 254 MB, free: 4.66 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.114e-06/0.00442, allocations: 7.875 kB / 254 MB, free: 4.652 MB / 234.7 MB Notification: Performance of FrontEnd: time 1.833e-06/0.004421, allocations: 0 / 254 MB, free: 4.652 MB / 234.7 MB Notification: Performance of Transformations before backend: time 5.3e-06/0.004427, allocations: 0 / 254 MB, free: 4.652 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.0004154/0.004842, allocations: 404.4 kB / 254.4 MB, free: 4.219 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.817e-05/0.00488, allocations: 15.98 kB / 254.5 MB, free: 4.203 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001081/0.004988, allocations: 28.78 kB / 254.5 MB, free: 4.176 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.408e-05/0.005072, allocations: 112.6 kB / 254.6 MB, free: 4.039 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.231e-05/0.005085, allocations: 8.375 kB / 254.6 MB, free: 4.031 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.11e-05/0.005106, allocations: 12.36 kB / 254.6 MB, free: 4.02 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.905e-05/0.005205, allocations: 66.17 kB / 254.7 MB, free: 3.949 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.026e-05/0.005215, allocations: 192 / 254.7 MB, free: 3.949 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.335e-06/0.005223, allocations: 4.375 kB / 254.7 MB, free: 3.945 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.815e-06/0.005231, allocations: 7.938 kB / 254.7 MB, free: 3.938 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.714e-05/0.005278, allocations: 31.92 kB / 254.7 MB, free: 3.906 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004419/0.00572, allocations: 356 kB / 255.1 MB, free: 3.531 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.959e-05/0.0058, allocations: 59.02 kB / 255.1 MB, free: 3.461 MB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.36e-05/0.005823, allocations: 19.69 kB / 255.1 MB, free: 3.438 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.063e-06/0.005831, allocations: 4 kB / 255.2 MB, free: 3.434 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.957e-05/0.00585, allocations: 41.47 kB / 255.2 MB, free: 3.383 MB / 234.7 MB Notification: Performance of pre-optimization done (n=8): time 1.423e-06/0.005851, allocations: 0 / 255.2 MB, free: 3.383 MB / 234.7 MB Notification: Performance of matching and sorting (n=8): time 0.0001364/0.005988, allocations: 77.8 kB / 255.3 MB, free: 3.301 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.831e-05/0.006016, allocations: 51.41 kB / 255.3 MB, free: 3.238 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.605e-05/0.006092, allocations: 173.8 kB / 255.5 MB, free: 3.051 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 9.889e-06/0.006102, allocations: 25.7 kB / 255.5 MB, free: 3.02 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.26e-05/0.006155, allocations: 150.7 kB / 255.7 MB, free: 2.867 MB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.618e-05/0.006171, allocations: 31.69 kB / 255.7 MB, free: 2.836 MB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.874e-05/0.00621, allocations: 35.36 kB / 255.7 MB, free: 2.793 MB / 234.7 MB Notification: Performance of setup shared object (initialization): time 0.000129/0.006339, allocations: 0.4883 MB / 256.2 MB, free: 2.293 MB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.798e-05/0.006357, allocations: 11.98 kB / 256.2 MB, free: 2.281 MB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.617e-05/0.006393, allocations: 46.97 kB / 256.3 MB, free: 2.223 MB / 234.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.514e-05/0.006448, allocations: 51 kB / 256.3 MB, free: 2.16 MB / 234.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.00645, allocations: 4 kB / 256.3 MB, free: 2.156 MB / 234.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004191/0.006869, allocations: 85.61 kB / 256.4 MB, free: 2.066 MB / 234.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.331e-05/0.006882, allocations: 8 kB / 256.4 MB, free: 2.059 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.16e-06/0.006888, allocations: 0 / 256.4 MB, free: 2.059 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.252e-05/0.0069, allocations: 0 / 256.4 MB, free: 2.059 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.186e-05/0.006982, allocations: 23.94 kB / 256.4 MB, free: 2.035 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.057e-06/0.006986, allocations: 4 kB / 256.4 MB, free: 2.031 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.554e-05/0.007012, allocations: 7.938 kB / 256.5 MB, free: 2.023 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.34e-06/0.007017, allocations: 4 kB / 256.5 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 6.685e-05/0.007084, allocations: 168.6 kB / 256.6 MB, free: 1.844 MB / 234.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.767e-05/0.007101, allocations: 7.953 kB / 256.6 MB, free: 1.836 MB / 234.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.06e-05/0.007132, allocations: 20.38 kB / 256.6 MB, free: 1.816 MB / 234.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.653e-06/0.007134, allocations: 0 / 256.6 MB, free: 1.816 MB / 234.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.963e-06/0.007136, allocations: 0 / 256.6 MB, free: 1.816 MB / 234.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.286e-06/0.007139, allocations: 0 / 256.6 MB, free: 1.816 MB / 234.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000106/0.007245, allocations: 121.1 kB / 256.8 MB, free: 1.672 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.964e-06/0.007247, allocations: 0 / 256.8 MB, free: 1.672 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.946e-05/0.007306, allocations: 20.23 kB / 256.8 MB, free: 1.652 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.613e-06/0.007308, allocations: 0 / 256.8 MB, free: 1.652 MB / 234.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.082e-05/0.007319, allocations: 4 kB / 256.8 MB, free: 1.648 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.703e-06/0.00732, allocations: 8 kB / 256.8 MB, free: 1.641 MB / 234.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.81e-07/0.007321, allocations: 0 / 256.8 MB, free: 1.641 MB / 234.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001647/0.007486, allocations: 231.7 kB / 257 MB, free: 1.395 MB / 234.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.082e-05/0.007497, allocations: 7.938 kB / 257 MB, free: 1.387 MB / 234.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.749e-06/0.007507, allocations: 0 / 257 MB, free: 1.387 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.371e-05/0.00754, allocations: 0 / 257 MB, free: 1.387 MB / 234.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.416e-05/0.007555, allocations: 11.98 kB / 257 MB, free: 1.375 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.655e-06/0.007557, allocations: 0 / 257 MB, free: 1.375 MB / 234.7 MB Notification: Performance of sorting global known variables: time 3.304e-05/0.00759, allocations: 123.2 kB / 257.2 MB, free: 1.254 MB / 234.7 MB Notification: Performance of sort global known variables: time 4e-08/0.00759, allocations: 0 / 257.2 MB, free: 1.254 MB / 234.7 MB Notification: Performance of remove unused functions: time 0.0001612/0.007751, allocations: 27.95 kB / 257.2 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.669e-05/0.007828, allocations: 95.28 kB / 257.3 MB, free: 1.125 MB / 234.7 MB Notification: Performance of simCode: created initialization part: time 8.657e-05/0.007915, allocations: 52.03 kB / 257.3 MB, free: 1.07 MB / 234.7 MB Notification: Performance of simCode: created event and clocks part: time 1.844e-06/0.007917, allocations: 0 / 257.3 MB, free: 1.07 MB / 234.7 MB Notification: Performance of simCode: created simulation system equations: time 2.34e-05/0.00794, allocations: 35.64 kB / 257.4 MB, free: 1.031 MB / 234.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001801/0.00812, allocations: 7.938 kB / 257.4 MB, free: 1.023 MB / 234.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005396/0.00866, allocations: 269.5 kB / 257.6 MB, free: 0.7344 MB / 234.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.896e-05/0.008699, allocations: 63.34 kB / 257.7 MB, free: 0.6523 MB / 234.7 MB Notification: Performance of simCode: alias equations: time 2.817e-05/0.008727, allocations: 7.984 kB / 257.7 MB, free: 0.6445 MB / 234.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.327e-05/0.00878, allocations: 74.2 kB / 257.8 MB, free: 0.5703 MB / 234.7 MB Notification: Performance of SimCode: time 9.52e-07/0.008781, allocations: 0 / 257.8 MB, free: 0.5703 MB / 234.7 MB Notification: Performance of Templates: time 0.002303/0.01108, allocations: 0.6734 MB / 258.5 MB, free: 15.9 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.5914268363267183]