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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) 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.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=2000,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=2000,variableFilter="time|mass1.T|mass2.T",fileNamePrefix="Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.TwoMasses") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001039/0.001039, allocations: 102.9 kB / 17.58 MB, free: 5.418 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001035/0.001035, allocations: 191.9 kB / 18.51 MB, free: 4.504 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.435/1.435, allocations: 205.1 MB / 224.4 MB, free: 12.27 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001446/0.001446, allocations: 55.92 kB / 280.6 MB, free: 3.184 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1027/0.1041, allocations: 46.63 MB / 327.3 MB, free: 4.484 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.TwoMasses): time 0.003518/0.1077, allocations: 1.623 MB / 328.9 MB, free: 2.84 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001053/0.1088, allocations: 0.5161 MB / 329.4 MB, free: 2.316 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.861e-05/0.1089, allocations: 0 / 329.4 MB, free: 2.316 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 8.174e-05/0.109, allocations: 15.8 kB / 329.4 MB, free: 2.301 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001013/0.1091, allocations: 23.78 kB / 329.5 MB, free: 2.277 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002386/0.1094, allocations: 35.89 kB / 329.5 MB, free: 2.242 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001328/0.1095, allocations: 99.47 kB / 329.6 MB, free: 2.145 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001467/0.1097, allocations: 31.98 kB / 329.6 MB, free: 2.113 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.93e-05/0.1097, allocations: 35.92 kB / 329.7 MB, free: 2.078 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.546e-05/0.1098, allocations: 43.84 kB / 329.7 MB, free: 2.035 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 2.101e-05/0.1099, allocations: 8 kB / 329.7 MB, free: 2.027 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.324e-05/0.11, allocations: 12 kB / 329.7 MB, free: 2.016 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 2.982e-05/0.11, allocations: 19.92 kB / 329.7 MB, free: 1.996 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 6.038e-05/0.1101, allocations: 43.8 kB / 329.8 MB, free: 1.953 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001917/0.1103, allocations: 99.95 kB / 329.9 MB, free: 1.855 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.307e-06/0.1103, allocations: 0 / 329.9 MB, free: 1.855 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.082e-06/0.1103, allocations: 0 / 329.9 MB, free: 1.855 MB / 270.1 MB Notification: Performance of Transformations before backend: time 5.981e-06/0.1103, allocations: 0 / 329.9 MB, free: 1.855 MB / 270.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.0004652/0.1108, allocations: 387.3 kB / 330.3 MB, free: 1.43 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.595e-05/0.1108, allocations: 8.031 kB / 330.3 MB, free: 1.422 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001395/0.1109, allocations: 16.84 kB / 330.3 MB, free: 1.406 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001269/0.1111, allocations: 172.2 kB / 330.4 MB, free: 1.199 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.732e-05/0.1111, allocations: 4.375 kB / 330.4 MB, free: 1.195 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.698e-05/0.1111, allocations: 12.38 kB / 330.5 MB, free: 1.184 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001956/0.1113, allocations: 85.97 kB / 330.5 MB, free: 1.094 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.145e-05/0.1114, allocations: 0 / 330.5 MB, free: 1.094 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.767e-05/0.1114, allocations: 11.98 kB / 330.6 MB, free: 1.082 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.519e-06/0.1114, allocations: 4 kB / 330.6 MB, free: 1.078 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000108/0.1115, allocations: 47.97 kB / 330.6 MB, free: 1.031 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000674/0.1122, allocations: 404.4 kB / 331 MB, free: 0.5859 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001375/0.1123, allocations: 78.48 kB / 331.1 MB, free: 0.5 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.203e-05/0.1124, allocations: 29.02 kB / 331.1 MB, free: 480 kB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.362e-05/0.1124, allocations: 0 / 331.1 MB, free: 480 kB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.162e-05/0.1125, allocations: 38.55 kB / 331.1 MB, free: 432 kB / 270.1 MB Notification: Performance of pre-optimization done (n=8): time 1.463e-06/0.1125, allocations: 0 / 331.1 MB, free: 432 kB / 270.1 MB Notification: Performance of matching and sorting (n=8): time 0.0002166/0.1127, allocations: 89.61 kB / 331.2 MB, free: 336 kB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.315e-05/0.1127, allocations: 51.41 kB / 331.3 MB, free: 272 kB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001036/0.1129, allocations: 113.8 kB / 331.4 MB, free: 148 kB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 1.678e-05/0.1129, allocations: 29.64 kB / 331.4 MB, free: 112 kB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.635e-05/0.113, allocations: 103.9 kB / 331.5 MB, free: 4 kB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.496e-05/0.113, allocations: 27.98 kB / 331.6 MB, free: 15.97 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.752e-05/0.1131, allocations: 37.55 kB / 331.6 MB, free: 15.93 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001145/0.1132, allocations: 314.8 kB / 331.9 MB, free: 15.61 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.427e-05/0.1133, allocations: 19.98 kB / 331.9 MB, free: 15.59 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.708e-05/0.1133, allocations: 46.56 kB / 332 MB, free: 15.54 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.902e-05/0.1134, allocations: 70.52 kB / 332 MB, free: 15.46 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.1134, allocations: 0 / 332 MB, free: 15.46 MB / 286.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001822/0.1136, allocations: 97.62 kB / 332.1 MB, free: 15.36 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.574e-05/0.1137, allocations: 11.92 kB / 332.1 MB, free: 15.35 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.793e-06/0.1137, allocations: 3.938 kB / 332.1 MB, free: 15.34 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.75e-05/0.1137, allocations: 3.938 kB / 332.1 MB, free: 15.34 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001302/0.1138, allocations: 28.06 kB / 332.2 MB, free: 15.31 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.562e-06/0.1139, allocations: 4 kB / 332.2 MB, free: 15.31 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.472e-05/0.1139, allocations: 3.906 kB / 332.2 MB, free: 15.3 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.566e-06/0.1139, allocations: 4 kB / 332.2 MB, free: 15.3 MB / 286.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.0001214/0.114, allocations: 129.7 kB / 332.3 MB, free: 15.16 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.293e-05/0.1141, allocations: 4 kB / 332.3 MB, free: 15.16 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.433e-05/0.1141, allocations: 8.375 kB / 332.3 MB, free: 15.15 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.769e-06/0.1141, allocations: 3.938 kB / 332.3 MB, free: 15.15 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.399e-05/0.1142, allocations: 4 kB / 332.3 MB, free: 15.14 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.609e-06/0.1142, allocations: 4 kB / 332.3 MB, free: 15.14 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002177/0.1144, allocations: 189.5 kB / 332.5 MB, free: 14.91 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.164e-06/0.1144, allocations: 256 / 332.5 MB, free: 14.91 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000107/0.1145, allocations: 23.98 kB / 332.5 MB, free: 14.88 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.497e-06/0.1145, allocations: 0 / 332.5 MB, free: 14.88 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.247e-05/0.1146, allocations: 4 kB / 332.5 MB, free: 14.88 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.038e-06/0.1146, allocations: 3.938 kB / 332.5 MB, free: 14.88 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.1146, allocations: 4 kB / 332.6 MB, free: 14.87 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002186/0.1148, allocations: 191.5 kB / 332.7 MB, free: 14.67 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.623e-05/0.1148, allocations: 81.02 kB / 332.8 MB, free: 14.57 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.317e-05/0.1149, allocations: 0 / 332.8 MB, free: 14.57 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.694e-05/0.1149, allocations: 7.938 kB / 332.8 MB, free: 14.56 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.657e-05/0.115, allocations: 4 kB / 332.8 MB, free: 14.56 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.26e-06/0.115, allocations: 4 kB / 332.8 MB, free: 14.55 MB / 286.1 MB Notification: Performance of sorting global known variables: time 4.354e-05/0.115, allocations: 87.27 kB / 332.9 MB, free: 14.47 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.115, allocations: 0 / 332.9 MB, free: 14.47 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0002434/0.1153, allocations: 19.94 kB / 332.9 MB, free: 14.45 MB / 286.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.0001177/0.1154, allocations: 111.3 kB / 333 MB, free: 14.33 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.000145/0.1155, allocations: 59.91 kB / 333.1 MB, free: 14.27 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 5.34e-06/0.1156, allocations: 0 / 333.1 MB, free: 14.27 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 3.458e-05/0.1156, allocations: 31.92 kB / 333.1 MB, free: 14.24 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002558/0.1159, allocations: 4.328 kB / 333.1 MB, free: 14.23 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006127/0.1165, allocations: 314.8 kB / 333.4 MB, free: 13.9 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003306/0.1168, allocations: 0.7001 MB / 334.1 MB, free: 13.17 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 3.856e-05/0.1169, allocations: 11.95 kB / 334.2 MB, free: 13.16 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.558e-05/0.1169, allocations: 11.44 kB / 334.2 MB, free: 13.15 MB / 286.1 MB Notification: Performance of SimCode: time 2.91e-07/0.1169, allocations: 0 / 334.2 MB, free: 13.15 MB / 286.1 MB Notification: Performance of Templates: time 0.002947/0.1199, allocations: 0.6273 MB / 334.8 MB, free: 12.53 MB / 286.1 MB make -j1 -f Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.TwoMasses.makefile (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=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.TwoMasses.pipe 2>&1) 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.TwoMasses.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches