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.001054/0.001054, allocations: 107 kB / 16.62 MB, free: 6.816 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.001075/0.001075, allocations: 193.9 kB / 17.55 MB, free: 5.941 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.328/1.328, allocations: 222.9 MB / 241.2 MB, free: 15.43 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009665/0.0009665, allocations: 46.33 kB / 300.1 MB, free: 6.211 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08164/0.08262, allocations: 49.44 MB / 349.6 MB, free: 4.766 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.TwoMasses): time 0.002745/0.0854, allocations: 1.682 MB / 351.2 MB, free: 3.066 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008179/0.08625, allocations: 0.5181 MB / 351.8 MB, free: 2.543 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.391e-05/0.08632, allocations: 0 / 351.8 MB, free: 2.543 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 5.543e-05/0.08641, allocations: 7.984 kB / 351.8 MB, free: 2.535 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 7.323e-05/0.08649, allocations: 23.77 kB / 351.8 MB, free: 2.512 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002033/0.0867, allocations: 27.98 kB / 351.8 MB, free: 2.484 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001145/0.08683, allocations: 99.47 kB / 351.9 MB, free: 2.387 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001279/0.08696, allocations: 39.95 kB / 352 MB, free: 2.348 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.064e-05/0.08701, allocations: 35.86 kB / 352 MB, free: 2.312 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.814e-05/0.08709, allocations: 39.84 kB / 352 MB, free: 2.273 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.669e-05/0.08712, allocations: 12 kB / 352 MB, free: 2.262 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.805e-05/0.08719, allocations: 12 kB / 352.1 MB, free: 2.25 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 2.82e-05/0.08722, allocations: 19.97 kB / 352.1 MB, free: 2.23 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 4.813e-05/0.08728, allocations: 43.81 kB / 352.1 MB, free: 2.188 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001412/0.08743, allocations: 99.95 kB / 352.2 MB, free: 2.09 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.917e-06/0.08744, allocations: 0 / 352.2 MB, free: 2.09 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.222e-06/0.08744, allocations: 0 / 352.2 MB, free: 2.09 MB / 286.1 MB Notification: Performance of Transformations before backend: time 4.809e-06/0.08745, allocations: 0 / 352.2 MB, free: 2.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.0004509/0.08791, allocations: 383.2 kB / 352.6 MB, free: 1.668 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.243e-05/0.08796, allocations: 8.031 kB / 352.6 MB, free: 1.66 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001308/0.0881, allocations: 12.84 kB / 352.6 MB, free: 1.648 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001196/0.08822, allocations: 176.2 kB / 352.8 MB, free: 1.438 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.333e-05/0.08824, allocations: 8.375 kB / 352.8 MB, free: 1.43 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.872e-05/0.08828, allocations: 12.38 kB / 352.8 MB, free: 1.418 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001642/0.08845, allocations: 85.94 kB / 352.9 MB, free: 1.328 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.08e-05/0.08847, allocations: 4 kB / 352.9 MB, free: 1.324 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.109e-05/0.08848, allocations: 0 / 352.9 MB, free: 1.324 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.839e-06/0.08849, allocations: 0 / 352.9 MB, free: 1.324 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001138/0.08861, allocations: 55.91 kB / 352.9 MB, free: 1.27 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006066/0.08922, allocations: 404.4 kB / 353.3 MB, free: 0.8242 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001136/0.08935, allocations: 70.5 kB / 353.4 MB, free: 0.7461 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.122e-05/0.08941, allocations: 36.84 kB / 353.4 MB, free: 0.707 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.26e-05/0.08943, allocations: 0 / 353.4 MB, free: 0.707 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.029e-05/0.08946, allocations: 34.56 kB / 353.5 MB, free: 0.6641 MB / 286.1 MB Notification: Performance of pre-optimization done (n=8): time 9.62e-07/0.08947, allocations: 0 / 353.5 MB, free: 0.6641 MB / 286.1 MB Notification: Performance of matching and sorting (n=8): time 0.0001969/0.08967, allocations: 93.47 kB / 353.6 MB, free: 0.5664 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.977e-05/0.08971, allocations: 51.41 kB / 353.6 MB, free: 0.5039 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.929e-05/0.08978, allocations: 109.8 kB / 353.7 MB, free: 396 kB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.691e-05/0.08981, allocations: 25.7 kB / 353.8 MB, free: 364 kB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.462e-05/0.08986, allocations: 104 kB / 353.9 MB, free: 256 kB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.652e-05/0.0899, allocations: 35.53 kB / 353.9 MB, free: 220 kB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.944e-05/0.08995, allocations: 29.72 kB / 353.9 MB, free: 184 kB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001148/0.09007, allocations: 310.8 kB / 354.2 MB, free: 15.87 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.492e-05/0.09013, allocations: 31.92 kB / 354.3 MB, free: 15.84 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.987e-05/0.09019, allocations: 42.56 kB / 354.3 MB, free: 15.79 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.235e-05/0.09029, allocations: 74.7 kB / 354.4 MB, free: 15.7 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.0903, allocations: 4 kB / 354.4 MB, free: 15.7 MB / 302.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001483/0.09045, allocations: 109.5 kB / 354.5 MB, free: 15.59 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.357e-05/0.09047, allocations: 6.656 kB / 354.5 MB, free: 15.58 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.748e-06/0.09048, allocations: 0 / 354.5 MB, free: 15.58 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.269e-05/0.0905, allocations: 3.938 kB / 354.5 MB, free: 15.58 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001239/0.09063, allocations: 23.98 kB / 354.5 MB, free: 15.55 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.52e-06/0.09064, allocations: 4 kB / 354.5 MB, free: 15.55 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.793e-05/0.09071, allocations: 11.91 kB / 354.5 MB, free: 15.54 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.006e-06/0.09072, allocations: 4 kB / 354.5 MB, free: 15.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 8.125e-05/0.09081, allocations: 121.8 kB / 354.6 MB, free: 15.41 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.725e-05/0.09084, allocations: 3.906 kB / 354.7 MB, free: 15.4 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.312e-05/0.09088, allocations: 12.38 kB / 354.7 MB, free: 15.39 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.926e-06/0.09089, allocations: 3.938 kB / 354.7 MB, free: 15.38 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.09e-06/0.0909, allocations: 3.984 kB / 354.7 MB, free: 15.38 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.739e-06/0.09091, allocations: 3.984 kB / 354.7 MB, free: 15.38 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001859/0.0911, allocations: 185.6 kB / 354.9 MB, free: 15.14 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.09111, allocations: 0 / 354.9 MB, free: 15.14 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000106/0.09122, allocations: 19.98 kB / 354.9 MB, free: 15.12 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.754e-06/0.09123, allocations: 4 kB / 354.9 MB, free: 15.12 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.867e-06/0.09125, allocations: 4 kB / 354.9 MB, free: 15.12 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.145e-06/0.09126, allocations: 3.938 kB / 354.9 MB, free: 15.11 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.09126, allocations: 0 / 354.9 MB, free: 15.11 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002/0.09147, allocations: 199.4 kB / 355.1 MB, free: 14.9 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.567e-05/0.09151, allocations: 77.11 kB / 355.2 MB, free: 14.81 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.649e-05/0.09153, allocations: 4.031 kB / 355.2 MB, free: 14.8 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.934e-05/0.09161, allocations: 11.98 kB / 355.2 MB, free: 14.79 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.739e-05/0.09163, allocations: 4 kB / 355.2 MB, free: 14.79 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.19e-06/0.09164, allocations: 4 kB / 355.2 MB, free: 14.79 MB / 302.1 MB Notification: Performance of sorting global known variables: time 4.03e-05/0.09168, allocations: 79.28 kB / 355.3 MB, free: 14.71 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.673e-06/0.09169, allocations: 0 / 355.3 MB, free: 14.71 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.000244/0.09194, allocations: 31.84 kB / 355.3 MB, free: 14.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 9.583e-05/0.09204, allocations: 107.1 kB / 355.4 MB, free: 14.56 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001354/0.09218, allocations: 56.05 kB / 355.4 MB, free: 14.51 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.844e-06/0.0922, allocations: 8 kB / 355.5 MB, free: 14.5 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 3.851e-05/0.09224, allocations: 23.92 kB / 355.5 MB, free: 14.48 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002809/0.09253, allocations: 8 kB / 355.5 MB, free: 14.47 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006006/0.09314, allocations: 346.7 kB / 355.8 MB, free: 14.1 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002534/0.0934, allocations: 0.6924 MB / 356.5 MB, free: 13.38 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 4.728e-05/0.09346, allocations: 3.984 kB / 356.5 MB, free: 13.38 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.593e-05/0.09349, allocations: 11.44 kB / 356.5 MB, free: 13.37 MB / 302.1 MB Notification: Performance of SimCode: time 2.91e-07/0.0935, allocations: 4 kB / 356.5 MB, free: 13.36 MB / 302.1 MB Notification: Performance of Templates: time 0.002664/0.09617, allocations: 0.6279 MB / 357.2 MB, free: 12.74 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Thermal/HeatTransfer/Examples/TwoMasses/TwoMasses.csv","/var/lib/jenkins/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