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.0007805/0.0007805, allocations: 91.81 kB / 17.35 MB, free: 6.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009254/0.0009256, allocations: 201.3 kB / 18.28 MB, free: 5.477 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.332/1.332, allocations: 227.7 MB / 246.8 MB, free: 11.34 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002546/0.0002546, allocations: 8 kB / 307.7 MB, free: 0.8438 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0937/0.09397, allocations: 51.53 MB / 359.2 MB, free: 13.32 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.TwoMasses): time 0.001851/0.09586, allocations: 1.347 MB / 360.6 MB, free: 11.97 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008481/0.09673, allocations: 0.5455 MB / 361.1 MB, free: 11.42 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.677e-05/0.09678, allocations: 7.938 kB / 361.1 MB, free: 11.41 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 3.412e-05/0.09682, allocations: 7.922 kB / 361.1 MB, free: 11.4 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 6.925e-05/0.0969, allocations: 23.83 kB / 361.2 MB, free: 11.38 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001813/0.09709, allocations: 23.92 kB / 361.2 MB, free: 11.36 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001051/0.0972, allocations: 91.59 kB / 361.3 MB, free: 11.27 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001246/0.09733, allocations: 31.97 kB / 361.3 MB, free: 11.23 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.602e-05/0.09738, allocations: 31.86 kB / 361.3 MB, free: 11.2 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.764e-05/0.09748, allocations: 35.84 kB / 361.4 MB, free: 11.17 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.703e-05/0.0975, allocations: 4 kB / 361.4 MB, free: 11.16 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.288e-05/0.09759, allocations: 8 kB / 361.4 MB, free: 11.16 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 2.202e-05/0.09762, allocations: 27.84 kB / 361.4 MB, free: 11.13 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 6.075e-05/0.09769, allocations: 61.58 kB / 361.5 MB, free: 11.06 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001449/0.09784, allocations: 99.92 kB / 361.6 MB, free: 10.96 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.097e-06/0.09785, allocations: 0 / 361.6 MB, free: 10.96 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.773e-06/0.09786, allocations: 0 / 361.6 MB, free: 10.96 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.14e-06/0.09787, allocations: 0 / 361.6 MB, free: 10.96 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.0004009/0.09828, allocations: 367.3 kB / 361.9 MB, free: 10.56 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.1e-05/0.09832, allocations: 12.03 kB / 361.9 MB, free: 10.55 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000118/0.09845, allocations: 4.938 kB / 362 MB, free: 10.54 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001101/0.09857, allocations: 184.2 kB / 362.1 MB, free: 10.32 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.3e-05/0.09859, allocations: 8.375 kB / 362.1 MB, free: 10.32 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.912e-05/0.09862, allocations: 8.375 kB / 362.2 MB, free: 10.31 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001686/0.09879, allocations: 85.92 kB / 362.2 MB, free: 10.22 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.08e-05/0.09881, allocations: 0 / 362.2 MB, free: 10.22 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.166e-05/0.09883, allocations: 4 kB / 362.2 MB, free: 10.21 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.831e-06/0.09884, allocations: 4 kB / 362.2 MB, free: 10.21 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001023/0.09895, allocations: 51.97 kB / 362.3 MB, free: 10.16 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006178/0.09957, allocations: 396.4 kB / 362.7 MB, free: 9.723 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001172/0.0997, allocations: 70.55 kB / 362.7 MB, free: 9.645 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.224e-05/0.09976, allocations: 36.84 kB / 362.8 MB, free: 9.605 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.176e-05/0.09978, allocations: 4 kB / 362.8 MB, free: 9.602 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.672e-05/0.09981, allocations: 38.5 kB / 362.8 MB, free: 9.555 MB / 302.1 MB Notification: Performance of pre-optimization done (n=8): time 1.022e-06/0.09981, allocations: 0 / 362.8 MB, free: 9.555 MB / 302.1 MB Notification: Performance of matching and sorting (n=8): time 0.0001847/0.1, allocations: 85.77 kB / 362.9 MB, free: 9.465 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.825e-05/0.1, allocations: 55.41 kB / 363 MB, free: 9.398 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.342e-05/0.1001, allocations: 105.8 kB / 363.1 MB, free: 9.285 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.453e-05/0.1001, allocations: 29.7 kB / 363.1 MB, free: 9.25 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.172e-05/0.1002, allocations: 108 kB / 363.2 MB, free: 9.141 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.756e-05/0.1002, allocations: 31.5 kB / 363.2 MB, free: 9.109 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.634e-05/0.1003, allocations: 17.7 kB / 363.3 MB, free: 9.086 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 9.99e-05/0.1004, allocations: 318.8 kB / 363.6 MB, free: 8.766 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.291e-05/0.1004, allocations: 23.98 kB / 363.6 MB, free: 8.742 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.575e-05/0.1005, allocations: 46.5 kB / 363.6 MB, free: 8.688 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.009e-05/0.1006, allocations: 62.52 kB / 363.7 MB, free: 8.617 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/0.1006, allocations: 4 kB / 363.7 MB, free: 8.613 MB / 302.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001463/0.1007, allocations: 109.8 kB / 363.8 MB, free: 8.5 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.232e-05/0.1008, allocations: 4 kB / 363.8 MB, free: 8.496 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.31e-06/0.1008, allocations: 4 kB / 363.8 MB, free: 8.492 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.153e-05/0.1008, allocations: 3.938 kB / 363.8 MB, free: 8.488 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001163/0.1009, allocations: 27.94 kB / 363.8 MB, free: 8.461 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.805e-06/0.1009, allocations: 8.047 kB / 363.8 MB, free: 8.453 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.827e-05/0.101, allocations: 11.91 kB / 363.9 MB, free: 8.441 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.093e-06/0.101, allocations: 4.062 kB / 363.9 MB, free: 8.438 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 7.92e-05/0.1011, allocations: 121.8 kB / 364 MB, free: 8.309 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.623e-05/0.1011, allocations: 4 kB / 364 MB, free: 8.305 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.82e-05/0.1012, allocations: 8.375 kB / 364 MB, free: 8.297 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.026e-06/0.1012, allocations: 3.938 kB / 364 MB, free: 8.293 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.246e-06/0.1012, allocations: 0 / 364 MB, free: 8.293 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.005e-06/0.1012, allocations: 4 kB / 364 MB, free: 8.289 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001793/0.1014, allocations: 197.5 kB / 364.2 MB, free: 8.047 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.1014, allocations: 0 / 364.2 MB, free: 8.047 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000102/0.1015, allocations: 23.92 kB / 364.2 MB, free: 8.023 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.934e-06/0.1015, allocations: 4 kB / 364.2 MB, free: 8.02 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.013e-05/0.1015, allocations: 0 / 364.2 MB, free: 8.02 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.366e-06/0.1015, allocations: 3.938 kB / 364.2 MB, free: 8.016 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.797e-06/0.1015, allocations: 4 kB / 364.2 MB, free: 8.012 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002102/0.1017, allocations: 199.4 kB / 364.4 MB, free: 7.801 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.171e-05/0.1018, allocations: 77.11 kB / 364.5 MB, free: 7.707 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.38e-05/0.1018, allocations: 0 / 364.5 MB, free: 7.707 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.612e-05/0.1019, allocations: 12 kB / 364.5 MB, free: 7.695 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.875e-05/0.1019, allocations: 3.984 kB / 364.5 MB, free: 7.691 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.873e-06/0.1019, allocations: 8 kB / 364.5 MB, free: 7.684 MB / 302.1 MB Notification: Performance of sorting global known variables: time 3.584e-05/0.1019, allocations: 83.22 kB / 364.6 MB, free: 7.602 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.2e-07/0.102, allocations: 0 / 364.6 MB, free: 7.602 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002372/0.1022, allocations: 27.91 kB / 364.6 MB, free: 7.574 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.794e-05/0.1023, allocations: 95.19 kB / 364.7 MB, free: 7.469 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001202/0.1024, allocations: 67.97 kB / 364.8 MB, free: 7.402 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.1024, allocations: 0 / 364.8 MB, free: 7.402 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 3.042e-05/0.1025, allocations: 19.94 kB / 364.8 MB, free: 7.383 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002545/0.1027, allocations: 8 kB / 364.8 MB, free: 7.375 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000571/0.1033, allocations: 393.1 kB / 365.2 MB, free: 6.961 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002378/0.1036, allocations: 0.6937 MB / 365.9 MB, free: 6.242 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 3.509e-05/0.1036, allocations: 11.94 kB / 365.9 MB, free: 6.23 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.258e-05/0.1036, allocations: 7.438 kB / 365.9 MB, free: 6.227 MB / 302.1 MB Notification: Performance of SimCode: time 2.61e-07/0.1036, allocations: 4 kB / 365.9 MB, free: 6.223 MB / 302.1 MB Notification: Performance of Templates: time 0.002665/0.1063, allocations: 0.5859 MB / 366.5 MB, free: 5.641 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Thermal.HeatTransfer.Examples.TwoMasses.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches