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.001039/0.001039, allocations: 111.7 kB / 17.68 MB, free: 5.332 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.0009894/0.0009894, allocations: 192 kB / 18.62 MB, free: 4.41 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.335/1.335, allocations: 222.9 MB / 242.3 MB, free: 15.15 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001017/0.001017, allocations: 51.14 kB / 302 MB, free: 5.176 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0882/0.08923, allocations: 49.44 MB / 351.5 MB, free: 3.715 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.TwoMasses): time 0.002655/0.09192, allocations: 1.615 MB / 353.1 MB, free: 2.082 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007667/0.0927, allocations: 0.5118 MB / 353.6 MB, free: 1.566 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.495e-05/0.09276, allocations: 0 / 353.6 MB, free: 1.566 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 5.215e-05/0.09282, allocations: 15.86 kB / 353.6 MB, free: 1.551 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 7.529e-05/0.09291, allocations: 27.77 kB / 353.7 MB, free: 1.523 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002084/0.09313, allocations: 35.91 kB / 353.7 MB, free: 1.488 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001266/0.09326, allocations: 99.47 kB / 353.8 MB, free: 1.391 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001413/0.09341, allocations: 39.95 kB / 353.8 MB, free: 1.352 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.566e-05/0.09346, allocations: 39.86 kB / 353.9 MB, free: 1.312 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.341e-05/0.09356, allocations: 39.84 kB / 353.9 MB, free: 1.273 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.709e-05/0.09359, allocations: 8 kB / 353.9 MB, free: 1.266 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.956e-05/0.09366, allocations: 15.94 kB / 353.9 MB, free: 1.25 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 2.575e-05/0.0937, allocations: 15.98 kB / 354 MB, free: 1.234 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 4.852e-05/0.09375, allocations: 47.8 kB / 354 MB, free: 1.188 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001451/0.0939, allocations: 99.67 kB / 354.1 MB, free: 1.09 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.266e-06/0.09391, allocations: 0 / 354.1 MB, free: 1.09 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.232e-06/0.09392, allocations: 0 / 354.1 MB, free: 1.09 MB / 286.1 MB Notification: Performance of Transformations before backend: time 4.849e-06/0.09393, allocations: 0 / 354.1 MB, free: 1.09 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.0004341/0.09437, allocations: 387.2 kB / 354.5 MB, free: 0.6641 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.145e-05/0.09441, allocations: 8.031 kB / 354.5 MB, free: 0.6562 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001168/0.09453, allocations: 12.84 kB / 354.5 MB, free: 0.6445 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001134/0.09465, allocations: 180.2 kB / 354.7 MB, free: 440 kB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.058e-05/0.09467, allocations: 384 / 354.7 MB, free: 440 kB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.153e-05/0.09471, allocations: 12.38 kB / 354.7 MB, free: 428 kB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001535/0.09486, allocations: 85.94 kB / 354.8 MB, free: 336 kB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.307e-05/0.09488, allocations: 4 kB / 354.8 MB, free: 332 kB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.041e-05/0.0949, allocations: 0 / 354.8 MB, free: 332 kB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.152e-06/0.09491, allocations: 0 / 354.8 MB, free: 332 kB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001077/0.09502, allocations: 55.91 kB / 354.8 MB, free: 276 kB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006251/0.09565, allocations: 408.5 kB / 355.2 MB, free: 15.82 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001188/0.09579, allocations: 70.5 kB / 355.3 MB, free: 15.74 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.052e-05/0.09584, allocations: 28.84 kB / 355.3 MB, free: 15.71 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.139e-05/0.09586, allocations: 4 kB / 355.3 MB, free: 15.7 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.768e-05/0.09589, allocations: 30.56 kB / 355.4 MB, free: 15.66 MB / 302.1 MB Notification: Performance of pre-optimization done (n=8): time 2.475e-06/0.09589, allocations: 4 kB / 355.4 MB, free: 15.66 MB / 302.1 MB Notification: Performance of matching and sorting (n=8): time 0.0001973/0.0961, allocations: 97.52 kB / 355.5 MB, free: 15.56 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.723e-05/0.09613, allocations: 51.41 kB / 355.5 MB, free: 15.5 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.338e-05/0.09621, allocations: 109.8 kB / 355.6 MB, free: 15.38 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.31e-05/0.09623, allocations: 25.7 kB / 355.6 MB, free: 15.35 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.021e-05/0.09629, allocations: 107.9 kB / 355.7 MB, free: 15.24 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.281e-05/0.09631, allocations: 31.55 kB / 355.8 MB, free: 15.21 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.091e-05/0.09636, allocations: 25.72 kB / 355.8 MB, free: 15.18 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001059/0.09647, allocations: 318.8 kB / 356.1 MB, free: 14.86 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.968e-05/0.09652, allocations: 19.98 kB / 356.1 MB, free: 14.84 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.382e-05/0.09658, allocations: 46.56 kB / 356.2 MB, free: 14.79 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.448e-05/0.09668, allocations: 66.52 kB / 356.2 MB, free: 14.71 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.09669, allocations: 256 / 356.2 MB, free: 14.71 MB / 302.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001538/0.09684, allocations: 105.5 kB / 356.3 MB, free: 14.6 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.292e-05/0.09687, allocations: 8 kB / 356.3 MB, free: 14.59 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.701e-06/0.09688, allocations: 4 kB / 356.4 MB, free: 14.59 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.408e-05/0.0969, allocations: 3.938 kB / 356.4 MB, free: 14.59 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001254/0.09703, allocations: 27.98 kB / 356.4 MB, free: 14.56 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.436e-06/0.09704, allocations: 4 kB / 356.4 MB, free: 14.55 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.154e-05/0.09709, allocations: 7.844 kB / 356.4 MB, free: 14.55 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.195e-06/0.0971, allocations: 4 kB / 356.4 MB, free: 14.54 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.325e-05/0.0972, allocations: 125.7 kB / 356.5 MB, free: 14.41 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.759e-05/0.09724, allocations: 11.97 kB / 356.5 MB, free: 14.4 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.544e-05/0.09728, allocations: 8.375 kB / 356.5 MB, free: 14.39 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.126e-06/0.09729, allocations: 3.938 kB / 356.5 MB, free: 14.38 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.931e-06/0.0973, allocations: 3.984 kB / 356.6 MB, free: 14.38 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.661e-06/0.09731, allocations: 4 kB / 356.6 MB, free: 14.38 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001922/0.09751, allocations: 185.6 kB / 356.7 MB, free: 14.14 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.09752, allocations: 0 / 356.7 MB, free: 14.14 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001035/0.09762, allocations: 19.98 kB / 356.8 MB, free: 14.12 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.603e-06/0.09763, allocations: 0 / 356.8 MB, free: 14.12 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.656e-06/0.09765, allocations: 0 / 356.8 MB, free: 14.12 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.497e-06/0.09765, allocations: 3.938 kB / 356.8 MB, free: 14.12 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.442e-06/0.09766, allocations: 4 kB / 356.8 MB, free: 14.12 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001898/0.09786, allocations: 199.4 kB / 357 MB, free: 13.91 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.282e-05/0.0979, allocations: 81.11 kB / 357 MB, free: 13.81 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.324e-05/0.09792, allocations: 0 / 357 MB, free: 13.81 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.238e-05/0.09799, allocations: 7.938 kB / 357 MB, free: 13.8 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.013e-05/0.09802, allocations: 7.984 kB / 357.1 MB, free: 13.79 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.807e-06/0.09802, allocations: 0 / 357.1 MB, free: 13.79 MB / 302.1 MB Notification: Performance of sorting global known variables: time 4.352e-05/0.09808, allocations: 91.34 kB / 357.1 MB, free: 13.7 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.09808, allocations: 3.938 kB / 357.1 MB, free: 13.7 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.00024/0.09833, allocations: 19.91 kB / 357.2 MB, free: 13.68 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 8.966e-05/0.09842, allocations: 99.78 kB / 357.3 MB, free: 13.57 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001316/0.09856, allocations: 59.91 kB / 357.3 MB, free: 13.52 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.09857, allocations: 0 / 357.3 MB, free: 13.52 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 3.447e-05/0.09861, allocations: 19.94 kB / 357.3 MB, free: 13.5 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002851/0.0989, allocations: 12.12 kB / 357.4 MB, free: 13.48 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005526/0.09946, allocations: 311.1 kB / 357.7 MB, free: 13.15 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002132/0.09969, allocations: 0.6924 MB / 358.3 MB, free: 12.43 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 3.264e-05/0.09973, allocations: 8 kB / 358.4 MB, free: 12.43 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.52e-05/0.09976, allocations: 11.44 kB / 358.4 MB, free: 12.41 MB / 302.1 MB Notification: Performance of SimCode: time 2.31e-07/0.09976, allocations: 0 / 358.4 MB, free: 12.41 MB / 302.1 MB Notification: Performance of Templates: time 0.002578/0.1023, allocations: 0.6287 MB / 359 MB, free: 11.79 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 -s gbode -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