Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Thermal.HeatTransfer.Examples.TwoMasses.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/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_trunk_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_trunk_Modelica.Thermal.HeatTransfer.Examples.TwoMasses") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001021/0.001021, allocations: 196.1 kB / 17.43 MB, free: 4.27 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.265/1.265, allocations: 229.5 MB / 247.7 MB, free: 6.332 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007566/0.0007567, allocations: 100.8 kB / 299.9 MB, free: 5.344 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002023/0.0002023, allocations: 8 kB / 360.6 MB, free: 8.488 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1914/0.1916, allocations: 51.41 MB / 412 MB, free: 25.92 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.TwoMasses): time 0.001773/0.1934, allocations: 1.32 MB / 413.4 MB, free: 24.59 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009243/0.1944, allocations: 0.7477 MB / 414.1 MB, free: 23.79 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.258e-05/0.1944, allocations: 0 / 414.1 MB, free: 23.79 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 3.862e-05/0.1945, allocations: 19.86 kB / 414.1 MB, free: 23.77 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 8.255e-05/0.1946, allocations: 21.08 kB / 414.1 MB, free: 23.75 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001908/0.1948, allocations: 30.09 kB / 414.2 MB, free: 23.72 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001131/0.1949, allocations: 91.59 kB / 414.3 MB, free: 23.63 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001359/0.195, allocations: 31.97 kB / 414.3 MB, free: 23.6 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.359e-05/0.1951, allocations: 31.86 kB / 414.3 MB, free: 23.57 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.542e-05/0.1952, allocations: 36.5 kB / 414.4 MB, free: 23.54 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.507e-05/0.1952, allocations: 4 kB / 414.4 MB, free: 23.53 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.812e-05/0.1953, allocations: 9.188 kB / 414.4 MB, free: 23.52 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 2.219e-05/0.1953, allocations: 19.92 kB / 414.4 MB, free: 23.5 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 5.919e-05/0.1954, allocations: 61.56 kB / 414.5 MB, free: 23.44 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001473/0.1955, allocations: 101.2 kB / 414.6 MB, free: 23.34 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.069e-06/0.1956, allocations: 0 / 414.6 MB, free: 23.34 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.783e-06/0.1956, allocations: 0 / 414.6 MB, free: 23.34 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.967e-06/0.1956, allocations: 3.938 kB / 414.6 MB, free: 23.34 MB / 298.7 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.0003897/0.196, allocations: 363.4 kB / 414.9 MB, free: 22.93 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.768e-05/0.196, allocations: 11.97 kB / 414.9 MB, free: 22.92 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001424/0.1962, allocations: 16.83 kB / 414.9 MB, free: 22.91 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.679e-05/0.1963, allocations: 164.4 kB / 415.1 MB, free: 22.71 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.82e-05/0.1963, allocations: 12.31 kB / 415.1 MB, free: 22.7 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.255e-05/0.1964, allocations: 16.28 kB / 415.1 MB, free: 22.68 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001954/0.1966, allocations: 81.97 kB / 415.2 MB, free: 22.59 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.294e-05/0.1966, allocations: 0 / 415.2 MB, free: 22.59 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.511e-05/0.1966, allocations: 15.94 kB / 415.2 MB, free: 22.58 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.332e-06/0.1966, allocations: 0 / 415.2 MB, free: 22.58 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001339/0.1968, allocations: 53.34 kB / 415.3 MB, free: 22.53 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007028/0.1975, allocations: 404.4 kB / 415.7 MB, free: 22.08 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001422/0.1976, allocations: 66.56 kB / 415.7 MB, free: 22.01 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.196e-05/0.1977, allocations: 36.83 kB / 415.8 MB, free: 21.97 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.517e-05/0.1977, allocations: 4 kB / 415.8 MB, free: 21.96 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.904e-05/0.1978, allocations: 34.56 kB / 415.8 MB, free: 21.92 MB / 298.7 MB Notification: Performance of pre-optimization done (n=8): time 1.373e-06/0.1978, allocations: 0 / 415.8 MB, free: 21.92 MB / 298.7 MB Notification: Performance of matching and sorting (n=8): time 0.0002564/0.198, allocations: 93.69 kB / 415.9 MB, free: 21.82 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.304e-05/0.1981, allocations: 55.41 kB / 416 MB, free: 21.76 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.5e-05/0.1981, allocations: 109.8 kB / 416.1 MB, free: 21.64 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.001e-05/0.1982, allocations: 29.7 kB / 416.1 MB, free: 21.61 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.906e-05/0.1982, allocations: 95.86 kB / 416.2 MB, free: 21.51 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.215e-05/0.1982, allocations: 27.64 kB / 416.2 MB, free: 21.48 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.672e-06/0.1983, allocations: 4 kB / 416.2 MB, free: 21.48 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 4.678e-05/0.1983, allocations: 318.8 kB / 416.5 MB, free: 21.16 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.031e-05/0.1984, allocations: 19.98 kB / 416.5 MB, free: 21.14 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.762e-05/0.1984, allocations: 46.56 kB / 416.6 MB, free: 21.08 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001068/0.1986, allocations: 62.52 kB / 416.7 MB, free: 21.01 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-06/0.1986, allocations: 0 / 416.7 MB, free: 21.01 MB / 298.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001816/0.1988, allocations: 117.4 kB / 416.8 MB, free: 20.89 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.377e-05/0.1988, allocations: 4 kB / 416.8 MB, free: 20.89 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.572e-06/0.1988, allocations: 3.984 kB / 416.8 MB, free: 20.88 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.451e-05/0.1988, allocations: 7.938 kB / 416.8 MB, free: 20.88 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001506/0.199, allocations: 31.92 kB / 416.8 MB, free: 20.84 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.001e-06/0.199, allocations: 0 / 416.8 MB, free: 20.84 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.59e-05/0.1991, allocations: 11.84 kB / 416.8 MB, free: 20.83 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.868e-06/0.1991, allocations: 4 kB / 416.8 MB, free: 20.83 MB / 298.7 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 6.2e-05/0.1992, allocations: 125.8 kB / 417 MB, free: 20.7 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.948e-05/0.1992, allocations: 4 kB / 417 MB, free: 20.69 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.016e-05/0.1993, allocations: 8.375 kB / 417 MB, free: 20.68 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.775e-06/0.1993, allocations: 3.938 kB / 417 MB, free: 20.68 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.358e-06/0.1993, allocations: 7.922 kB / 417 MB, free: 20.67 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.086e-06/0.1993, allocations: 0 / 417 MB, free: 20.67 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001937/0.1995, allocations: 189.5 kB / 417.2 MB, free: 20.43 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.1995, allocations: 0 / 417.2 MB, free: 20.43 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001298/0.1996, allocations: 19.98 kB / 417.2 MB, free: 20.41 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.905e-06/0.1997, allocations: 0 / 417.2 MB, free: 20.41 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.308e-06/0.1997, allocations: 7.938 kB / 417.2 MB, free: 20.41 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.414e-06/0.1997, allocations: 3.938 kB / 417.2 MB, free: 20.4 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.1997, allocations: 0 / 417.2 MB, free: 20.4 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001853/0.1999, allocations: 187.5 kB / 417.4 MB, free: 20.2 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.103e-05/0.1999, allocations: 92.92 kB / 417.5 MB, free: 20.09 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.715e-05/0.1999, allocations: 256 / 417.5 MB, free: 20.09 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001038/0.2001, allocations: 15.92 kB / 417.5 MB, free: 20.08 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.705e-05/0.2001, allocations: 8.062 kB / 417.5 MB, free: 20.07 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.089e-06/0.2001, allocations: 0 / 417.5 MB, free: 20.07 MB / 298.7 MB Notification: Performance of sorting global known variables: time 2.807e-05/0.2001, allocations: 87.28 kB / 417.6 MB, free: 19.98 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.2001, allocations: 0 / 417.6 MB, free: 19.98 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003704/0.2005, allocations: 16 kB / 417.6 MB, free: 19.97 MB / 298.7 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.931e-05/0.2006, allocations: 111.2 kB / 417.7 MB, free: 19.85 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.000151/0.2008, allocations: 51.98 kB / 417.8 MB, free: 19.8 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.714e-06/0.2008, allocations: 128 / 417.8 MB, free: 19.8 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 3.922e-05/0.2008, allocations: 23.94 kB / 417.8 MB, free: 19.78 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003861/0.2012, allocations: 11.98 kB / 417.8 MB, free: 19.77 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006546/0.2019, allocations: 392.9 kB / 418.2 MB, free: 19.35 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000128/0.202, allocations: 0.6926 MB / 418.9 MB, free: 18.63 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 4.703e-05/0.2021, allocations: 0 / 418.9 MB, free: 18.63 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.678e-05/0.2021, allocations: 11.44 kB / 418.9 MB, free: 18.62 MB / 298.7 MB Notification: Performance of SimCode: time 2.5e-07/0.2021, allocations: 0 / 418.9 MB, free: 18.62 MB / 298.7 MB Notification: Performance of Templates: time 0.00293/0.2051, allocations: 0.5954 MB / 419.5 MB, free: 18.03 MB / 298.7 MB make -j1 -f Modelica_trunk_Modelica.Thermal.HeatTransfer.Examples.TwoMasses.makefile (rm -f Modelica_trunk_Modelica.Thermal.HeatTransfer.Examples.TwoMasses.pipe ; mkfifo Modelica_trunk_Modelica.Thermal.HeatTransfer.Examples.TwoMasses.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Thermal.HeatTransfer.Examples.TwoMasses.pipe >> ../files/Modelica_trunk_Modelica.Thermal.HeatTransfer.Examples.TwoMasses.sim & ./Modelica_trunk_Modelica.Thermal.HeatTransfer.Examples.TwoMasses -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Thermal.HeatTransfer.Examples.TwoMasses.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Thermal.HeatTransfer.Examples.TwoMasses_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Thermal/HeatTransfer/Examples/TwoMasses/TwoMasses.csv","../files/Modelica_trunk_Modelica.Thermal.HeatTransfer.Examples.TwoMasses.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches