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.00137/0.00137, allocations: 123 kB / 17.79 MB, free: 5.266 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.001525/0.001525, allocations: 207.2 kB / 20.75 MB, free: 2.316 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.514/1.514, allocations: 230.6 MB / 254.1 MB, free: 15.09 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.00171/0.00171, allocations: 47.92 kB / 373.4 MB, free: 9.742 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09601/0.09772, allocations: 53.33 MB / 426.8 MB, free: 4.312 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.TwoMasses): time 0.003082/0.1008, allocations: 1.645 MB / 428.4 MB, free: 2.656 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00111/0.1019, allocations: 0.5455 MB / 429 MB, free: 2.105 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.578e-05/0.102, allocations: 4 kB / 429 MB, free: 2.102 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 6.293e-05/0.102, allocations: 7.922 kB / 429 MB, free: 2.094 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 9.214e-05/0.1021, allocations: 27.72 kB / 429 MB, free: 2.066 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002182/0.1024, allocations: 31.95 kB / 429 MB, free: 2.035 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001647/0.1025, allocations: 99.47 kB / 429.1 MB, free: 1.938 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001343/0.1027, allocations: 35.97 kB / 429.2 MB, free: 1.902 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.984e-05/0.1027, allocations: 31.92 kB / 429.2 MB, free: 1.871 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.713e-05/0.1028, allocations: 39.86 kB / 429.2 MB, free: 1.832 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.371e-05/0.1028, allocations: 8 kB / 429.3 MB, free: 1.824 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.713e-05/0.1029, allocations: 15.92 kB / 429.3 MB, free: 1.809 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.098e-05/0.1029, allocations: 12 kB / 429.3 MB, free: 1.797 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.611e-05/0.103, allocations: 51.78 kB / 429.3 MB, free: 1.746 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001762/0.1032, allocations: 95.62 kB / 429.4 MB, free: 1.652 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.1032, allocations: 4 kB / 429.4 MB, free: 1.648 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.022e-06/0.1032, allocations: 0 / 429.4 MB, free: 1.648 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.581e-06/0.1032, allocations: 4 kB / 429.4 MB, free: 1.645 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.0005471/0.1037, allocations: 379.2 kB / 429.8 MB, free: 1.227 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.828e-05/0.1038, allocations: 12.03 kB / 429.8 MB, free: 1.215 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001284/0.1039, allocations: 8.891 kB / 429.8 MB, free: 1.207 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000178/0.1041, allocations: 180.2 kB / 430 MB, free: 0.9922 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.408e-05/0.1041, allocations: 16.36 kB / 430 MB, free: 0.9766 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.785e-05/0.1041, allocations: 4.375 kB / 430 MB, free: 0.9727 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001894/0.1043, allocations: 85.98 kB / 430.1 MB, free: 0.8828 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.39e-05/0.1043, allocations: 4 kB / 430.1 MB, free: 0.8789 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.386e-05/0.1044, allocations: 4 kB / 430.1 MB, free: 0.875 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.292e-06/0.1044, allocations: 4 kB / 430.1 MB, free: 0.8711 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001291/0.1045, allocations: 55.91 kB / 430.2 MB, free: 0.8164 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007544/0.1052, allocations: 400.4 kB / 430.6 MB, free: 384 kB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001438/0.1054, allocations: 70.55 kB / 430.6 MB, free: 304 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.921e-05/0.1055, allocations: 36.78 kB / 430.7 MB, free: 264 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.606e-06/0.1055, allocations: 0 / 430.7 MB, free: 264 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.242e-05/0.1055, allocations: 34.56 kB / 430.7 MB, free: 220 kB / 350.1 MB Notification: Performance of pre-optimization done (n=8): time 9.82e-07/0.1055, allocations: 0 / 430.7 MB, free: 220 kB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0002345/0.1057, allocations: 93.78 kB / 430.8 MB, free: 120 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.361e-05/0.1058, allocations: 51.41 kB / 430.8 MB, free: 56 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001125/0.1059, allocations: 110 kB / 430.9 MB, free: 15.94 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.559e-05/0.1059, allocations: 25.7 kB / 431 MB, free: 15.91 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.186e-05/0.106, allocations: 107.9 kB / 431.1 MB, free: 15.8 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.829e-05/0.106, allocations: 27.75 kB / 431.1 MB, free: 15.77 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.945e-05/0.1061, allocations: 29.7 kB / 431.1 MB, free: 15.73 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000157/0.1062, allocations: 318.8 kB / 431.4 MB, free: 15.41 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.517e-05/0.1063, allocations: 15.98 kB / 431.5 MB, free: 15.4 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.859e-05/0.1063, allocations: 50.19 kB / 431.5 MB, free: 15.34 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001104/0.1064, allocations: 74.66 kB / 431.6 MB, free: 15.26 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.1064, allocations: 0 / 431.6 MB, free: 15.26 MB / 366.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000186/0.1066, allocations: 109.5 kB / 431.7 MB, free: 15.15 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.562e-05/0.1066, allocations: 4 kB / 431.7 MB, free: 15.14 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.147e-06/0.1066, allocations: 80 / 431.7 MB, free: 15.14 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.822e-05/0.1067, allocations: 7.938 kB / 431.7 MB, free: 15.14 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001312/0.1068, allocations: 32.05 kB / 431.7 MB, free: 15.11 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.298e-05/0.1068, allocations: 7.922 kB / 431.7 MB, free: 15.1 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.458e-05/0.1069, allocations: 4 kB / 431.7 MB, free: 15.09 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.476e-06/0.1069, allocations: 4 kB / 431.8 MB, free: 15.09 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 0.0001111/0.107, allocations: 118.4 kB / 431.9 MB, free: 14.96 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.101e-05/0.107, allocations: 3.953 kB / 431.9 MB, free: 14.96 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.161e-05/0.107, allocations: 8.375 kB / 431.9 MB, free: 14.95 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.252e-06/0.107, allocations: 7.938 kB / 431.9 MB, free: 14.95 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.388e-06/0.107, allocations: 0 / 431.9 MB, free: 14.95 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.735e-06/0.1071, allocations: 4 kB / 431.9 MB, free: 14.94 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002279/0.1073, allocations: 185.6 kB / 432.1 MB, free: 14.71 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.1073, allocations: 0 / 432.1 MB, free: 14.71 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001133/0.1074, allocations: 20.23 kB / 432.1 MB, free: 14.69 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.204e-06/0.1074, allocations: 0 / 432.1 MB, free: 14.69 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.47e-05/0.1074, allocations: 12 kB / 432.1 MB, free: 14.68 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.768e-06/0.1074, allocations: 3.938 kB / 432.1 MB, free: 14.68 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.876e-06/0.1074, allocations: 3.938 kB / 432.1 MB, free: 14.67 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000245/0.1077, allocations: 195.5 kB / 432.3 MB, free: 14.46 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.094e-05/0.1077, allocations: 85 kB / 432.4 MB, free: 14.36 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.593e-05/0.1077, allocations: 4.031 kB / 432.4 MB, free: 14.36 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.586e-05/0.1078, allocations: 7.938 kB / 432.4 MB, free: 14.35 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.697e-05/0.1078, allocations: 3.984 kB / 432.4 MB, free: 14.35 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.971e-06/0.1078, allocations: 4 kB / 432.4 MB, free: 14.34 MB / 366.1 MB Notification: Performance of sorting global known variables: time 6.278e-05/0.1079, allocations: 83.28 kB / 432.5 MB, free: 14.26 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1079, allocations: 0 / 432.5 MB, free: 14.26 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002619/0.1081, allocations: 20 kB / 432.5 MB, free: 14.24 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.0001184/0.1083, allocations: 103.2 kB / 432.6 MB, free: 14.13 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001716/0.1084, allocations: 59.89 kB / 432.7 MB, free: 14.07 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.1084, allocations: 0 / 432.7 MB, free: 14.07 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 3.813e-05/0.1085, allocations: 23.94 kB / 432.7 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.0002591/0.1087, allocations: 8.328 kB / 432.7 MB, free: 14.04 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006761/0.1094, allocations: 330.3 kB / 433 MB, free: 13.69 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003987/0.1098, allocations: 0.6961 MB / 433.7 MB, free: 12.97 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 3.11e-05/0.1098, allocations: 0 / 433.7 MB, free: 12.97 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.925e-05/0.1099, allocations: 11.44 kB / 433.7 MB, free: 12.96 MB / 366.1 MB Notification: Performance of SimCode: time 4.21e-07/0.1099, allocations: 0 / 433.7 MB, free: 12.96 MB / 366.1 MB Notification: Performance of Templates: time 0.003367/0.1132, allocations: 0.6489 MB / 434.4 MB, free: 12.31 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Thermal/HeatTransfer/Examples/TwoMasses/TwoMasses.csv","/var/lib/jenkins/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: 4.5398863814771175]