Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Thermal.HeatTransfer.Examples.TwoMasses.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000799/0.000799, allocations: 76.48 kB / 9.931 MB, free: 0.7617 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001327/0.002126, allocations: 449.7 kB / 10.37 MB, free: 332 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.000958/0.000958, allocations: 148.9 kB / 11.24 MB, free: 2.934 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001706/0.002664, allocations: 459.6 kB / 11.69 MB, free: 2.48 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.063/1.063, allocations: 173.4 MB / 185.8 MB, free: 8.988 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08654/1.149, allocations: 52.5 MB / 238.3 MB, free: 4.43 MB / 234.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0_Modelica.Thermal.HeatTransfer.Examples.TwoMasses") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.392e-06/1.392e-06, allocations: 0 / 239.5 MB, free: 3.203 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.015e-05/2.154e-05, allocations: 6.312 kB / 239.5 MB, free: 3.195 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.TwoMasses): time 0.002616/0.002637, allocations: 1.7 MB / 241.2 MB, free: 1.484 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005818/0.003219, allocations: 0.5275 MB / 241.8 MB, free: 0.9531 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.799e-05/0.003267, allocations: 4 kB / 241.8 MB, free: 0.9492 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 3.678e-05/0.003304, allocations: 7.875 kB / 241.8 MB, free: 0.9414 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 4.353e-05/0.003348, allocations: 27.72 kB / 241.8 MB, free: 0.9141 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001012/0.003449, allocations: 27.89 kB / 241.8 MB, free: 0.8867 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001114/0.00356, allocations: 111.4 kB / 241.9 MB, free: 0.7773 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001027/0.003663, allocations: 27.98 kB / 242 MB, free: 0.75 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.338e-05/0.003736, allocations: 55.94 kB / 242 MB, free: 0.6953 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.179e-05/0.003818, allocations: 23.91 kB / 242 MB, free: 0.6719 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 1.857e-05/0.003837, allocations: 12 kB / 242 MB, free: 0.6602 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.553e-05/0.003912, allocations: 16 kB / 242.1 MB, free: 0.6445 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 1.676e-05/0.003929, allocations: 15.94 kB / 242.1 MB, free: 0.6289 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 2.798e-05/0.003957, allocations: 27.94 kB / 242.1 MB, free: 0.6016 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001348/0.004092, allocations: 63.77 kB / 242.2 MB, free: 0.5391 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.573e-05/0.004107, allocations: 7.922 kB / 242.2 MB, free: 0.5312 MB / 234.7 MB Notification: Performance of FrontEnd: time 1.533e-06/0.004109, allocations: 0 / 242.2 MB, free: 0.5312 MB / 234.7 MB Notification: Performance of Transformations before backend: time 1.599e-05/0.004125, allocations: 0 / 242.2 MB, free: 0.5312 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.0003989/0.004524, allocations: 300.3 kB / 242.5 MB, free: 220 kB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.15e-05/0.004555, allocations: 8.031 kB / 242.5 MB, free: 212 kB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001457/0.004701, allocations: 106 kB / 242.6 MB, free: 88 kB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.478e-05/0.004796, allocations: 113.7 kB / 242.7 MB, free: 15.95 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.192e-05/0.004808, allocations: 4.375 kB / 242.7 MB, free: 15.95 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.98e-05/0.004828, allocations: 12.33 kB / 242.7 MB, free: 15.93 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.366e-05/0.004921, allocations: 70.16 kB / 242.8 MB, free: 15.86 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.946e-06/0.00493, allocations: 192 / 242.8 MB, free: 15.86 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.028e-05/0.00494, allocations: 8.375 kB / 242.8 MB, free: 15.85 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.292e-06/0.004947, allocations: 3.938 kB / 242.8 MB, free: 15.85 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.278e-05/0.004999, allocations: 23.98 kB / 242.8 MB, free: 15.82 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000375/0.005374, allocations: 263.9 kB / 243.1 MB, free: 15.55 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.821e-05/0.005453, allocations: 46.55 kB / 243.1 MB, free: 15.5 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.25e-05/0.005475, allocations: 21 kB / 243.1 MB, free: 15.47 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.355e-06/0.005483, allocations: 3.984 kB / 243.1 MB, free: 15.47 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.303e-05/0.005507, allocations: 38.5 kB / 243.2 MB, free: 15.42 MB / 250.7 MB Notification: Performance of pre-optimization done (n=8): time 1.353e-06/0.005508, allocations: 0 / 243.2 MB, free: 15.42 MB / 250.7 MB Notification: Performance of matching and sorting (n=8): time 0.00011/0.005618, allocations: 65.66 kB / 243.2 MB, free: 15.35 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.76e-05/0.005646, allocations: 51.41 kB / 243.3 MB, free: 15.29 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.596e-05/0.005701, allocations: 110.7 kB / 243.4 MB, free: 15.17 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.066e-05/0.005712, allocations: 33.7 kB / 243.4 MB, free: 15.13 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.935e-05/0.005751, allocations: 96.16 kB / 243.5 MB, free: 15.03 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.202e-05/0.005773, allocations: 39.72 kB / 243.6 MB, free: 14.99 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.173e-05/0.005805, allocations: 33.59 kB / 243.6 MB, free: 14.95 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 7.082e-05/0.005876, allocations: 322.8 kB / 243.9 MB, free: 14.63 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.169e-05/0.005888, allocations: 4 kB / 243.9 MB, free: 14.62 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.11e-05/0.005919, allocations: 42.36 kB / 244 MB, free: 14.58 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.785e-05/0.005967, allocations: 54.47 kB / 244 MB, free: 14.52 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.005969, allocations: 0 / 244 MB, free: 14.52 MB / 250.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 6.68e-05/0.006036, allocations: 73.61 kB / 244.1 MB, free: 14.44 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.169e-05/0.006047, allocations: 8 kB / 244.1 MB, free: 14.43 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.438e-06/0.006052, allocations: 0 / 244.1 MB, free: 14.43 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.267e-06/0.006061, allocations: 0 / 244.1 MB, free: 14.43 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001449/0.006206, allocations: 40.25 kB / 244.1 MB, free: 14.39 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.557e-06/0.00621, allocations: 0 / 244.1 MB, free: 14.39 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.22e-05/0.006232, allocations: 8.25 kB / 244.1 MB, free: 14.39 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.04e-06/0.006237, allocations: 4 kB / 244.1 MB, free: 14.38 MB / 250.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.114e-05/0.006298, allocations: 121.7 kB / 244.3 MB, free: 14.25 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.468e-05/0.006313, allocations: 12.05 kB / 244.3 MB, free: 14.24 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.506e-05/0.006338, allocations: 8.438 kB / 244.3 MB, free: 14.23 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.643e-06/0.006339, allocations: 3.938 kB / 244.3 MB, free: 14.23 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.215e-06/0.006342, allocations: 0 / 244.3 MB, free: 14.23 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.828e-06/0.006345, allocations: 4 kB / 244.3 MB, free: 14.22 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.022e-05/0.006436, allocations: 89.7 kB / 244.4 MB, free: 14.12 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.72e-07/0.006436, allocations: 0 / 244.4 MB, free: 14.12 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.2e-05/0.006508, allocations: 27.98 kB / 244.4 MB, free: 14.09 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.322e-06/0.006515, allocations: 4 kB / 244.4 MB, free: 14.09 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.062e-06/0.006516, allocations: 0 / 244.4 MB, free: 14.09 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.138e-06/0.006525, allocations: 4 kB / 244.4 MB, free: 14.08 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.91e-07/0.006526, allocations: 0 / 244.4 MB, free: 14.08 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.91e-07/0.006526, allocations: 0 / 244.4 MB, free: 14.08 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000109/0.006635, allocations: 175.4 kB / 244.6 MB, free: 13.89 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.306e-06/0.006643, allocations: 0 / 244.6 MB, free: 13.89 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.832e-05/0.006672, allocations: 3.938 kB / 244.6 MB, free: 13.89 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.229e-05/0.006684, allocations: 11.98 kB / 244.6 MB, free: 13.88 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.004e-06/0.006686, allocations: 0 / 244.6 MB, free: 13.88 MB / 250.7 MB Notification: Performance of sorting global known variables: time 1.018e-05/0.006696, allocations: 8.859 kB / 244.6 MB, free: 13.87 MB / 250.7 MB Notification: Performance of sort global known variables: time 4e-08/0.006696, allocations: 0 / 244.6 MB, free: 13.87 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0001257/0.006822, allocations: 27.89 kB / 244.6 MB, free: 13.84 MB / 250.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.471e-05/0.006897, allocations: 84.45 kB / 244.7 MB, free: 13.75 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 7.526e-05/0.006972, allocations: 40.77 kB / 244.8 MB, free: 13.71 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 8.707e-06/0.006981, allocations: 4 kB / 244.8 MB, free: 13.7 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 1.502e-05/0.006996, allocations: 20.84 kB / 244.8 MB, free: 13.68 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001249/0.007121, allocations: 15.94 kB / 244.8 MB, free: 13.66 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00147/0.008591, allocations: 248.4 kB / 245 MB, free: 13.39 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.896e-05/0.00863, allocations: 67.28 kB / 245.1 MB, free: 13.3 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 3.019e-05/0.00866, allocations: 8.719 kB / 245.1 MB, free: 13.29 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.685e-05/0.008707, allocations: 59.38 kB / 245.2 MB, free: 13.23 MB / 250.7 MB Notification: Performance of SimCode: time 9.11e-07/0.008708, allocations: 0 / 245.2 MB, free: 13.23 MB / 250.7 MB Notification: Performance of Templates: time 0.002304/0.01101, allocations: 0.7875 MB / 246 MB, free: 12.46 MB / 250.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Thermal.HeatTransfer.Examples.TwoMasses.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Thermal.HeatTransfer.Examples.TwoMasses.pipe ; mkfifo Modelica_4.0.0_Modelica.Thermal.HeatTransfer.Examples.TwoMasses.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Thermal.HeatTransfer.Examples.TwoMasses.pipe >> ../files/Modelica_4.0.0_Modelica.Thermal.HeatTransfer.Examples.TwoMasses.sim & ./Modelica_4.0.0_Modelica.Thermal.HeatTransfer.Examples.TwoMasses -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_4.0.0_Modelica.Thermal.HeatTransfer.Examples.TwoMasses.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Thermal.HeatTransfer.Examples.TwoMasses_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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.451620635576546]