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/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 3.2.3+maint.om/package.mo", uses=false) 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 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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001049/0.001049, allocations: 97.02 kB / 17.3 MB, free: 6.344 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.001146/0.001146, allocations: 182.5 kB / 18.21 MB, free: 5.527 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.686/1.686, allocations: 205.4 MB / 224.4 MB, free: 13.07 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.000483/0.000483, allocations: 8 kB / 281.4 MB, free: 3.43 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1186/0.119, allocations: 47.58 MB / 329 MB, free: 3.77 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.TwoMasses): time 0.002302/0.1214, allocations: 1.339 MB / 330.3 MB, free: 2.418 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001218/0.1227, allocations: 0.5036 MB / 330.8 MB, free: 1.906 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.639e-05/0.1227, allocations: 0 / 330.8 MB, free: 1.906 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 5.217e-05/0.1228, allocations: 11.92 kB / 330.8 MB, free: 1.895 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000102/0.1229, allocations: 27.77 kB / 330.8 MB, free: 1.867 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002328/0.1232, allocations: 23.98 kB / 330.9 MB, free: 1.844 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001991/0.1234, allocations: 103.5 kB / 331 MB, free: 1.742 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001709/0.1235, allocations: 31.97 kB / 331 MB, free: 1.711 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.92e-05/0.1236, allocations: 27.94 kB / 331 MB, free: 1.684 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001122/0.1237, allocations: 35.83 kB / 331.1 MB, free: 1.648 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 1.862e-05/0.1237, allocations: 4 kB / 331.1 MB, free: 1.645 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.585e-05/0.1238, allocations: 12 kB / 331.1 MB, free: 1.633 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 2.661e-05/0.1239, allocations: 15.92 kB / 331.1 MB, free: 1.617 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 7.866e-05/0.124, allocations: 69.5 kB / 331.2 MB, free: 1.543 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001805/0.1242, allocations: 91.94 kB / 331.2 MB, free: 1.453 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.508e-06/0.1242, allocations: 0 / 331.2 MB, free: 1.453 MB / 270.1 MB Notification: Performance of FrontEnd: time 3.016e-06/0.1242, allocations: 0 / 331.2 MB, free: 1.453 MB / 270.1 MB Notification: Performance of Transformations before backend: time 6.181e-06/0.1242, allocations: 4 kB / 331.2 MB, free: 1.449 MB / 270.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.0005459/0.1247, allocations: 363.4 kB / 331.6 MB, free: 1.047 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.069e-05/0.1248, allocations: 8.031 kB / 331.6 MB, free: 1.039 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000157/0.125, allocations: 16.83 kB / 331.6 MB, free: 1.023 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001513/0.1251, allocations: 172.3 kB / 331.8 MB, free: 0.8164 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.368e-05/0.1252, allocations: 4.375 kB / 331.8 MB, free: 0.8125 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.775e-05/0.1252, allocations: 12.28 kB / 331.8 MB, free: 0.8008 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002131/0.1254, allocations: 93.97 kB / 331.9 MB, free: 0.7031 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.514e-05/0.1254, allocations: 0 / 331.9 MB, free: 0.7031 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.509e-05/0.1255, allocations: 4 kB / 331.9 MB, free: 0.6992 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.875e-06/0.1255, allocations: 4 kB / 331.9 MB, free: 0.6953 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001202/0.1256, allocations: 51.92 kB / 332 MB, free: 0.6445 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007615/0.1264, allocations: 404.4 kB / 332.4 MB, free: 204 kB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001478/0.1265, allocations: 74.44 kB / 332.4 MB, free: 120 kB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.755e-05/0.1266, allocations: 32.84 kB / 332.5 MB, free: 84 kB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.286e-05/0.1266, allocations: 0 / 332.5 MB, free: 84 kB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.006e-05/0.1267, allocations: 38.56 kB / 332.5 MB, free: 36 kB / 270.1 MB Notification: Performance of pre-optimization done (n=8): time 1.102e-06/0.1267, allocations: 0 / 332.5 MB, free: 36 kB / 270.1 MB Notification: Performance of matching and sorting (n=8): time 0.0002372/0.1269, allocations: 89.81 kB / 332.6 MB, free: 15.94 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.43e-05/0.127, allocations: 59.34 kB / 332.6 MB, free: 15.87 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.543e-05/0.1271, allocations: 97.86 kB / 332.7 MB, free: 15.77 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.9e-05/0.1271, allocations: 29.7 kB / 332.8 MB, free: 15.73 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001049/0.1272, allocations: 111.7 kB / 332.9 MB, free: 15.62 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.716e-05/0.1272, allocations: 31.58 kB / 332.9 MB, free: 15.59 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.207e-05/0.1273, allocations: 17.72 kB / 332.9 MB, free: 15.56 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001865/0.1275, allocations: 322.8 kB / 333.2 MB, free: 15.24 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.243e-05/0.1275, allocations: 16 kB / 333.3 MB, free: 15.22 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.958e-05/0.1276, allocations: 46.56 kB / 333.3 MB, free: 15.17 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001025/0.1277, allocations: 70.5 kB / 333.4 MB, free: 15.09 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.017e-06/0.1277, allocations: 0 / 333.4 MB, free: 15.09 MB / 286.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001563/0.1279, allocations: 105.5 kB / 333.5 MB, free: 14.98 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.278e-05/0.1279, allocations: 4 kB / 333.5 MB, free: 14.98 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.134e-06/0.1279, allocations: 4.062 kB / 333.5 MB, free: 14.97 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.925e-05/0.128, allocations: 11.88 kB / 333.5 MB, free: 14.96 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001426/0.1281, allocations: 27.98 kB / 333.5 MB, free: 14.93 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.824e-06/0.1281, allocations: 0 / 333.5 MB, free: 14.93 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.931e-05/0.1282, allocations: 7.906 kB / 333.5 MB, free: 14.93 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.536e-06/0.1282, allocations: 4 kB / 333.5 MB, free: 14.92 MB / 286.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 0.0001095/0.1283, allocations: 125.7 kB / 333.7 MB, free: 14.79 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.459e-05/0.1283, allocations: 4.25 kB / 333.7 MB, free: 14.79 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.659e-05/0.1284, allocations: 16.36 kB / 333.7 MB, free: 14.77 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.771e-06/0.1284, allocations: 3.938 kB / 333.7 MB, free: 14.77 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.613e-06/0.1284, allocations: 4 kB / 333.7 MB, free: 14.76 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.023e-06/0.1284, allocations: 3.984 kB / 333.7 MB, free: 14.76 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000229/0.1287, allocations: 189.5 kB / 333.9 MB, free: 14.52 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.1287, allocations: 0 / 333.9 MB, free: 14.52 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001024/0.1288, allocations: 16 kB / 333.9 MB, free: 14.51 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.763e-06/0.1288, allocations: 0 / 333.9 MB, free: 14.51 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.395e-05/0.1288, allocations: 4 kB / 333.9 MB, free: 14.5 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.276e-06/0.1288, allocations: 3.938 kB / 333.9 MB, free: 14.5 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.1288, allocations: 4 kB / 333.9 MB, free: 14.5 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002535/0.1291, allocations: 191.5 kB / 334.1 MB, free: 14.29 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.81e-05/0.1292, allocations: 85.05 kB / 334.2 MB, free: 14.19 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.785e-05/0.1292, allocations: 7.922 kB / 334.2 MB, free: 14.18 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.443e-05/0.1292, allocations: 7.938 kB / 334.2 MB, free: 14.18 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.568e-05/0.1293, allocations: 4 kB / 334.2 MB, free: 14.17 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.47e-06/0.1293, allocations: 4 kB / 334.2 MB, free: 14.17 MB / 286.1 MB Notification: Performance of sorting global known variables: time 4.546e-05/0.1293, allocations: 91.33 kB / 334.3 MB, free: 14.08 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1293, allocations: 0 / 334.3 MB, free: 14.08 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0002286/0.1296, allocations: 19.94 kB / 334.3 MB, free: 14.06 MB / 286.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 0.0001493/0.1297, allocations: 99.25 kB / 334.4 MB, free: 13.95 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.000154/0.1299, allocations: 52.31 kB / 334.4 MB, free: 13.9 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.1299, allocations: 0 / 334.4 MB, free: 13.9 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 3.711e-05/0.1299, allocations: 27.97 kB / 334.5 MB, free: 13.87 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003/0.1302, allocations: 12.12 kB / 334.5 MB, free: 13.86 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006568/0.1309, allocations: 388.9 kB / 334.9 MB, free: 13.45 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003132/0.1312, allocations: 0.6926 MB / 335.6 MB, free: 12.73 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 3.493e-05/0.1313, allocations: 7.953 kB / 335.6 MB, free: 12.73 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.607e-05/0.1313, allocations: 11.44 kB / 335.6 MB, free: 12.72 MB / 286.1 MB Notification: Performance of SimCode: time 4.71e-07/0.1313, allocations: 0 / 335.6 MB, free: 12.72 MB / 286.1 MB Notification: Performance of Templates: time 0.00334/0.1347, allocations: 0.5822 MB / 336.2 MB, free: 12.14 MB / 286.1 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/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