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.001876/0.001876, allocations: 103.6 kB / 21.18 MB, free: 0.6445 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.001573/0.001573, allocations: 211 kB / 24.48 MB, free: 3.938 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.453/1.453, allocations: 230.6 MB / 258.2 MB, free: 7.785 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.001626/0.001626, allocations: 55.92 kB / 379 MB, free: 2.488 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2468/0.2484, allocations: 53.37 MB / 432.3 MB, free: 6.734 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.TwoMasses): time 0.002914/0.2513, allocations: 1.597 MB / 433.9 MB, free: 5.133 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009763/0.2523, allocations: 0.526 MB / 434.4 MB, free: 4.602 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.581e-05/0.2524, allocations: 0 / 434.4 MB, free: 4.602 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 4.739e-05/0.2524, allocations: 7.922 kB / 434.5 MB, free: 4.594 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 7.993e-05/0.2525, allocations: 31.7 kB / 434.5 MB, free: 4.562 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002158/0.2527, allocations: 23.97 kB / 434.5 MB, free: 4.539 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001743/0.2529, allocations: 111.5 kB / 434.6 MB, free: 4.43 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001305/0.253, allocations: 27.62 kB / 434.6 MB, free: 4.406 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.621e-05/0.2531, allocations: 35.92 kB / 434.7 MB, free: 4.371 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001006/0.2532, allocations: 31.86 kB / 434.7 MB, free: 4.34 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.221e-05/0.2532, allocations: 8 kB / 434.7 MB, free: 4.332 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.53e-05/0.2533, allocations: 11.98 kB / 434.7 MB, free: 4.32 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 2.524e-05/0.2533, allocations: 19.92 kB / 434.7 MB, free: 4.301 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 5.438e-05/0.2533, allocations: 39.86 kB / 434.8 MB, free: 4.262 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001875/0.2535, allocations: 102.6 kB / 434.9 MB, free: 4.164 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.2535, allocations: 0 / 434.9 MB, free: 4.164 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.392e-06/0.2535, allocations: 0 / 434.9 MB, free: 4.164 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.56e-06/0.2535, allocations: 4 kB / 434.9 MB, free: 4.16 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.0005259/0.2541, allocations: 302.1 kB / 435.2 MB, free: 3.836 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.51e-05/0.2541, allocations: 8.031 kB / 435.2 MB, free: 3.828 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001283/0.2542, allocations: 12.89 kB / 435.2 MB, free: 3.816 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001419/0.2544, allocations: 118.4 kB / 435.3 MB, free: 3.676 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.674e-05/0.2544, allocations: 4.375 kB / 435.3 MB, free: 3.672 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.155e-05/0.2544, allocations: 12.38 kB / 435.3 MB, free: 3.66 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001824/0.2546, allocations: 85.97 kB / 435.4 MB, free: 3.57 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.362e-05/0.2546, allocations: 0 / 435.4 MB, free: 3.57 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.448e-05/0.2546, allocations: 8 kB / 435.4 MB, free: 3.562 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.649e-06/0.2546, allocations: 0 / 435.4 MB, free: 3.562 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001337/0.2548, allocations: 59.89 kB / 435.5 MB, free: 3.504 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007023/0.2555, allocations: 320.2 kB / 435.8 MB, free: 3.16 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001549/0.2556, allocations: 70.5 kB / 435.9 MB, free: 3.082 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.106e-05/0.2557, allocations: 36.78 kB / 435.9 MB, free: 3.043 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.699e-05/0.2557, allocations: 4 kB / 435.9 MB, free: 3.039 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.155e-05/0.2557, allocations: 30.56 kB / 435.9 MB, free: 3 MB / 334.1 MB Notification: Performance of pre-optimization done (n=8): time 1.352e-06/0.2557, allocations: 4 kB / 435.9 MB, free: 2.996 MB / 334.1 MB Notification: Performance of matching and sorting (n=8): time 0.0002361/0.256, allocations: 89.84 kB / 436 MB, free: 2.902 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.776e-05/0.256, allocations: 55.34 kB / 436.1 MB, free: 2.836 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001018/0.2561, allocations: 114.1 kB / 436.2 MB, free: 2.715 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.884e-05/0.2562, allocations: 29.7 kB / 436.2 MB, free: 2.68 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.276e-05/0.2562, allocations: 107.9 kB / 436.3 MB, free: 2.57 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.151e-05/0.2563, allocations: 31.75 kB / 436.4 MB, free: 2.539 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.693e-05/0.2563, allocations: 25.7 kB / 436.4 MB, free: 2.508 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001646/0.2565, allocations: 318.8 kB / 436.7 MB, free: 2.188 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.505e-05/0.2565, allocations: 19.98 kB / 436.7 MB, free: 2.168 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.041e-05/0.2566, allocations: 42.56 kB / 436.8 MB, free: 2.117 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001048/0.2567, allocations: 70.52 kB / 436.8 MB, free: 2.039 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.043e-06/0.2567, allocations: 0 / 436.8 MB, free: 2.039 MB / 334.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001725/0.2569, allocations: 117.4 kB / 436.9 MB, free: 1.918 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.151e-05/0.2569, allocations: 8 kB / 436.9 MB, free: 1.91 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.601e-06/0.2569, allocations: 0 / 436.9 MB, free: 1.91 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.62e-05/0.2569, allocations: 0 / 436.9 MB, free: 1.91 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001529/0.2571, allocations: 23.98 kB / 437 MB, free: 1.887 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.047e-06/0.2571, allocations: 3.938 kB / 437 MB, free: 1.883 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.656e-05/0.2571, allocations: 15.95 kB / 437 MB, free: 1.867 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.135e-05/0.2571, allocations: 8 kB / 437 MB, free: 1.859 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 9.497e-05/0.2572, allocations: 117.8 kB / 437.1 MB, free: 1.734 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.58e-05/0.2573, allocations: 4 kB / 437.1 MB, free: 1.73 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.435e-05/0.2573, allocations: 8.375 kB / 437.1 MB, free: 1.719 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.254e-06/0.2573, allocations: 0 / 437.1 MB, free: 1.719 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.975e-06/0.2573, allocations: 3.938 kB / 437.1 MB, free: 1.715 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.785e-06/0.2573, allocations: 0 / 437.1 MB, free: 1.715 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001774/0.2575, allocations: 133.2 kB / 437.3 MB, free: 1.555 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.2575, allocations: 0 / 437.3 MB, free: 1.555 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001053/0.2576, allocations: 20 kB / 437.3 MB, free: 1.535 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.853e-06/0.2576, allocations: 0 / 437.3 MB, free: 1.535 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.227e-06/0.2576, allocations: 0 / 437.3 MB, free: 1.535 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-06/0.2576, allocations: 0 / 437.3 MB, free: 1.535 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.731e-06/0.2576, allocations: 7.984 kB / 437.3 MB, free: 1.527 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002313/0.2578, allocations: 195.4 kB / 437.5 MB, free: 1.32 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.181e-05/0.2579, allocations: 7.891 kB / 437.5 MB, free: 1.312 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.977e-05/0.2579, allocations: 8.016 kB / 437.5 MB, free: 1.305 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.599e-05/0.2579, allocations: 0 / 437.5 MB, free: 1.305 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.615e-05/0.258, allocations: 3.938 kB / 437.5 MB, free: 1.301 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.565e-06/0.258, allocations: 8 kB / 437.5 MB, free: 1.293 MB / 334.1 MB Notification: Performance of sorting global known variables: time 5e-05/0.258, allocations: 91.58 kB / 437.6 MB, free: 1.203 MB / 334.1 MB Notification: Performance of sort global known variables: time 5e-08/0.258, allocations: 0 / 437.6 MB, free: 1.203 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002461/0.2583, allocations: 24 kB / 437.6 MB, free: 1.18 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.0001025/0.2584, allocations: 91.25 kB / 437.7 MB, free: 1.082 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001427/0.2585, allocations: 55.86 kB / 437.8 MB, free: 1.027 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.2585, allocations: 3.938 kB / 437.8 MB, free: 1.023 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 3.943e-05/0.2585, allocations: 31.92 kB / 437.8 MB, free: 0.9922 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003157/0.2589, allocations: 4 kB / 437.8 MB, free: 0.9883 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006657/0.2595, allocations: 349 kB / 438.1 MB, free: 0.6172 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.851e-05/0.2596, allocations: 83.12 kB / 438.2 MB, free: 0.5156 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.226e-05/0.2596, allocations: 11.44 kB / 438.2 MB, free: 0.5039 MB / 334.1 MB Notification: Performance of SimCode: time 3.5e-07/0.2596, allocations: 0 / 438.2 MB, free: 0.5039 MB / 334.1 MB Notification: Performance of Templates: time 0.002668/0.2623, allocations: 1.016 MB / 439.3 MB, free: 15.48 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: 7.0402098461054265]