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.001372/0.001372, allocations: 111.1 kB / 20.44 MB, free: 1.176 MB / 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.00152/0.00152, allocations: 204.5 kB / 23.73 MB, free: 4.379 MB / 14.72 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.475/1.475, allocations: 230.6 MB / 257.5 MB, free: 7.789 MB / 206.1 MB " [Timeout remaining time 178] 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 0.001656/0.001656, allocations: 55.91 kB / 378.2 MB, free: 2.465 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2314/0.2331, allocations: 53.35 MB / 431.6 MB, free: 6.719 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.TwoMasses): time 0.002973/0.2361, allocations: 1.609 MB / 433.2 MB, free: 5.105 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001036/0.2371, allocations: 0.5183 MB / 433.7 MB, free: 4.582 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.636e-05/0.2372, allocations: 0 / 433.7 MB, free: 4.582 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 6.202e-05/0.2372, allocations: 15.86 kB / 433.7 MB, free: 4.566 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 8.481e-05/0.2373, allocations: 23.78 kB / 433.7 MB, free: 4.543 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002026/0.2375, allocations: 31.89 kB / 433.8 MB, free: 4.512 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001569/0.2377, allocations: 99.53 kB / 433.9 MB, free: 4.414 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001148/0.2378, allocations: 27.98 kB / 433.9 MB, free: 4.387 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.09e-05/0.2378, allocations: 39.91 kB / 433.9 MB, free: 4.348 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.997e-05/0.2379, allocations: 39.84 kB / 434 MB, free: 4.309 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.058e-05/0.2379, allocations: 8 kB / 434 MB, free: 4.301 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.585e-05/0.238, allocations: 12 kB / 434 MB, free: 4.289 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 3.448e-05/0.238, allocations: 19.92 kB / 434 MB, free: 4.27 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 5.355e-05/0.2381, allocations: 39.86 kB / 434 MB, free: 4.23 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001664/0.2383, allocations: 101.9 kB / 434.1 MB, free: 4.137 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.2383, allocations: 0 / 434.1 MB, free: 4.137 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.674e-06/0.2383, allocations: 0 / 434.1 MB, free: 4.137 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.44e-06/0.2383, allocations: 0 / 434.1 MB, free: 4.137 MB / 334.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.0004695/0.2387, allocations: 306.1 kB / 434.4 MB, free: 3.809 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.082e-05/0.2388, allocations: 8.031 kB / 434.4 MB, free: 3.801 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000126/0.2389, allocations: 16.88 kB / 434.5 MB, free: 3.785 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001216/0.239, allocations: 118.4 kB / 434.6 MB, free: 3.645 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.458e-05/0.2391, allocations: 4.375 kB / 434.6 MB, free: 3.641 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.808e-05/0.2391, allocations: 8.375 kB / 434.6 MB, free: 3.633 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001825/0.2393, allocations: 89.97 kB / 434.7 MB, free: 3.539 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.547e-05/0.2393, allocations: 11.86 kB / 434.7 MB, free: 3.527 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.869e-06/0.2393, allocations: 0 / 434.7 MB, free: 3.527 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.261e-06/0.2393, allocations: 8 kB / 434.7 MB, free: 3.52 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001116/0.2394, allocations: 51.97 kB / 434.7 MB, free: 3.469 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006468/0.2401, allocations: 324.2 kB / 435.1 MB, free: 3.121 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001446/0.2402, allocations: 66.55 kB / 435.1 MB, free: 3.047 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.845e-05/0.2403, allocations: 32.84 kB / 435.2 MB, free: 3.012 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.424e-06/0.2403, allocations: 3.938 kB / 435.2 MB, free: 3.008 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.302e-05/0.2403, allocations: 30.56 kB / 435.2 MB, free: 2.969 MB / 334.1 MB Notification: Performance of pre-optimization done (n=8): time 1.152e-06/0.2403, allocations: 0 / 435.2 MB, free: 2.969 MB / 334.1 MB Notification: Performance of matching and sorting (n=8): time 0.0002147/0.2405, allocations: 97.61 kB / 435.3 MB, free: 2.867 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.953e-05/0.2405, allocations: 55.34 kB / 435.3 MB, free: 2.801 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.956e-05/0.2406, allocations: 110 kB / 435.4 MB, free: 2.684 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.799e-05/0.2406, allocations: 29.7 kB / 435.5 MB, free: 2.648 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.77e-05/0.2407, allocations: 95.98 kB / 435.6 MB, free: 2.551 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.691e-05/0.2407, allocations: 31.73 kB / 435.6 MB, free: 2.52 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.706e-05/0.2408, allocations: 29.7 kB / 435.6 MB, free: 2.484 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001374/0.2409, allocations: 314.8 kB / 435.9 MB, free: 2.168 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.127e-05/0.241, allocations: 23.98 kB / 436 MB, free: 2.145 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.449e-05/0.241, allocations: 46.56 kB / 436 MB, free: 2.09 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001035/0.2411, allocations: 70.77 kB / 436.1 MB, free: 2.012 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.764e-06/0.2411, allocations: 0 / 436.1 MB, free: 2.012 MB / 334.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001716/0.2413, allocations: 105.5 kB / 436.2 MB, free: 1.902 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.29e-05/0.2413, allocations: 8 kB / 436.2 MB, free: 1.895 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.747e-06/0.2413, allocations: 0 / 436.2 MB, free: 1.895 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.451e-05/0.2414, allocations: 3.984 kB / 436.2 MB, free: 1.891 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001275/0.2415, allocations: 23.94 kB / 436.2 MB, free: 1.867 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.228e-06/0.2415, allocations: 7.938 kB / 436.2 MB, free: 1.859 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.963e-05/0.2415, allocations: 11.95 kB / 436.2 MB, free: 1.848 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.456e-06/0.2415, allocations: 8 kB / 436.2 MB, free: 1.84 MB / 334.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 8.665e-05/0.2416, allocations: 117.8 kB / 436.4 MB, free: 1.715 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.748e-05/0.2417, allocations: 4 kB / 436.4 MB, free: 1.711 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.332e-05/0.2417, allocations: 12.38 kB / 436.4 MB, free: 1.695 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.664e-06/0.2417, allocations: 0 / 436.4 MB, free: 1.695 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.173e-05/0.2417, allocations: 7.938 kB / 436.4 MB, free: 1.688 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.565e-06/0.2417, allocations: 0 / 436.4 MB, free: 1.688 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001605/0.2419, allocations: 125.4 kB / 436.5 MB, free: 1.535 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.2419, allocations: 0 / 436.5 MB, free: 1.535 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001093/0.242, allocations: 19.98 kB / 436.5 MB, free: 1.516 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.974e-06/0.242, allocations: 7.938 kB / 436.5 MB, free: 1.508 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.056e-05/0.242, allocations: 4 kB / 436.5 MB, free: 1.504 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.022e-06/0.242, allocations: 0 / 436.5 MB, free: 1.504 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.31e-07/0.242, allocations: 0 / 436.5 MB, free: 1.504 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002184/0.2422, allocations: 195.8 kB / 436.7 MB, free: 1.297 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.73e-05/0.2422, allocations: 11.92 kB / 436.7 MB, free: 1.285 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.361e-05/0.2422, allocations: 0 / 436.7 MB, free: 1.285 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.329e-05/0.2423, allocations: 4 kB / 436.7 MB, free: 1.281 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.261e-05/0.2423, allocations: 19.8 kB / 436.8 MB, free: 1.262 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.777e-06/0.2423, allocations: 0 / 436.8 MB, free: 1.262 MB / 334.1 MB Notification: Performance of sorting global known variables: time 5.604e-05/0.2424, allocations: 83.34 kB / 436.8 MB, free: 1.18 MB / 334.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.2424, allocations: 4 kB / 436.8 MB, free: 1.176 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002447/0.2426, allocations: 20 kB / 436.9 MB, free: 1.156 MB / 334.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 9.711e-05/0.2427, allocations: 107.2 kB / 437 MB, free: 1.043 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001296/0.2429, allocations: 51.97 kB / 437 MB, free: 0.9922 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.814e-06/0.2429, allocations: 0 / 437 MB, free: 0.9922 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 3.936e-05/0.2429, allocations: 19.94 kB / 437 MB, free: 0.9727 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002807/0.2432, allocations: 11.98 kB / 437.1 MB, free: 0.9609 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006102/0.2438, allocations: 319.3 kB / 437.4 MB, free: 0.625 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.644e-05/0.2439, allocations: 83.12 kB / 437.4 MB, free: 0.5234 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 4.321e-05/0.2439, allocations: 11.94 kB / 437.5 MB, free: 0.5117 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.855e-05/0.2439, allocations: 15.44 kB / 437.5 MB, free: 0.4961 MB / 334.1 MB Notification: Performance of SimCode: time 3.11e-07/0.2439, allocations: 0 / 437.5 MB, free: 0.4961 MB / 334.1 MB Notification: Performance of Templates: time 0.003131/0.2471, allocations: 0.7266 MB / 438.2 MB, free: 15.79 MB / 350.1 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=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Thermal.HeatTransfer.Examples.TwoMasses.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_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.3085710243321955]