Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Thermal.HeatTransfer.Examples.TwoMasses.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008798/0.0008797, allocations: 92.72 kB / 16.98 MB, free: 6.398 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.000931/0.0009311, allocations: 198.8 kB / 17.89 MB, free: 5.945 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.304/1.304, allocations: 227.2 MB / 245.9 MB, free: 10.36 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000236/0.0002361, allocations: 11.98 kB / 306.6 MB, free: 1.438 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08775/0.088, allocations: 51.48 MB / 358.1 MB, free: 13.95 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.TwoMasses): time 0.00137/0.0894, allocations: 1.277 MB / 359.3 MB, free: 12.67 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006694/0.09008, allocations: 0.5263 MB / 359.9 MB, free: 12.14 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.707e-05/0.09013, allocations: 4 kB / 359.9 MB, free: 12.13 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 2.233e-05/0.09016, allocations: 3.938 kB / 359.9 MB, free: 12.13 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 6.242e-05/0.09023, allocations: 31.92 kB / 359.9 MB, free: 12.1 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000156/0.09039, allocations: 27.91 kB / 359.9 MB, free: 12.07 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 9.668e-05/0.0905, allocations: 71.89 kB / 360 MB, free: 12 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001056/0.09061, allocations: 23.98 kB / 360 MB, free: 11.98 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.943e-05/0.09065, allocations: 31.91 kB / 360.1 MB, free: 11.95 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.921e-05/0.09073, allocations: 31.86 kB / 360.1 MB, free: 11.91 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.514e-05/0.09075, allocations: 4 kB / 360.1 MB, free: 11.91 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.426e-05/0.09082, allocations: 11.94 kB / 360.1 MB, free: 11.9 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 1.792e-05/0.09085, allocations: 19.92 kB / 360.1 MB, free: 11.88 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 2.79e-05/0.09088, allocations: 37.7 kB / 360.2 MB, free: 11.84 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000103/0.09099, allocations: 76.06 kB / 360.2 MB, free: 11.76 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.074e-06/0.091, allocations: 0 / 360.2 MB, free: 11.76 MB / 302.1 MB Notification: Performance of FrontEnd: time 9.92e-07/0.091, allocations: 0 / 360.2 MB, free: 11.76 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.711e-06/0.09101, allocations: 0 / 360.2 MB, free: 11.76 MB / 302.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.0003719/0.09139, allocations: 367.1 kB / 360.6 MB, free: 11.36 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.162e-05/0.09144, allocations: 12.03 kB / 360.6 MB, free: 11.34 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001132/0.09156, allocations: 11.89 kB / 360.6 MB, free: 11.33 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001169/0.09169, allocations: 174.9 kB / 360.8 MB, free: 11.12 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.403e-05/0.09171, allocations: 4 kB / 360.8 MB, free: 11.12 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.217e-05/0.09175, allocations: 11.95 kB / 360.8 MB, free: 11.11 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001495/0.0919, allocations: 88.75 kB / 360.9 MB, free: 11.02 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.066e-05/0.09192, allocations: 7.922 kB / 360.9 MB, free: 11.01 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.155e-05/0.09194, allocations: 4 kB / 360.9 MB, free: 11 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.24e-06/0.09195, allocations: 4 kB / 360.9 MB, free: 11 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.99e-05/0.09205, allocations: 43.97 kB / 360.9 MB, free: 10.96 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005994/0.09266, allocations: 408.6 kB / 361.3 MB, free: 10.51 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001098/0.09278, allocations: 66.56 kB / 361.4 MB, free: 10.43 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.137e-06/0.0928, allocations: 0 / 361.4 MB, free: 10.43 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.261e-05/0.09282, allocations: 34.56 kB / 361.4 MB, free: 10.39 MB / 302.1 MB Notification: Performance of pre-optimization done (n=8): time 1.162e-06/0.09283, allocations: 0 / 361.4 MB, free: 10.39 MB / 302.1 MB Notification: Performance of matching and sorting (n=8): time 0.0001824/0.09302, allocations: 93.75 kB / 361.5 MB, free: 10.29 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.647e-05/0.09305, allocations: 51.41 kB / 361.6 MB, free: 10.23 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.937e-05/0.09313, allocations: 109.8 kB / 361.7 MB, free: 10.11 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.234e-05/0.09315, allocations: 29.64 kB / 361.7 MB, free: 10.08 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.953e-05/0.0932, allocations: 103.8 kB / 361.8 MB, free: 9.973 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.188e-05/0.09323, allocations: 27.64 kB / 361.8 MB, free: 9.945 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.937e-06/0.09324, allocations: 0 / 361.8 MB, free: 9.945 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 9.586e-05/0.09334, allocations: 330.8 kB / 362.2 MB, free: 9.613 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.622e-05/0.09338, allocations: 16 kB / 362.2 MB, free: 9.598 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.423e-05/0.09344, allocations: 54.25 kB / 362.2 MB, free: 9.539 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.629e-05/0.09349, allocations: 28 kB / 362.3 MB, free: 9.512 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.627e-06/0.0935, allocations: 0 / 362.3 MB, free: 9.512 MB / 302.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001406/0.09365, allocations: 105.5 kB / 362.4 MB, free: 9.402 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.3e-05/0.09367, allocations: 12.06 kB / 362.4 MB, free: 9.391 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.568e-06/0.09368, allocations: 0 / 362.4 MB, free: 9.391 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.085e-05/0.09369, allocations: 0 / 362.4 MB, free: 9.391 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001194/0.09382, allocations: 27.98 kB / 362.4 MB, free: 9.363 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.94e-06/0.09383, allocations: 0 / 362.4 MB, free: 9.363 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.25e-05/0.09389, allocations: 12.16 kB / 362.4 MB, free: 9.352 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.133e-06/0.0939, allocations: 4 kB / 362.4 MB, free: 9.348 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.016e-05/0.09399, allocations: 125.7 kB / 362.5 MB, free: 9.215 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.674e-05/0.09402, allocations: 8 kB / 362.6 MB, free: 9.207 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.749e-05/0.09405, allocations: 12.31 kB / 362.6 MB, free: 9.195 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.533e-06/0.09406, allocations: 0 / 362.6 MB, free: 9.195 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.288e-06/0.09407, allocations: 4 kB / 362.6 MB, free: 9.191 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.208e-06/0.09408, allocations: 3.984 kB / 362.6 MB, free: 9.188 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001743/0.09426, allocations: 189.5 kB / 362.8 MB, free: 8.953 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.09427, allocations: 0 / 362.8 MB, free: 8.953 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001002/0.09437, allocations: 19.98 kB / 362.8 MB, free: 8.934 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.843e-06/0.09438, allocations: 0 / 362.8 MB, free: 8.934 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.061e-05/0.0944, allocations: 4 kB / 362.8 MB, free: 8.93 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.485e-06/0.09441, allocations: 8 kB / 362.8 MB, free: 8.922 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.51e-07/0.09441, allocations: 0 / 362.8 MB, free: 8.922 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001807/0.0946, allocations: 191.5 kB / 363 MB, free: 8.719 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.523e-05/0.09464, allocations: 84.97 kB / 363.1 MB, free: 8.617 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.335e-05/0.09466, allocations: 0 / 363.1 MB, free: 8.617 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.443e-05/0.09473, allocations: 8 kB / 363.1 MB, free: 8.609 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.703e-05/0.09475, allocations: 3.984 kB / 363.1 MB, free: 8.605 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.538e-06/0.09476, allocations: 4 kB / 363.1 MB, free: 8.602 MB / 302.1 MB Notification: Performance of sorting global known variables: time 3.821e-05/0.09481, allocations: 87.34 kB / 363.2 MB, free: 8.516 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.09481, allocations: 0 / 363.2 MB, free: 8.516 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002316/0.09505, allocations: 20 kB / 363.2 MB, free: 8.496 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 8.691e-05/0.09514, allocations: 99.23 kB / 363.3 MB, free: 8.387 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001163/0.09526, allocations: 55.86 kB / 363.3 MB, free: 8.332 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.09527, allocations: 0 / 363.3 MB, free: 8.332 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 2.875e-05/0.09531, allocations: 20 kB / 363.4 MB, free: 8.312 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001912/0.09551, allocations: 16.44 kB / 363.4 MB, free: 8.297 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005733/0.09609, allocations: 389.3 kB / 363.7 MB, free: 7.891 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002609/0.09636, allocations: 0.6965 MB / 364.4 MB, free: 7.168 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 3.611e-05/0.09641, allocations: 11.94 kB / 364.5 MB, free: 7.156 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.295e-05/0.09643, allocations: 11.44 kB / 364.5 MB, free: 7.145 MB / 302.1 MB Notification: Performance of SimCode: time 2.31e-07/0.09644, allocations: 0 / 364.5 MB, free: 7.145 MB / 302.1 MB Notification: Performance of Templates: time 0.002385/0.09883, allocations: 0.569 MB / 365 MB, free: 6.578 MB / 302.1 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