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.001386/0.001386, allocations: 119.5 kB / 18.41 MB, free: 4.684 MB / 14.72 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.001434/0.001434, allocations: 192.3 kB / 21.35 MB, free: 1.75 MB / 14.72 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.448/1.448, allocations: 222.9 MB / 247.1 MB, free: 4.184 MB / 190.1 MB " [Timeout remaining time 178] 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 0.001557/0.001557, allocations: 47.92 kB / 358.6 MB, free: 8.305 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1048/0.1063, allocations: 49.44 MB / 408.1 MB, free: 6.816 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.TwoMasses): time 0.002911/0.1093, allocations: 1.619 MB / 409.7 MB, free: 5.191 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009268/0.1102, allocations: 0.5143 MB / 410.2 MB, free: 4.672 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.754e-05/0.1103, allocations: 0 / 410.2 MB, free: 4.672 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 5.276e-05/0.1104, allocations: 15.86 kB / 410.2 MB, free: 4.656 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 6.995e-05/0.1104, allocations: 23.77 kB / 410.3 MB, free: 4.633 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000206/0.1107, allocations: 31.91 kB / 410.3 MB, free: 4.602 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001448/0.1108, allocations: 99.58 kB / 410.4 MB, free: 4.504 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001322/0.111, allocations: 31.97 kB / 410.4 MB, free: 4.473 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.184e-05/0.111, allocations: 43.86 kB / 410.5 MB, free: 4.43 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001073/0.1111, allocations: 43.83 kB / 410.5 MB, free: 4.387 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.961e-05/0.1112, allocations: 8 kB / 410.5 MB, free: 4.379 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.694e-05/0.1112, allocations: 16 kB / 410.5 MB, free: 4.363 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 2.634e-05/0.1113, allocations: 19.92 kB / 410.5 MB, free: 4.344 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 5.336e-05/0.1113, allocations: 39.86 kB / 410.6 MB, free: 4.305 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001833/0.1115, allocations: 103.5 kB / 410.7 MB, free: 4.203 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.157e-06/0.1115, allocations: 0 / 410.7 MB, free: 4.203 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.412e-06/0.1115, allocations: 0 / 410.7 MB, free: 4.203 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.863e-06/0.1116, allocations: 0 / 410.7 MB, free: 4.203 MB / 334.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.0005428/0.1121, allocations: 395.1 kB / 411.1 MB, free: 3.77 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.647e-05/0.1122, allocations: 8.031 kB / 411.1 MB, free: 3.762 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001335/0.1123, allocations: 16.88 kB / 411.1 MB, free: 3.746 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001449/0.1124, allocations: 164.3 kB / 411.3 MB, free: 3.547 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.282e-05/0.1125, allocations: 4.375 kB / 411.3 MB, free: 3.543 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.026e-05/0.1125, allocations: 12.38 kB / 411.3 MB, free: 3.531 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001943/0.1127, allocations: 99.34 kB / 411.4 MB, free: 3.43 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.489e-05/0.1127, allocations: 4 kB / 411.4 MB, free: 3.426 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.525e-05/0.1127, allocations: 8 kB / 411.4 MB, free: 3.418 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.919e-06/0.1128, allocations: 0 / 411.4 MB, free: 3.418 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000122/0.1129, allocations: 47.97 kB / 411.4 MB, free: 3.371 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007146/0.1136, allocations: 396.5 kB / 411.8 MB, free: 2.934 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000138/0.1138, allocations: 74.55 kB / 411.9 MB, free: 2.852 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.335e-05/0.1138, allocations: 32.84 kB / 411.9 MB, free: 2.816 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.584e-05/0.1139, allocations: 4 kB / 411.9 MB, free: 2.812 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.61e-05/0.1139, allocations: 38.5 kB / 412 MB, free: 2.766 MB / 334.1 MB Notification: Performance of pre-optimization done (n=8): time 1.233e-06/0.1139, allocations: 0 / 412 MB, free: 2.766 MB / 334.1 MB Notification: Performance of matching and sorting (n=8): time 0.000245/0.1142, allocations: 93.89 kB / 412.1 MB, free: 2.668 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.646e-05/0.1142, allocations: 55.39 kB / 412.1 MB, free: 2.602 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.749e-05/0.1143, allocations: 105.9 kB / 412.2 MB, free: 2.488 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.984e-05/0.1143, allocations: 25.7 kB / 412.2 MB, free: 2.457 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.791e-05/0.1144, allocations: 108 kB / 412.3 MB, free: 2.348 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.915e-05/0.1145, allocations: 35.69 kB / 412.4 MB, free: 2.312 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.628e-05/0.1145, allocations: 25.72 kB / 412.4 MB, free: 2.281 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001449/0.1147, allocations: 318.8 kB / 412.7 MB, free: 1.961 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.37e-05/0.1147, allocations: 16 kB / 412.7 MB, free: 1.945 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.626e-05/0.1148, allocations: 46.56 kB / 412.8 MB, free: 1.891 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001084/0.1149, allocations: 78.44 kB / 412.8 MB, free: 1.805 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-06/0.1149, allocations: 3.938 kB / 412.9 MB, free: 1.801 MB / 334.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.00015/0.1151, allocations: 93.62 kB / 412.9 MB, free: 1.703 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.577e-05/0.1151, allocations: 8 kB / 413 MB, free: 1.695 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.33e-06/0.1151, allocations: 0 / 413 MB, free: 1.695 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.615e-05/0.1151, allocations: 3.938 kB / 413 MB, free: 1.691 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001278/0.1153, allocations: 31.92 kB / 413 MB, free: 1.66 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.336e-06/0.1153, allocations: 8.062 kB / 413 MB, free: 1.652 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.005e-05/0.1153, allocations: 3.953 kB / 413 MB, free: 1.648 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.536e-06/0.1153, allocations: 4 kB / 413 MB, free: 1.645 MB / 334.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.964e-05/0.1154, allocations: 121.8 kB / 413.1 MB, free: 1.516 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.672e-05/0.1155, allocations: 7.953 kB / 413.1 MB, free: 1.508 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.601e-05/0.1155, allocations: 12.36 kB / 413.1 MB, free: 1.496 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.398e-06/0.1155, allocations: 3.938 kB / 413.1 MB, free: 1.492 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.179e-06/0.1155, allocations: 0 / 413.1 MB, free: 1.492 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.31e-06/0.1155, allocations: 4 kB / 413.1 MB, free: 1.488 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002201/0.1158, allocations: 185.6 kB / 413.3 MB, free: 1.258 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/0.1158, allocations: 0 / 413.3 MB, free: 1.258 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001018/0.1159, allocations: 19.94 kB / 413.4 MB, free: 1.238 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.853e-06/0.1159, allocations: 3.938 kB / 413.4 MB, free: 1.234 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.051e-05/0.1159, allocations: 4 kB / 413.4 MB, free: 1.23 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.939e-06/0.1159, allocations: 7.875 kB / 413.4 MB, free: 1.223 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.1159, allocations: 0 / 413.4 MB, free: 1.223 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002285/0.1162, allocations: 191.5 kB / 413.6 MB, free: 1.02 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.807e-05/0.1162, allocations: 85.2 kB / 413.6 MB, free: 0.918 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.305e-05/0.1163, allocations: 0 / 413.6 MB, free: 0.918 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.098e-05/0.1163, allocations: 11.92 kB / 413.6 MB, free: 0.9062 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.592e-05/0.1163, allocations: 4 kB / 413.7 MB, free: 0.9023 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.477e-06/0.1163, allocations: 256 / 413.7 MB, free: 0.9023 MB / 334.1 MB Notification: Performance of sorting global known variables: time 5.607e-05/0.1164, allocations: 91.28 kB / 413.7 MB, free: 0.8125 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1164, allocations: 3.938 kB / 413.7 MB, free: 0.8086 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002319/0.1166, allocations: 19.95 kB / 413.8 MB, free: 0.7891 MB / 334.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.0001326/0.1168, allocations: 111.7 kB / 413.9 MB, free: 0.6719 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001412/0.1169, allocations: 55.92 kB / 413.9 MB, free: 0.6172 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.1169, allocations: 0 / 413.9 MB, free: 0.6172 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 3.425e-05/0.117, allocations: 19.98 kB / 413.9 MB, free: 0.5977 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003046/0.1173, allocations: 11.94 kB / 414 MB, free: 0.5859 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006415/0.1179, allocations: 344 kB / 414.3 MB, free: 224 kB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003764/0.1183, allocations: 0.6924 MB / 415 MB, free: 15.5 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.938e-05/0.1184, allocations: 11.44 kB / 415 MB, free: 15.49 MB / 350.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1184, allocations: 0 / 415 MB, free: 15.49 MB / 350.1 MB Notification: Performance of Templates: time 0.00269/0.1211, allocations: 0.9656 MB / 416 MB, free: 14.52 MB / 350.1 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=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Thermal.HeatTransfer.Examples.TwoMasses.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Thermal.HeatTransfer.Examples.TwoMasses_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Thermal/HeatTransfer/Examples/TwoMasses/TwoMasses.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.0.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.821706197923049]