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.001695/0.001695, allocations: 116.5 kB / 18.45 MB, free: 4.562 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.001911/0.001911, allocations: 215.2 kB / 21.42 MB, free: 1.605 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.485/1.485, allocations: 230.6 MB / 254.8 MB, free: 15.21 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.001503/0.001503, allocations: 47.94 kB / 374.1 MB, free: 9.75 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1061/0.1076, allocations: 53.34 MB / 427.5 MB, free: 4.32 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.TwoMasses): time 0.003033/0.1106, allocations: 1.642 MB / 429.1 MB, free: 2.668 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001035/0.1116, allocations: 0.5533 MB / 429.7 MB, free: 2.109 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.315e-05/0.1117, allocations: 0 / 429.7 MB, free: 2.109 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 6.176e-05/0.1118, allocations: 15.86 kB / 429.7 MB, free: 2.094 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 7.809e-05/0.1118, allocations: 23.78 kB / 429.7 MB, free: 2.07 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002403/0.1121, allocations: 35.89 kB / 429.7 MB, free: 2.035 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001525/0.1122, allocations: 95.53 kB / 429.8 MB, free: 1.941 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001436/0.1124, allocations: 31.98 kB / 429.9 MB, free: 1.91 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.905e-05/0.1124, allocations: 35.91 kB / 429.9 MB, free: 1.875 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.711e-05/0.1125, allocations: 43.78 kB / 429.9 MB, free: 1.832 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.16e-05/0.1126, allocations: 8 kB / 429.9 MB, free: 1.824 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.241e-05/0.1126, allocations: 16 kB / 430 MB, free: 1.809 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.382e-05/0.1127, allocations: 15.98 kB / 430 MB, free: 1.793 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.4e-05/0.1127, allocations: 39.81 kB / 430 MB, free: 1.754 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001854/0.1129, allocations: 99.61 kB / 430.1 MB, free: 1.656 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.948e-06/0.1129, allocations: 0 / 430.1 MB, free: 1.656 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.1129, allocations: 0 / 430.1 MB, free: 1.656 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.219e-05/0.1129, allocations: 4 kB / 430.1 MB, free: 1.652 MB / 350.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.000567/0.1135, allocations: 387.1 kB / 430.5 MB, free: 1.227 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.941e-05/0.1135, allocations: 8.031 kB / 430.5 MB, free: 1.219 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001416/0.1137, allocations: 12.89 kB / 430.5 MB, free: 1.207 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000154/0.1138, allocations: 172.3 kB / 430.7 MB, free: 1 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.802e-05/0.1138, allocations: 8.375 kB / 430.7 MB, free: 0.9922 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.839e-05/0.1139, allocations: 16.36 kB / 430.7 MB, free: 0.9766 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001882/0.1141, allocations: 81.98 kB / 430.8 MB, free: 0.8906 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.294e-05/0.1141, allocations: 7.938 kB / 430.8 MB, free: 0.8828 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.52e-05/0.1141, allocations: 4 kB / 430.8 MB, free: 0.8789 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.823e-06/0.1141, allocations: 3.984 kB / 430.8 MB, free: 0.875 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001152/0.1142, allocations: 50.39 kB / 430.8 MB, free: 0.8281 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000697/0.1149, allocations: 404.4 kB / 431.2 MB, free: 392 kB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001476/0.1151, allocations: 74.55 kB / 431.3 MB, free: 308 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.598e-05/0.1151, allocations: 32.84 kB / 431.3 MB, free: 272 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.452e-05/0.1151, allocations: 4 kB / 431.4 MB, free: 268 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.445e-05/0.1152, allocations: 34.56 kB / 431.4 MB, free: 224 kB / 350.1 MB Notification: Performance of pre-optimization done (n=8): time 1.032e-06/0.1152, allocations: 0 / 431.4 MB, free: 224 kB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0002287/0.1154, allocations: 89.56 kB / 431.5 MB, free: 128 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.205e-05/0.1154, allocations: 51.41 kB / 431.5 MB, free: 64 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001122/0.1156, allocations: 110 kB / 431.6 MB, free: 15.95 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.997e-05/0.1156, allocations: 29.7 kB / 431.7 MB, free: 15.91 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.838e-05/0.1156, allocations: 103.9 kB / 431.8 MB, free: 15.8 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.429e-05/0.1157, allocations: 39.67 kB / 431.8 MB, free: 15.77 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.413e-05/0.1157, allocations: 21.72 kB / 431.8 MB, free: 15.74 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001414/0.1159, allocations: 318.8 kB / 432.1 MB, free: 15.42 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.654e-05/0.1159, allocations: 20 kB / 432.2 MB, free: 15.4 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.566e-05/0.116, allocations: 46.56 kB / 432.2 MB, free: 15.34 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001055/0.1161, allocations: 70.5 kB / 432.3 MB, free: 15.27 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.1161, allocations: 0 / 432.3 MB, free: 15.27 MB / 366.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001617/0.1162, allocations: 105.5 kB / 432.4 MB, free: 15.16 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.481e-05/0.1163, allocations: 8 kB / 432.4 MB, free: 15.15 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.639e-06/0.1163, allocations: 0 / 432.4 MB, free: 15.15 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.726e-05/0.1163, allocations: 3.938 kB / 432.4 MB, free: 15.14 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001317/0.1164, allocations: 31.98 kB / 432.4 MB, free: 15.11 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.807e-06/0.1164, allocations: 4 kB / 432.4 MB, free: 15.11 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.754e-05/0.1165, allocations: 0 / 432.4 MB, free: 15.11 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.074e-05/0.1165, allocations: 8 kB / 432.4 MB, free: 15.1 MB / 366.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.507e-05/0.1166, allocations: 113.8 kB / 432.5 MB, free: 14.98 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.842e-05/0.1166, allocations: 7.953 kB / 432.5 MB, free: 14.97 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.049e-05/0.1166, allocations: 8.375 kB / 432.6 MB, free: 14.96 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.167e-06/0.1166, allocations: 3.938 kB / 432.6 MB, free: 14.96 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.426e-06/0.1166, allocations: 3.984 kB / 432.6 MB, free: 14.96 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.899e-06/0.1166, allocations: 8 kB / 432.6 MB, free: 14.95 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002196/0.1169, allocations: 189.7 kB / 432.8 MB, free: 14.71 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.02e-07/0.1169, allocations: 0 / 432.8 MB, free: 14.71 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001053/0.117, allocations: 23.92 kB / 432.8 MB, free: 14.69 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.743e-06/0.117, allocations: 0 / 432.8 MB, free: 14.69 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.416e-06/0.117, allocations: 0 / 432.8 MB, free: 14.69 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.74e-06/0.117, allocations: 3.938 kB / 432.8 MB, free: 14.69 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.117, allocations: 0 / 432.8 MB, free: 14.69 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002249/0.1172, allocations: 195.5 kB / 433 MB, free: 14.48 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.297e-05/0.1173, allocations: 89.09 kB / 433.1 MB, free: 14.38 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.584e-05/0.1173, allocations: 256 / 433.1 MB, free: 14.38 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.958e-05/0.1173, allocations: 3.938 kB / 433.1 MB, free: 14.37 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.035e-05/0.1174, allocations: 11.98 kB / 433.1 MB, free: 14.36 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.637e-06/0.1174, allocations: 0 / 433.1 MB, free: 14.36 MB / 366.1 MB Notification: Performance of sorting global known variables: time 4.917e-05/0.1174, allocations: 87.28 kB / 433.2 MB, free: 14.27 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1174, allocations: 0 / 433.2 MB, free: 14.27 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002397/0.1177, allocations: 23.94 kB / 433.2 MB, free: 14.25 MB / 366.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.0001293/0.1178, allocations: 115.1 kB / 433.3 MB, free: 14.13 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001503/0.1179, allocations: 52.36 kB / 433.3 MB, free: 14.08 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.1179, allocations: 3.938 kB / 433.4 MB, free: 14.08 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 3.703e-05/0.118, allocations: 27.94 kB / 433.4 MB, free: 14.05 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003211/0.1183, allocations: 8.125 kB / 433.4 MB, free: 14.04 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000664/0.119, allocations: 348.1 kB / 433.7 MB, free: 13.67 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003126/0.1193, allocations: 0.6922 MB / 434.4 MB, free: 12.95 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.033e-05/0.1193, allocations: 15.44 kB / 434.4 MB, free: 12.93 MB / 366.1 MB Notification: Performance of SimCode: time 3e-07/0.1193, allocations: 0 / 434.4 MB, free: 12.93 MB / 366.1 MB Notification: Performance of Templates: time 0.002595/0.1219, allocations: 0.9691 MB / 435.4 MB, free: 11.96 MB / 366.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: 6.894501075003063]