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) 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 4.0.0+maint.om/package.mo", uses=false) 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=2000,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=2000,variableFilter="time|mass1.T|mass2.T",fileNamePrefix="Modelica_4.0.0_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.001105/0.001105, allocations: 100.9 kB / 17.59 MB, free: 5.422 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.00115/0.00115, allocations: 191.6 kB / 18.51 MB, free: 4.5 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.407/1.407, allocations: 222.9 MB / 242.2 MB, free: 15.2 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009814/0.0009814, allocations: 48.39 kB / 301.3 MB, free: 5.871 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.105/0.106, allocations: 49.45 MB / 350.7 MB, free: 4.414 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.TwoMasses): time 0.00356/0.1096, allocations: 1.626 MB / 352.3 MB, free: 2.77 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001056/0.1107, allocations: 0.5196 MB / 352.9 MB, free: 2.246 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.169e-05/0.1108, allocations: 0 / 352.9 MB, free: 2.246 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 6.4e-05/0.1109, allocations: 7.922 kB / 352.9 MB, free: 2.238 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000108/0.1111, allocations: 31.7 kB / 352.9 MB, free: 2.207 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002632/0.1113, allocations: 27.97 kB / 352.9 MB, free: 2.18 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.000147/0.1115, allocations: 103.5 kB / 353 MB, free: 2.078 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001641/0.1117, allocations: 31.98 kB / 353.1 MB, free: 2.047 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.49e-05/0.1117, allocations: 35.86 kB / 353.1 MB, free: 2.012 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001036/0.1118, allocations: 39.84 kB / 353.1 MB, free: 1.973 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.334e-05/0.1119, allocations: 8 kB / 353.1 MB, free: 1.965 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.017e-05/0.112, allocations: 12 kB / 353.2 MB, free: 1.953 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 2.896e-05/0.112, allocations: 23.97 kB / 353.2 MB, free: 1.93 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 6.218e-05/0.1121, allocations: 43.8 kB / 353.2 MB, free: 1.887 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001816/0.1123, allocations: 104 kB / 353.3 MB, free: 1.785 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.039e-06/0.1123, allocations: 0 / 353.3 MB, free: 1.785 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.432e-06/0.1123, allocations: 0 / 353.3 MB, free: 1.785 MB / 286.1 MB Notification: Performance of Transformations before backend: time 7.935e-06/0.1123, allocations: 0 / 353.3 MB, free: 1.785 MB / 286.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.0005274/0.1128, allocations: 383.2 kB / 353.7 MB, free: 1.363 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.189e-05/0.1129, allocations: 8.031 kB / 353.7 MB, free: 1.355 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001557/0.113, allocations: 16.83 kB / 353.7 MB, free: 1.34 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001469/0.1132, allocations: 168.3 kB / 353.9 MB, free: 1.137 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.93e-05/0.1132, allocations: 12.38 kB / 353.9 MB, free: 1.125 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.315e-05/0.1133, allocations: 12.36 kB / 353.9 MB, free: 1.113 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001798/0.1135, allocations: 93.02 kB / 354 MB, free: 1.02 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.192e-05/0.1135, allocations: 0 / 354 MB, free: 1.02 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.838e-05/0.1135, allocations: 8 kB / 354 MB, free: 1.012 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.307e-06/0.1135, allocations: 0 / 354 MB, free: 1.012 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001195/0.1136, allocations: 59.84 kB / 354.1 MB, free: 0.9531 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007906/0.1144, allocations: 396.5 kB / 354.5 MB, free: 0.5156 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001334/0.1146, allocations: 70.5 kB / 354.5 MB, free: 448 kB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.014e-05/0.1147, allocations: 36.84 kB / 354.6 MB, free: 408 kB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.275e-05/0.1147, allocations: 0 / 354.6 MB, free: 408 kB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.76e-05/0.1147, allocations: 34.56 kB / 354.6 MB, free: 364 kB / 286.1 MB Notification: Performance of pre-optimization done (n=8): time 1.313e-06/0.1147, allocations: 0 / 354.6 MB, free: 364 kB / 286.1 MB Notification: Performance of matching and sorting (n=8): time 0.0002323/0.115, allocations: 105.5 kB / 354.7 MB, free: 252 kB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.542e-05/0.115, allocations: 51.41 kB / 354.7 MB, free: 188 kB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.856e-05/0.1151, allocations: 109.8 kB / 354.9 MB, free: 68 kB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.755e-05/0.1151, allocations: 29.7 kB / 354.9 MB, free: 32 kB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.443e-05/0.1152, allocations: 95.89 kB / 355 MB, free: 15.93 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.913e-05/0.1153, allocations: 31.55 kB / 355 MB, free: 15.9 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.85e-05/0.1153, allocations: 25.72 kB / 355 MB, free: 15.87 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001341/0.1155, allocations: 322.8 kB / 355.3 MB, free: 15.55 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.645e-05/0.1155, allocations: 20 kB / 355.4 MB, free: 15.53 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.368e-05/0.1156, allocations: 42.56 kB / 355.4 MB, free: 15.48 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001035/0.1157, allocations: 70.5 kB / 355.5 MB, free: 15.4 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.524e-06/0.1157, allocations: 0 / 355.5 MB, free: 15.4 MB / 302.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001701/0.1159, allocations: 109.6 kB / 355.6 MB, free: 15.29 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.425e-05/0.1159, allocations: 4 kB / 355.6 MB, free: 15.28 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.072e-06/0.1159, allocations: 0 / 355.6 MB, free: 15.28 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.866e-05/0.116, allocations: 7.938 kB / 355.6 MB, free: 15.27 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001372/0.1161, allocations: 23.98 kB / 355.6 MB, free: 15.25 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.702e-06/0.1161, allocations: 0 / 355.6 MB, free: 15.25 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.294e-05/0.1162, allocations: 3.906 kB / 355.6 MB, free: 15.25 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.805e-06/0.1162, allocations: 8 kB / 355.6 MB, free: 15.24 MB / 302.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.213e-05/0.1163, allocations: 121.8 kB / 355.8 MB, free: 15.11 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.12e-05/0.1163, allocations: 7.906 kB / 355.8 MB, free: 15.1 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.774e-05/0.1164, allocations: 12.36 kB / 355.8 MB, free: 15.09 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.917e-06/0.1164, allocations: 3.938 kB / 355.8 MB, free: 15.08 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.646e-06/0.1164, allocations: 4 kB / 355.8 MB, free: 15.08 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.867e-06/0.1164, allocations: 0 / 355.8 MB, free: 15.08 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000218/0.1166, allocations: 185.6 kB / 356 MB, free: 14.85 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.764e-06/0.1166, allocations: 0 / 356 MB, free: 14.85 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001059/0.1168, allocations: 20 kB / 356 MB, free: 14.83 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.035e-06/0.1168, allocations: 0 / 356 MB, free: 14.83 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.546e-06/0.1168, allocations: 0 / 356 MB, free: 14.83 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.897e-06/0.1168, allocations: 7.938 kB / 356 MB, free: 14.82 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/0.1168, allocations: 7.984 kB / 356 MB, free: 14.81 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002226/0.117, allocations: 191.4 kB / 356.2 MB, free: 14.61 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.942e-05/0.1171, allocations: 81.09 kB / 356.3 MB, free: 14.51 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.998e-05/0.1171, allocations: 7.984 kB / 356.3 MB, free: 14.5 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.943e-05/0.1172, allocations: 3.938 kB / 356.3 MB, free: 14.5 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.352e-05/0.1172, allocations: 4 kB / 356.3 MB, free: 14.5 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.4e-06/0.1172, allocations: 8.062 kB / 356.3 MB, free: 14.49 MB / 302.1 MB Notification: Performance of sorting global known variables: time 5.077e-05/0.1173, allocations: 91.52 kB / 356.4 MB, free: 14.4 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1173, allocations: 7.875 kB / 356.4 MB, free: 14.39 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002591/0.1175, allocations: 23.91 kB / 356.4 MB, free: 14.37 MB / 302.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.00012/0.1177, allocations: 99.72 kB / 356.5 MB, free: 14.26 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001692/0.1179, allocations: 59.92 kB / 356.6 MB, free: 14.2 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.1179, allocations: 0 / 356.6 MB, free: 14.2 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 3.658e-05/0.1179, allocations: 27.92 kB / 356.6 MB, free: 14.18 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003581/0.1183, allocations: 8.125 kB / 356.6 MB, free: 14.17 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007181/0.119, allocations: 344.4 kB / 356.9 MB, free: 13.8 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003087/0.1193, allocations: 0.6924 MB / 357.6 MB, free: 13.08 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.603e-05/0.1194, allocations: 11.44 kB / 357.6 MB, free: 13.07 MB / 302.1 MB Notification: Performance of SimCode: time 3.4e-07/0.1194, allocations: 0 / 357.6 MB, free: 13.07 MB / 302.1 MB Notification: Performance of Templates: time 0.002599/0.122, allocations: 0.9619 MB / 358.6 MB, free: 12.11 MB / 302.1 MB make -j1 -f Modelica_4.0.0_Modelica.Thermal.HeatTransfer.Examples.TwoMasses.makefile (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) diffSimulationResults("Modelica_4.0.0_Modelica.Thermal.HeatTransfer.Examples.TwoMasses_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Thermal/HeatTransfer/Examples/TwoMasses/TwoMasses.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Thermal.HeatTransfer.Examples.TwoMasses.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches