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.001782/0.001782, allocations: 107.6 kB / 21.18 MB, free: 0.5273 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.001447/0.001447, allocations: 206.1 kB / 24.48 MB, free: 3.695 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.443/1.443, allocations: 230.6 MB / 258.3 MB, free: 7.777 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.001517/0.001517, allocations: 47.92 kB / 378.9 MB, free: 2.473 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2534/0.2549, allocations: 53.37 MB / 432.3 MB, free: 6.684 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.TwoMasses): time 0.003243/0.2582, allocations: 1.599 MB / 433.9 MB, free: 5.082 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009707/0.2592, allocations: 0.5143 MB / 434.4 MB, free: 4.562 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.446e-05/0.2592, allocations: 4 kB / 434.4 MB, free: 4.559 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 4.921e-05/0.2593, allocations: 11.86 kB / 434.4 MB, free: 4.547 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 7.661e-05/0.2593, allocations: 31.77 kB / 434.5 MB, free: 4.516 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001946/0.2595, allocations: 27.91 kB / 434.5 MB, free: 4.488 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001491/0.2597, allocations: 107.5 kB / 434.6 MB, free: 4.383 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001225/0.2598, allocations: 27.64 kB / 434.6 MB, free: 4.359 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.861e-05/0.2598, allocations: 35.92 kB / 434.7 MB, free: 4.324 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.172e-05/0.2599, allocations: 47.83 kB / 434.7 MB, free: 4.277 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.024e-05/0.26, allocations: 8 kB / 434.7 MB, free: 4.27 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.182e-05/0.26, allocations: 8 kB / 434.7 MB, free: 4.262 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 2.767e-05/0.2601, allocations: 23.86 kB / 434.8 MB, free: 4.238 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.75e-05/0.2601, allocations: 39.88 kB / 434.8 MB, free: 4.199 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001752/0.2603, allocations: 98.62 kB / 434.9 MB, free: 4.105 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.2603, allocations: 0 / 434.9 MB, free: 4.105 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.2603, allocations: 0 / 434.9 MB, free: 4.105 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.503e-06/0.2603, allocations: 0 / 434.9 MB, free: 4.105 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.00049/0.2608, allocations: 306.1 kB / 435.2 MB, free: 3.777 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.532e-05/0.2608, allocations: 8.031 kB / 435.2 MB, free: 3.77 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001202/0.2609, allocations: 12.89 kB / 435.2 MB, free: 3.758 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001272/0.2611, allocations: 114.4 kB / 435.3 MB, free: 3.621 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.765e-05/0.2611, allocations: 16.31 kB / 435.3 MB, free: 3.605 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.029e-05/0.2611, allocations: 8.375 kB / 435.3 MB, free: 3.598 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001777/0.2613, allocations: 88.67 kB / 435.4 MB, free: 3.508 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.368e-05/0.2613, allocations: 4 kB / 435.4 MB, free: 3.504 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.412e-05/0.2613, allocations: 4 kB / 435.4 MB, free: 3.5 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.809e-06/0.2613, allocations: 0 / 435.4 MB, free: 3.5 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001243/0.2614, allocations: 55.95 kB / 435.5 MB, free: 3.445 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006541/0.2621, allocations: 324.2 kB / 435.8 MB, free: 3.098 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001362/0.2622, allocations: 66.56 kB / 435.9 MB, free: 3.023 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.225e-05/0.2623, allocations: 36.84 kB / 435.9 MB, free: 2.984 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.735e-05/0.2623, allocations: 4 kB / 435.9 MB, free: 2.98 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.111e-05/0.2623, allocations: 34.5 kB / 435.9 MB, free: 2.938 MB / 334.1 MB Notification: Performance of pre-optimization done (n=8): time 1.142e-06/0.2624, allocations: 0 / 435.9 MB, free: 2.938 MB / 334.1 MB Notification: Performance of matching and sorting (n=8): time 0.000212/0.2626, allocations: 85.83 kB / 436 MB, free: 2.848 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.813e-05/0.2626, allocations: 55.34 kB / 436.1 MB, free: 2.781 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.28e-05/0.2627, allocations: 110 kB / 436.2 MB, free: 2.664 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.974e-05/0.2627, allocations: 33.64 kB / 436.2 MB, free: 2.625 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.728e-05/0.2628, allocations: 99.97 kB / 436.3 MB, free: 2.523 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.598e-05/0.2628, allocations: 31.73 kB / 436.4 MB, free: 2.492 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.434e-05/0.2629, allocations: 29.72 kB / 436.4 MB, free: 2.457 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001471/0.263, allocations: 318.8 kB / 436.7 MB, free: 2.137 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.092e-05/0.2631, allocations: 20 kB / 436.7 MB, free: 2.117 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.663e-05/0.2631, allocations: 46.5 kB / 436.8 MB, free: 2.062 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001107/0.2632, allocations: 66.56 kB / 436.8 MB, free: 1.988 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.794e-06/0.2632, allocations: 0 / 436.8 MB, free: 1.988 MB / 334.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001667/0.2634, allocations: 113.5 kB / 436.9 MB, free: 1.871 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.421e-05/0.2634, allocations: 4 kB / 436.9 MB, free: 1.867 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.482e-06/0.2634, allocations: 8.312 kB / 436.9 MB, free: 1.859 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.383e-05/0.2634, allocations: 0 / 436.9 MB, free: 1.859 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001293/0.2636, allocations: 31.92 kB / 437 MB, free: 1.828 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.467e-06/0.2636, allocations: 4.25 kB / 437 MB, free: 1.824 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.26e-05/0.2636, allocations: 11.89 kB / 437 MB, free: 1.812 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.396e-06/0.2636, allocations: 4 kB / 437 MB, free: 1.809 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 0.0001009/0.2637, allocations: 117.8 kB / 437.1 MB, free: 1.684 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.445e-05/0.2638, allocations: 0 / 437.1 MB, free: 1.684 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.347e-05/0.2638, allocations: 12.38 kB / 437.1 MB, free: 1.668 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.633e-06/0.2638, allocations: 0 / 437.1 MB, free: 1.668 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.223e-06/0.2638, allocations: 7.938 kB / 437.1 MB, free: 1.66 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.809e-06/0.2638, allocations: 3.984 kB / 437.1 MB, free: 1.656 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001787/0.264, allocations: 129.2 kB / 437.3 MB, free: 1.5 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.264, allocations: 0 / 437.3 MB, free: 1.5 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001014/0.2641, allocations: 23.94 kB / 437.3 MB, free: 1.477 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.931e-06/0.2641, allocations: 3.984 kB / 437.3 MB, free: 1.473 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.806e-06/0.2641, allocations: 0 / 437.3 MB, free: 1.473 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.737e-06/0.2641, allocations: 3.984 kB / 437.3 MB, free: 1.469 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.31e-07/0.2641, allocations: 0 / 437.3 MB, free: 1.469 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002354/0.2643, allocations: 187.5 kB / 437.5 MB, free: 1.27 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.544e-05/0.2644, allocations: 19.81 kB / 437.5 MB, free: 1.25 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.939e-05/0.2644, allocations: 8.094 kB / 437.5 MB, free: 1.242 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.472e-05/0.2644, allocations: 0 / 437.5 MB, free: 1.242 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.719e-05/0.2645, allocations: 3.938 kB / 437.5 MB, free: 1.238 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.644e-06/0.2645, allocations: 11.92 kB / 437.5 MB, free: 1.227 MB / 334.1 MB Notification: Performance of sorting global known variables: time 4.983e-05/0.2645, allocations: 83.28 kB / 437.6 MB, free: 1.145 MB / 334.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2645, allocations: 0 / 437.6 MB, free: 1.145 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002417/0.2648, allocations: 24 kB / 437.6 MB, free: 1.121 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 0.0001137/0.2649, allocations: 91.25 kB / 437.7 MB, free: 1.023 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001461/0.265, allocations: 55.98 kB / 437.8 MB, free: 0.9688 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.265, allocations: 4 kB / 437.8 MB, free: 0.9648 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 3.776e-05/0.2651, allocations: 27.98 kB / 437.8 MB, free: 0.9375 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003085/0.2654, allocations: 0 / 437.8 MB, free: 0.9375 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00065/0.266, allocations: 351.8 kB / 438.1 MB, free: 0.5664 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.697e-05/0.2661, allocations: 91.11 kB / 438.2 MB, free: 468 kB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.12e-05/0.2661, allocations: 11.44 kB / 438.2 MB, free: 456 kB / 334.1 MB Notification: Performance of SimCode: time 3e-07/0.2661, allocations: 0 / 438.2 MB, free: 456 kB / 334.1 MB Notification: Performance of Templates: time 0.002621/0.2687, allocations: 1.008 MB / 439.3 MB, free: 15.43 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Thermal/HeatTransfer/Examples/TwoMasses/TwoMasses.csv","/var/lib/jenkins1/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: 6.8516243690392]