Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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.001097/0.001097, allocations: 79.73 kB / 21.97 MB, free: 2.598 MB / 18.57 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.001233/0.001233, allocations: 175.7 kB / 25.33 MB, free: 7.707 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9404/0.9404, allocations: 158.6 MB / 187.2 MB, free: 2.934 MB / 170.7 MB " [Timeout remaining time 179] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_Modelica.Thermal.HeatTransfer.Examples.TwoMasses") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.422e-06/1.422e-06, allocations: 0 / 251 MB, free: 7.551 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.136e-05/2.278e-05, allocations: 10.31 kB / 251 MB, free: 7.539 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.TwoMasses): time 0.001863/0.001886, allocations: 1.668 MB / 252.7 MB, free: 5.859 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006642/0.00255, allocations: 0.5152 MB / 253.2 MB, free: 5.336 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.849e-05/0.002608, allocations: 0 / 253.2 MB, free: 5.336 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 4.767e-05/0.002656, allocations: 11.92 kB / 253.2 MB, free: 5.324 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 6.693e-05/0.002723, allocations: 27.72 kB / 253.2 MB, free: 5.297 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002278/0.002951, allocations: 27.89 kB / 253.3 MB, free: 5.27 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001094/0.00306, allocations: 107.5 kB / 253.4 MB, free: 5.164 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001088/0.003169, allocations: 31.92 kB / 253.4 MB, free: 5.133 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.792e-05/0.003227, allocations: 59.88 kB / 253.5 MB, free: 5.074 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.782e-05/0.003305, allocations: 31.91 kB / 253.5 MB, free: 5.043 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 1.933e-05/0.003324, allocations: 8 kB / 253.5 MB, free: 5.035 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.593e-05/0.00339, allocations: 12 kB / 253.5 MB, free: 5.023 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 1.961e-05/0.003409, allocations: 19.91 kB / 253.5 MB, free: 5.004 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 3.067e-05/0.00344, allocations: 31.98 kB / 253.6 MB, free: 4.973 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001353/0.003575, allocations: 71.73 kB / 253.6 MB, free: 4.902 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.994e-06/0.003577, allocations: 0 / 253.6 MB, free: 4.902 MB / 234.7 MB Notification: Performance of FrontEnd: time 1.032e-06/0.003578, allocations: 0 / 253.6 MB, free: 4.902 MB / 234.7 MB Notification: Performance of Transformations before backend: time 4.488e-06/0.003583, allocations: 4 kB / 253.6 MB, free: 4.898 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.0003638/0.003947, allocations: 400.5 kB / 254 MB, free: 4.473 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.756e-05/0.003984, allocations: 11.98 kB / 254 MB, free: 4.461 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001166/0.004101, allocations: 32.77 kB / 254.1 MB, free: 4.43 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.336e-05/0.004184, allocations: 116.5 kB / 254.2 MB, free: 4.289 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.303e-05/0.004197, allocations: 4.375 kB / 254.2 MB, free: 4.285 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.149e-05/0.004219, allocations: 8.375 kB / 254.2 MB, free: 4.277 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001125/0.004331, allocations: 70.22 kB / 254.3 MB, free: 4.203 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.161e-05/0.004343, allocations: 4.188 kB / 254.3 MB, free: 4.199 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.768e-06/0.004353, allocations: 4.375 kB / 254.3 MB, free: 4.195 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.698e-06/0.004362, allocations: 3.938 kB / 254.3 MB, free: 4.191 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.928e-05/0.004432, allocations: 43.86 kB / 254.3 MB, free: 4.148 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004941/0.004926, allocations: 367.4 kB / 254.7 MB, free: 3.754 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001052/0.005031, allocations: 63.05 kB / 254.7 MB, free: 3.68 MB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.868e-05/0.00507, allocations: 27.67 kB / 254.8 MB, free: 3.648 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.436e-06/0.005078, allocations: 3.938 kB / 254.8 MB, free: 3.645 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.031e-05/0.005098, allocations: 37.39 kB / 254.8 MB, free: 3.598 MB / 234.7 MB Notification: Performance of pre-optimization done (n=8): time 1.533e-06/0.0051, allocations: 4 kB / 254.8 MB, free: 3.594 MB / 234.7 MB Notification: Performance of matching and sorting (n=8): time 0.0001784/0.005278, allocations: 81.73 kB / 254.9 MB, free: 3.508 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.459e-05/0.005313, allocations: 51.41 kB / 254.9 MB, free: 3.445 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.365e-05/0.005386, allocations: 173.9 kB / 255.1 MB, free: 3.258 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 1.121e-05/0.005398, allocations: 29.7 kB / 255.1 MB, free: 3.223 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.245e-05/0.00545, allocations: 142.7 kB / 255.3 MB, free: 3.078 MB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.008e-05/0.00547, allocations: 35.88 kB / 255.3 MB, free: 3.043 MB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.393e-05/0.005504, allocations: 35.33 kB / 255.3 MB, free: 3 MB / 234.7 MB Notification: Performance of setup shared object (initialization): time 9.801e-05/0.005602, allocations: 0.4922 MB / 255.8 MB, free: 2.496 MB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.338e-05/0.005626, allocations: 15.98 kB / 255.9 MB, free: 2.48 MB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.834e-05/0.005664, allocations: 50.67 kB / 255.9 MB, free: 2.422 MB / 234.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.938e-05/0.005723, allocations: 59 kB / 256 MB, free: 2.352 MB / 234.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/0.005726, allocations: 4 kB / 256 MB, free: 2.348 MB / 234.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 9.503e-05/0.005821, allocations: 97.48 kB / 256.1 MB, free: 2.246 MB / 234.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.209e-05/0.005833, allocations: 7.984 kB / 256.1 MB, free: 2.238 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.989e-06/0.005838, allocations: 0 / 256.1 MB, free: 2.238 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.262e-05/0.005851, allocations: 4 kB / 256.1 MB, free: 2.234 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.376e-05/0.005934, allocations: 23.94 kB / 256.1 MB, free: 2.211 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.268e-06/0.005939, allocations: 4.062 kB / 256.1 MB, free: 2.207 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.355e-05/0.005962, allocations: 7.953 kB / 256.1 MB, free: 2.199 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.614e-06/0.00597, allocations: 11.92 kB / 256.1 MB, free: 2.188 MB / 234.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 5.716e-05/0.006027, allocations: 160.6 kB / 256.3 MB, free: 2.02 MB / 234.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.614e-05/0.006043, allocations: 7.953 kB / 256.3 MB, free: 2.012 MB / 234.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.249e-05/0.006066, allocations: 8.438 kB / 256.3 MB, free: 2.004 MB / 234.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.176e-06/0.006069, allocations: 4 kB / 256.3 MB, free: 2 MB / 234.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.524e-06/0.006071, allocations: 0 / 256.3 MB, free: 2 MB / 234.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.335e-06/0.006074, allocations: 0 / 256.3 MB, free: 2 MB / 234.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.199e-05/0.006166, allocations: 132.6 kB / 256.4 MB, free: 1.836 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.32e-07/0.006166, allocations: 4 kB / 256.4 MB, free: 1.832 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.755e-05/0.006224, allocations: 23.92 kB / 256.5 MB, free: 1.809 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.112e-06/0.006225, allocations: 0 / 256.5 MB, free: 1.809 MB / 234.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.148e-05/0.006236, allocations: 0 / 256.5 MB, free: 1.809 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.442e-06/0.006238, allocations: 4 kB / 256.5 MB, free: 1.805 MB / 234.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.006239, allocations: 0 / 256.5 MB, free: 1.805 MB / 234.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001402/0.006379, allocations: 235.8 kB / 256.7 MB, free: 1.551 MB / 234.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.436e-06/0.006387, allocations: 7.938 kB / 256.7 MB, free: 1.543 MB / 234.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.187e-05/0.006399, allocations: 4 kB / 256.7 MB, free: 1.539 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.651e-05/0.006426, allocations: 0 / 256.7 MB, free: 1.539 MB / 234.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.918e-05/0.006445, allocations: 7.984 kB / 256.7 MB, free: 1.531 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.793e-06/0.006447, allocations: 4.031 kB / 256.7 MB, free: 1.527 MB / 234.7 MB Notification: Performance of sorting global known variables: time 3.083e-05/0.006477, allocations: 135.4 kB / 256.8 MB, free: 1.395 MB / 234.7 MB Notification: Performance of sort global known variables: time 5e-08/0.006477, allocations: 0 / 256.8 MB, free: 1.395 MB / 234.7 MB Notification: Performance of remove unused functions: time 0.0001466/0.006624, allocations: 23.95 kB / 256.9 MB, free: 1.371 MB / 234.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 5.777e-05/0.006682, allocations: 99.19 kB / 257 MB, free: 1.266 MB / 234.7 MB Notification: Performance of simCode: created initialization part: time 9.923e-05/0.006781, allocations: 55.48 kB / 257 MB, free: 1.207 MB / 234.7 MB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.006783, allocations: 0 / 257 MB, free: 1.207 MB / 234.7 MB Notification: Performance of simCode: created simulation system equations: time 2.683e-05/0.00681, allocations: 31.67 kB / 257 MB, free: 1.172 MB / 234.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001658/0.006975, allocations: 4.672 kB / 257.1 MB, free: 1.168 MB / 234.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005114/0.007487, allocations: 269.2 kB / 257.3 MB, free: 0.8789 MB / 234.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.22e-05/0.007519, allocations: 63.34 kB / 257.4 MB, free: 0.7969 MB / 234.7 MB Notification: Performance of simCode: alias equations: time 2.312e-05/0.007542, allocations: 4 kB / 257.4 MB, free: 0.793 MB / 234.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.25e-05/0.007565, allocations: 12.5 kB / 257.4 MB, free: 0.7773 MB / 234.7 MB Notification: Performance of SimCode: time 5.31e-07/0.007565, allocations: 0 / 257.4 MB, free: 0.7773 MB / 234.7 MB Notification: Performance of Templates: time 0.001979/0.009545, allocations: 0.6241 MB / 258 MB, free: 164 kB / 234.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.TwoMasses.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.TwoMasses.pipe ; mkfifo Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.TwoMasses.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.TwoMasses.pipe >> ../files/Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.TwoMasses.sim & ./Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.TwoMasses -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.TwoMasses.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.TwoMasses_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/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.6465423051267862]