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.001011/0.001011, allocations: 75.75 kB / 21.97 MB, free: 2.602 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.001042/0.001042, allocations: 159.6 kB / 25.32 MB, free: 9.078 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.8834/0.8834, allocations: 158.6 MB / 187.2 MB, free: 2.891 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.443e-06/1.443e-06, allocations: 0 / 251 MB, free: 3.633 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.665e-05/2.809e-05, allocations: 6.109 kB / 251 MB, free: 3.629 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.TwoMasses): time 0.002306/0.002334, allocations: 1.663 MB / 252.7 MB, free: 1.953 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007907/0.003125, allocations: 0.5152 MB / 253.2 MB, free: 1.43 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.053e-05/0.003185, allocations: 0 / 253.2 MB, free: 1.43 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 5.889e-05/0.003244, allocations: 11.86 kB / 253.2 MB, free: 1.418 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 8.156e-05/0.003326, allocations: 31.7 kB / 253.2 MB, free: 1.387 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002485/0.003574, allocations: 27.97 kB / 253.3 MB, free: 1.359 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001654/0.003739, allocations: 107.5 kB / 253.4 MB, free: 1.254 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001605/0.0039, allocations: 31.86 kB / 253.4 MB, free: 1.223 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.568e-05/0.003976, allocations: 55.94 kB / 253.5 MB, free: 1.168 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.026e-05/0.004066, allocations: 31.89 kB / 253.5 MB, free: 1.137 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 1.966e-05/0.004086, allocations: 8 kB / 253.5 MB, free: 1.129 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.302e-05/0.004159, allocations: 12 kB / 253.5 MB, free: 1.117 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 2.154e-05/0.00418, allocations: 19.92 kB / 253.5 MB, free: 1.098 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 3.465e-05/0.004215, allocations: 31.97 kB / 253.6 MB, free: 1.066 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001537/0.004368, allocations: 67.75 kB / 253.6 MB, free: 1 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.877e-06/0.004372, allocations: 4 kB / 253.6 MB, free: 0.9961 MB / 234.7 MB Notification: Performance of FrontEnd: time 1.804e-06/0.004374, allocations: 4 kB / 253.6 MB, free: 0.9922 MB / 234.7 MB Notification: Performance of Transformations before backend: time 5.18e-06/0.004379, allocations: 0 / 253.6 MB, free: 0.9922 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.000574/0.004953, allocations: 404.4 kB / 254 MB, free: 0.5625 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.43e-05/0.004998, allocations: 19.97 kB / 254 MB, free: 0.543 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001302/0.005128, allocations: 20.78 kB / 254.1 MB, free: 0.5234 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.463e-05/0.005212, allocations: 112.6 kB / 254.2 MB, free: 396 kB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.429e-05/0.005227, allocations: 8.375 kB / 254.2 MB, free: 388 kB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.836e-05/0.005255, allocations: 12.38 kB / 254.2 MB, free: 376 kB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001184/0.005373, allocations: 74.09 kB / 254.3 MB, free: 296 kB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.332e-05/0.005387, allocations: 4.188 kB / 254.3 MB, free: 292 kB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.347e-05/0.0054, allocations: 4.375 kB / 254.3 MB, free: 288 kB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.064e-05/0.005411, allocations: 7.938 kB / 254.3 MB, free: 280 kB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.575e-05/0.005487, allocations: 35.92 kB / 254.3 MB, free: 244 kB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005587/0.006045, allocations: 371.4 kB / 254.7 MB, free: 15.84 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001106/0.006156, allocations: 63.03 kB / 254.7 MB, free: 15.77 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.05e-05/0.006196, allocations: 23.69 kB / 254.8 MB, free: 15.74 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.937e-06/0.006205, allocations: 0 / 254.8 MB, free: 15.74 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.431e-05/0.00623, allocations: 49.31 kB / 254.8 MB, free: 15.68 MB / 250.7 MB Notification: Performance of pre-optimization done (n=8): time 1.042e-06/0.006231, allocations: 4 kB / 254.8 MB, free: 15.68 MB / 250.7 MB Notification: Performance of matching and sorting (n=8): time 0.0001879/0.006419, allocations: 77.95 kB / 254.9 MB, free: 15.59 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.249e-05/0.006451, allocations: 51.41 kB / 254.9 MB, free: 15.53 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.627e-05/0.006537, allocations: 173.9 kB / 255.1 MB, free: 15.34 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.063e-05/0.006548, allocations: 25.7 kB / 255.1 MB, free: 15.31 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.255e-05/0.00661, allocations: 150.7 kB / 255.3 MB, free: 15.16 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.834e-05/0.006629, allocations: 27.75 kB / 255.3 MB, free: 15.13 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.891e-05/0.006668, allocations: 35.36 kB / 255.4 MB, free: 15.09 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001158/0.006784, allocations: 0.4883 MB / 255.8 MB, free: 14.59 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.664e-05/0.00681, allocations: 15.98 kB / 255.9 MB, free: 14.57 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.519e-05/0.006855, allocations: 50.98 kB / 255.9 MB, free: 14.51 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.7e-05/0.006922, allocations: 55 kB / 256 MB, free: 14.45 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.355e-06/0.006925, allocations: 0 / 256 MB, free: 14.45 MB / 250.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001239/0.007049, allocations: 97.5 kB / 256.1 MB, free: 14.34 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.749e-05/0.007066, allocations: 10.97 kB / 256.1 MB, free: 14.34 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.969e-06/0.007071, allocations: 0 / 256.1 MB, free: 14.34 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.99e-05/0.007091, allocations: 0 / 256.1 MB, free: 14.34 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001165/0.007207, allocations: 27.94 kB / 256.1 MB, free: 14.31 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.686e-06/0.007216, allocations: 12.05 kB / 256.1 MB, free: 14.3 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.52e-05/0.007241, allocations: 3.953 kB / 256.1 MB, free: 14.29 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.863e-06/0.007248, allocations: 7.938 kB / 256.1 MB, free: 14.29 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 8.362e-05/0.007332, allocations: 160.6 kB / 256.3 MB, free: 14.12 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.911e-05/0.007351, allocations: 4 kB / 256.3 MB, free: 14.11 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.258e-05/0.007384, allocations: 16.42 kB / 256.3 MB, free: 14.1 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.435e-06/0.007386, allocations: 0 / 256.3 MB, free: 14.1 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.727e-06/0.00739, allocations: 0 / 256.3 MB, free: 14.1 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.996e-06/0.007393, allocations: 3.938 kB / 256.3 MB, free: 14.09 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001179/0.007511, allocations: 144.5 kB / 256.4 MB, free: 13.92 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.843e-06/0.007512, allocations: 4 kB / 256.4 MB, free: 13.91 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.729e-05/0.00758, allocations: 16 kB / 256.5 MB, free: 13.9 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.693e-06/0.007581, allocations: 0 / 256.5 MB, free: 13.9 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.319e-05/0.007595, allocations: 0 / 256.5 MB, free: 13.9 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.007596, allocations: 0 / 256.5 MB, free: 13.9 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/0.007597, allocations: 0 / 256.5 MB, free: 13.9 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001773/0.007775, allocations: 239.8 kB / 256.7 MB, free: 13.64 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.838e-06/0.007784, allocations: 3.938 kB / 256.7 MB, free: 13.64 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.417e-05/0.007799, allocations: 11.92 kB / 256.7 MB, free: 13.63 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.198e-05/0.00783, allocations: 7.938 kB / 256.7 MB, free: 13.62 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.654e-05/0.007847, allocations: 4.031 kB / 256.7 MB, free: 13.62 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.268e-06/0.007851, allocations: 4 kB / 256.7 MB, free: 13.61 MB / 250.7 MB Notification: Performance of sorting global known variables: time 3.684e-05/0.007888, allocations: 131.4 kB / 256.9 MB, free: 13.48 MB / 250.7 MB Notification: Performance of sort global known variables: time 5e-08/0.007888, allocations: 0 / 256.9 MB, free: 13.48 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0001657/0.008054, allocations: 27.95 kB / 256.9 MB, free: 13.46 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 8.442e-05/0.008138, allocations: 91.25 kB / 257 MB, free: 13.36 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0001254/0.008264, allocations: 59.53 kB / 257 MB, free: 13.3 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 1.903e-06/0.008266, allocations: 0 / 257 MB, free: 13.3 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 2.169e-05/0.008287, allocations: 20.08 kB / 257 MB, free: 13.27 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002077/0.008495, allocations: 20.25 kB / 257.1 MB, free: 13.25 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007079/0.009203, allocations: 265.2 kB / 257.3 MB, free: 12.97 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.163e-05/0.009255, allocations: 63.34 kB / 257.4 MB, free: 12.89 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 3.023e-05/0.009285, allocations: 4 kB / 257.4 MB, free: 12.88 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.36e-05/0.009318, allocations: 12.5 kB / 257.4 MB, free: 12.87 MB / 250.7 MB Notification: Performance of SimCode: time 1.133e-06/0.009319, allocations: 4 kB / 257.4 MB, free: 12.86 MB / 250.7 MB Notification: Performance of Templates: time 0.002544/0.01186, allocations: 0.5973 MB / 258 MB, free: 12.27 MB / 250.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.79674119502306]