Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Thermal.HeatTransfer.Examples.TwoMasses.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009436/0.0009436, allocations: 84.73 kB / 21.5 MB, free: 2.992 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001135/0.001135, allocations: 166.2 kB / 24.91 MB, free: 8.773 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9846/0.9846, allocations: 177 MB / 205.2 MB, free: 5.449 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Thermal.HeatTransfer.Examples.TwoMasses") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.344e-06/2.344e-06, allocations: 0 / 273.4 MB, free: 1.211 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.575e-05/2.809e-05, allocations: 2.312 kB / 273.4 MB, free: 1.207 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.TwoMasses): time 0.002647/0.002675, allocations: 1.727 MB / 275.1 MB, free: 15.47 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.000902/0.003577, allocations: 0.5492 MB / 275.7 MB, free: 14.91 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.856e-05/0.003646, allocations: 4 kB / 275.7 MB, free: 14.91 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 5.367e-05/0.0037, allocations: 11.86 kB / 275.7 MB, free: 14.9 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 8.98e-05/0.003789, allocations: 35.7 kB / 275.7 MB, free: 14.86 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002186/0.004008, allocations: 31.89 kB / 275.7 MB, free: 14.83 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001244/0.004133, allocations: 99.47 kB / 275.8 MB, free: 14.73 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001188/0.004251, allocations: 27.97 kB / 275.9 MB, free: 14.71 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.851e-05/0.00433, allocations: 51.89 kB / 275.9 MB, free: 14.66 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001024/0.004432, allocations: 31.91 kB / 276 MB, free: 14.62 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.713e-05/0.004459, allocations: 8 kB / 276 MB, free: 14.62 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001028/0.004562, allocations: 15.98 kB / 276 MB, free: 14.6 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 2.197e-05/0.004584, allocations: 15.92 kB / 276 MB, free: 14.59 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 2.983e-05/0.004614, allocations: 31.98 kB / 276 MB, free: 14.55 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001453/0.004759, allocations: 71.69 kB / 276.1 MB, free: 14.48 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.474e-06/0.004762, allocations: 4 kB / 276.1 MB, free: 14.48 MB / 266.7 MB Notification: Performance of FrontEnd: time 9.22e-07/0.004763, allocations: 0 / 276.1 MB, free: 14.48 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.761e-06/0.004768, allocations: 0 / 276.1 MB, free: 14.48 MB / 266.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.0003634/0.005132, allocations: 280.8 kB / 276.4 MB, free: 14.18 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.756e-05/0.005169, allocations: 11.98 kB / 276.4 MB, free: 14.17 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001337/0.005303, allocations: 28.75 kB / 276.4 MB, free: 14.14 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001109/0.005414, allocations: 109.8 kB / 276.5 MB, free: 14.01 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.252e-05/0.005426, allocations: 8.375 kB / 276.5 MB, free: 14 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.327e-05/0.00545, allocations: 12.36 kB / 276.5 MB, free: 13.99 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.631e-05/0.005546, allocations: 74.16 kB / 276.6 MB, free: 13.91 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.039e-05/0.005556, allocations: 192 / 276.6 MB, free: 13.91 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.058e-05/0.005567, allocations: 8.359 kB / 276.6 MB, free: 13.91 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.033e-06/0.005574, allocations: 3.938 kB / 276.6 MB, free: 13.9 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.84e-05/0.005632, allocations: 31.94 kB / 276.7 MB, free: 13.87 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004224/0.006055, allocations: 251.9 kB / 276.9 MB, free: 13.61 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.578e-05/0.006141, allocations: 50.55 kB / 277 MB, free: 13.55 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.679e-05/0.006167, allocations: 24.78 kB / 277 MB, free: 13.52 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.827e-06/0.006176, allocations: 4 kB / 277 MB, free: 13.52 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.152e-05/0.006198, allocations: 34.5 kB / 277 MB, free: 13.48 MB / 266.7 MB Notification: Performance of pre-optimization done (n=8): time 1.663e-06/0.006199, allocations: 0 / 277 MB, free: 13.48 MB / 266.7 MB Notification: Performance of matching and sorting (n=8): time 0.000131/0.00633, allocations: 61.69 kB / 277.1 MB, free: 13.41 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.72e-05/0.006368, allocations: 51.41 kB / 277.1 MB, free: 13.35 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.852e-05/0.006436, allocations: 114.8 kB / 277.2 MB, free: 13.22 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.087e-05/0.006447, allocations: 25.7 kB / 277.3 MB, free: 13.19 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.221e-05/0.006499, allocations: 112.1 kB / 277.4 MB, free: 13.08 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.802e-05/0.006517, allocations: 27.73 kB / 277.4 MB, free: 13.05 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.604e-05/0.006553, allocations: 29.7 kB / 277.4 MB, free: 13.02 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 8.295e-05/0.006636, allocations: 326.8 kB / 277.7 MB, free: 12.69 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.54e-05/0.006652, allocations: 7.984 kB / 277.8 MB, free: 12.68 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.103e-05/0.006683, allocations: 34.5 kB / 277.8 MB, free: 12.64 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.298e-05/0.006736, allocations: 50.55 kB / 277.8 MB, free: 12.58 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.614e-06/0.006738, allocations: 0 / 277.8 MB, free: 12.58 MB / 266.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 8.992e-05/0.006828, allocations: 73.55 kB / 277.9 MB, free: 12.5 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.315e-05/0.006841, allocations: 11.94 kB / 277.9 MB, free: 12.49 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.36e-06/0.006847, allocations: 0 / 277.9 MB, free: 12.49 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.149e-05/0.006858, allocations: 64 / 277.9 MB, free: 12.49 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001385/0.006997, allocations: 38.16 kB / 278 MB, free: 12.45 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.06e-06/0.007002, allocations: 4 kB / 278 MB, free: 12.45 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.774e-05/0.007029, allocations: 7.938 kB / 278 MB, free: 12.44 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.045e-06/0.007037, allocations: 8 kB / 278 MB, free: 12.43 MB / 266.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.636e-05/0.007104, allocations: 109.8 kB / 278.1 MB, free: 12.32 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.847e-05/0.007122, allocations: 8 kB / 278.1 MB, free: 12.31 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.085e-05/0.007153, allocations: 12.44 kB / 278.1 MB, free: 12.29 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.834e-06/0.007155, allocations: 0 / 278.1 MB, free: 12.29 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.424e-06/0.007157, allocations: 3.938 kB / 278.1 MB, free: 12.29 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.488e-06/0.007162, allocations: 7.984 kB / 278.1 MB, free: 12.28 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001091/0.007271, allocations: 81.77 kB / 278.2 MB, free: 12.18 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.924e-06/0.007273, allocations: 4 kB / 278.2 MB, free: 12.18 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.052e-05/0.007363, allocations: 19.98 kB / 278.2 MB, free: 12.16 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.154e-06/0.007365, allocations: 0 / 278.2 MB, free: 12.16 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.179e-05/0.007377, allocations: 11.98 kB / 278.2 MB, free: 12.15 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.422e-06/0.007379, allocations: 0 / 278.2 MB, free: 12.15 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.352e-06/0.00738, allocations: 0 / 278.2 MB, free: 12.15 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001499/0.00753, allocations: 167.8 kB / 278.4 MB, free: 11.97 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.203e-05/0.007542, allocations: 7.891 kB / 278.4 MB, free: 11.96 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.226e-05/0.007554, allocations: 12.03 kB / 278.4 MB, free: 11.95 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.087e-05/0.007585, allocations: 3.984 kB / 278.4 MB, free: 11.95 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.49e-05/0.0076, allocations: 3.984 kB / 278.4 MB, free: 11.94 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.298e-06/0.007604, allocations: 4.25 kB / 278.4 MB, free: 11.94 MB / 266.7 MB Notification: Performance of sorting global known variables: time 1.578e-05/0.00762, allocations: 12.86 kB / 278.4 MB, free: 11.92 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.00762, allocations: 0 / 278.4 MB, free: 11.92 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001391/0.007759, allocations: 20 kB / 278.5 MB, free: 11.9 MB / 266.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 8.79e-05/0.007847, allocations: 80.41 kB / 278.5 MB, free: 11.82 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 8.702e-05/0.007934, allocations: 48.77 kB / 278.6 MB, free: 11.77 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 4.188e-06/0.007938, allocations: 4.125 kB / 278.6 MB, free: 11.76 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 1.669e-05/0.007955, allocations: 16.86 kB / 278.6 MB, free: 11.74 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001605/0.008116, allocations: 19.86 kB / 278.6 MB, free: 11.72 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005885/0.008704, allocations: 248.4 kB / 278.9 MB, free: 11.45 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.146e-05/0.008745, allocations: 63.34 kB / 278.9 MB, free: 11.37 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 3.207e-05/0.008778, allocations: 4.734 kB / 278.9 MB, free: 11.36 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.785e-05/0.008835, allocations: 59.36 kB / 279 MB, free: 11.3 MB / 266.7 MB Notification: Performance of SimCode: time 1.523e-06/0.008837, allocations: 4 kB / 279 MB, free: 11.3 MB / 266.7 MB Notification: Performance of Templates: time 0.002818/0.01165, allocations: 0.7549 MB / 279.7 MB, free: 10.57 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Thermal.HeatTransfer.Examples.TwoMasses.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Thermal.HeatTransfer.Examples.TwoMasses.pipe ; mkfifo Modelica_trunk_Modelica.Thermal.HeatTransfer.Examples.TwoMasses.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Thermal.HeatTransfer.Examples.TwoMasses.pipe >> ../files/Modelica_trunk_Modelica.Thermal.HeatTransfer.Examples.TwoMasses.sim & ./Modelica_trunk_Modelica.Thermal.HeatTransfer.Examples.TwoMasses -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Thermal.HeatTransfer.Examples.TwoMasses.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_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","",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.6593501027673483]