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/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/Complex 3.2.3+maint.om/package.mo): time 0.001032/0.001032, allocations: 187 kB / 17.92 MB, free: 3.855 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.149/1.149, allocations: 205.1 MB / 223.7 MB, free: 8.484 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008597/0.0008597, allocations: 112.2 kB / 271.2 MB, free: 8.434 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007843/0.0007844, allocations: 39.94 kB / 327.2 MB, free: 336 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1994/0.2002, allocations: 46.62 MB / 373.8 MB, free: 45.65 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.TwoMasses): time 0.00259/0.2028, allocations: 1.683 MB / 375.5 MB, free: 44.47 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007199/0.2036, allocations: 0.5245 MB / 376 MB, free: 44.07 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.177e-05/0.2037, allocations: 2.531 kB / 376 MB, free: 44.07 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 5.17e-05/0.2037, allocations: 5.109 kB / 376 MB, free: 44.07 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 6.864e-05/0.2038, allocations: 26.92 kB / 376.1 MB, free: 44.05 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001697/0.204, allocations: 20.23 kB / 376.1 MB, free: 44.03 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001015/0.2041, allocations: 101.4 kB / 376.2 MB, free: 43.97 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001107/0.2042, allocations: 36.45 kB / 376.2 MB, free: 43.95 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.48e-05/0.2043, allocations: 32.42 kB / 376.2 MB, free: 43.93 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.081e-05/0.2043, allocations: 40.98 kB / 376.3 MB, free: 43.91 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.751e-05/0.2044, allocations: 6.531 kB / 376.3 MB, free: 43.91 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.119e-05/0.2044, allocations: 8.5 kB / 376.3 MB, free: 43.91 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 1.673e-05/0.2045, allocations: 18.11 kB / 376.3 MB, free: 43.89 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 5.076e-05/0.2045, allocations: 45.67 kB / 376.4 MB, free: 43.86 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001247/0.2047, allocations: 99.84 kB / 376.5 MB, free: 43.79 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.466e-06/0.2047, allocations: 5.125 kB / 376.5 MB, free: 43.79 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.012e-06/0.2047, allocations: 0 / 376.5 MB, free: 43.79 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.917e-06/0.2047, allocations: 0 / 376.5 MB, free: 43.79 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.0003885/0.2051, allocations: 373.1 kB / 376.8 MB, free: 43.41 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.535e-05/0.2051, allocations: 9.281 kB / 376.8 MB, free: 43.41 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001128/0.2052, allocations: 15.61 kB / 376.8 MB, free: 43.4 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.502e-05/0.2053, allocations: 170.6 kB / 377 MB, free: 43.2 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.353e-05/0.2053, allocations: 7.844 kB / 377 MB, free: 43.19 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.618e-05/0.2054, allocations: 14.38 kB / 377 MB, free: 43.18 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001403/0.2055, allocations: 88.47 kB / 377.1 MB, free: 43.12 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.082e-05/0.2055, allocations: 0 / 377.1 MB, free: 43.12 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.053e-05/0.2055, allocations: 5.188 kB / 377.1 MB, free: 43.11 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.899e-06/0.2056, allocations: 2.062 kB / 377.1 MB, free: 43.11 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.663e-05/0.2057, allocations: 58.75 kB / 377.2 MB, free: 43.09 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005244/0.2062, allocations: 396.9 kB / 377.6 MB, free: 42.71 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001071/0.2063, allocations: 73.86 kB / 377.6 MB, free: 42.66 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.766e-05/0.2064, allocations: 36.53 kB / 377.7 MB, free: 42.64 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.26e-05/0.2064, allocations: 1.156 kB / 377.7 MB, free: 42.64 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.44e-05/0.2064, allocations: 31.78 kB / 377.7 MB, free: 42.6 MB / 298.7 MB Notification: Performance of pre-optimization done (n=8): time 1.242e-06/0.2064, allocations: 0 / 377.7 MB, free: 42.6 MB / 298.7 MB Notification: Performance of matching and sorting (n=8): time 0.0001788/0.2066, allocations: 96.8 kB / 377.8 MB, free: 42.53 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.845e-05/0.2066, allocations: 56.36 kB / 377.9 MB, free: 42.46 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.924e-05/0.2067, allocations: 101.7 kB / 378 MB, free: 42.36 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 7.274e-06/0.2067, allocations: 29.7 kB / 378 MB, free: 42.33 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.802e-05/0.2067, allocations: 103.6 kB / 378.1 MB, free: 42.23 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.765e-05/0.2068, allocations: 28.27 kB / 378.1 MB, free: 42.2 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.516e-05/0.2068, allocations: 28.41 kB / 378.1 MB, free: 42.18 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 3.985e-05/0.2068, allocations: 324.9 kB / 378.5 MB, free: 41.85 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.715e-05/0.2069, allocations: 19.81 kB / 378.5 MB, free: 41.84 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.753e-05/0.2069, allocations: 41.41 kB / 378.5 MB, free: 41.81 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.805e-05/0.207, allocations: 70.62 kB / 378.6 MB, free: 41.76 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.305e-06/0.207, allocations: 1.125 kB / 378.6 MB, free: 41.76 MB / 298.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001305/0.2072, allocations: 112.3 kB / 378.7 MB, free: 41.68 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.44e-05/0.2072, allocations: 9.656 kB / 378.7 MB, free: 41.68 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.441e-06/0.2072, allocations: 0 / 378.7 MB, free: 41.68 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.25e-05/0.2072, allocations: 6.406 kB / 378.7 MB, free: 41.68 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000113/0.2073, allocations: 23.89 kB / 378.7 MB, free: 41.67 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.651e-06/0.2073, allocations: 5.094 kB / 378.7 MB, free: 41.67 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.292e-05/0.2074, allocations: 7.375 kB / 378.8 MB, free: 41.66 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.524e-06/0.2074, allocations: 7.344 kB / 378.8 MB, free: 41.66 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 5.212e-05/0.2075, allocations: 122.2 kB / 378.9 MB, free: 41.54 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.424e-05/0.2075, allocations: 2.25 kB / 378.9 MB, free: 41.54 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.794e-05/0.2075, allocations: 13.73 kB / 378.9 MB, free: 41.53 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.076e-06/0.2075, allocations: 5.188 kB / 378.9 MB, free: 41.52 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.149e-06/0.2076, allocations: 0 / 378.9 MB, free: 41.52 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.865e-06/0.2076, allocations: 0 / 378.9 MB, free: 41.52 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001333/0.2077, allocations: 191 kB / 379.1 MB, free: 41.3 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.402e-06/0.2077, allocations: 0 / 379.1 MB, free: 41.3 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.379e-05/0.2078, allocations: 20.16 kB / 379.1 MB, free: 41.3 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.485e-06/0.2078, allocations: 1.188 kB / 379.1 MB, free: 41.3 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.155e-06/0.2078, allocations: 0 / 379.1 MB, free: 41.3 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.884e-06/0.2078, allocations: 9.094 kB / 379.1 MB, free: 41.29 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/0.2078, allocations: 3.984 kB / 379.1 MB, free: 41.29 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008173/0.2087, allocations: 1.176 MB / 380.3 MB, free: 40.12 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.931e-05/0.2087, allocations: 95.19 kB / 380.4 MB, free: 40.01 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.022e-05/0.2087, allocations: 5.25 kB / 380.4 MB, free: 40.01 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.769e-05/0.2088, allocations: 5.094 kB / 380.4 MB, free: 40 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.452e-05/0.2088, allocations: 2.156 kB / 380.4 MB, free: 40 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.058e-06/0.2088, allocations: 1.938 kB / 380.4 MB, free: 40 MB / 298.7 MB Notification: Performance of sorting global known variables: time 2.487e-05/0.2088, allocations: 88.64 kB / 380.5 MB, free: 39.92 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2088, allocations: 64 / 380.5 MB, free: 39.92 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003047/0.2091, allocations: 30.56 kB / 380.5 MB, free: 39.92 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 6.145e-05/0.2092, allocations: 96.38 kB / 380.6 MB, free: 39.83 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001202/0.2093, allocations: 57.72 kB / 380.7 MB, free: 39.8 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.305e-06/0.2093, allocations: 0 / 380.7 MB, free: 39.8 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 3.262e-05/0.2094, allocations: 31.81 kB / 380.7 MB, free: 39.79 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002465/0.2096, allocations: 9.344 kB / 380.7 MB, free: 39.79 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005608/0.2102, allocations: 478.5 kB / 381.2 MB, free: 39.36 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001123/0.2103, allocations: 0.6978 MB / 381.9 MB, free: 38.66 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 3.778e-05/0.2104, allocations: 6.641 kB / 381.9 MB, free: 38.65 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.363e-05/0.2104, allocations: 12 kB / 381.9 MB, free: 38.65 MB / 298.7 MB Notification: Performance of SimCode: time 2e-07/0.2104, allocations: 3.938 kB / 381.9 MB, free: 38.64 MB / 298.7 MB Notification: Performance of Templates: time 0.002466/0.2129, allocations: 0.7083 MB / 382.6 MB, free: 38.29 MB / 298.7 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@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Thermal/HeatTransfer/Examples/TwoMasses/TwoMasses.csv","../files/Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.TwoMasses.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches