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.001459/0.001459, allocations: 113.5 kB / 17.28 MB, free: 6.219 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.001617/0.001617, allocations: 185.3 kB / 18.2 MB, free: 5.301 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.533/1.533, allocations: 205.1 MB / 224 MB, free: 12.45 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.001349/0.001349, allocations: 43.94 kB / 280.1 MB, free: 3.52 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1233/0.1247, allocations: 46.63 MB / 326.8 MB, free: 4.816 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.TwoMasses): time 0.003023/0.1278, allocations: 1.68 MB / 328.5 MB, free: 3.117 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009225/0.1287, allocations: 0.5238 MB / 329 MB, free: 2.586 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.245e-05/0.1288, allocations: 4 kB / 329 MB, free: 2.582 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 6.315e-05/0.1289, allocations: 7.922 kB / 329 MB, free: 2.574 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 6.895e-05/0.129, allocations: 23.84 kB / 329 MB, free: 2.551 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002326/0.1292, allocations: 31.91 kB / 329 MB, free: 2.52 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001186/0.1293, allocations: 95.53 kB / 329.1 MB, free: 2.426 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001603/0.1295, allocations: 35.97 kB / 329.2 MB, free: 2.391 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.589e-05/0.1295, allocations: 35.92 kB / 329.2 MB, free: 2.355 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.413e-05/0.1296, allocations: 35.86 kB / 329.2 MB, free: 2.32 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 2.269e-05/0.1297, allocations: 8 kB / 329.2 MB, free: 2.312 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.84e-05/0.1298, allocations: 19.98 kB / 329.3 MB, free: 2.293 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 2.146e-05/0.1298, allocations: 15.94 kB / 329.3 MB, free: 2.277 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 5.876e-05/0.1299, allocations: 51.78 kB / 329.3 MB, free: 2.227 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001963/0.1301, allocations: 99.91 kB / 329.4 MB, free: 2.129 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.46e-06/0.1301, allocations: 0 / 329.4 MB, free: 2.129 MB / 270.1 MB Notification: Performance of FrontEnd: time 2.364e-06/0.1301, allocations: 0 / 329.4 MB, free: 2.129 MB / 270.1 MB Notification: Performance of Transformations before backend: time 8.917e-06/0.1301, allocations: 0 / 329.4 MB, free: 2.129 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.0006073/0.1307, allocations: 375.3 kB / 329.8 MB, free: 1.715 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.127e-05/0.1308, allocations: 12.03 kB / 329.8 MB, free: 1.703 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001369/0.1309, allocations: 12.84 kB / 329.8 MB, free: 1.691 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001555/0.1311, allocations: 172.2 kB / 330 MB, free: 1.484 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.242e-05/0.1311, allocations: 8.375 kB / 330 MB, free: 1.477 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.902e-05/0.1312, allocations: 8.359 kB / 330 MB, free: 1.469 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000203/0.1314, allocations: 93.88 kB / 330.1 MB, free: 1.371 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.672e-05/0.1314, allocations: 0 / 330.1 MB, free: 1.371 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.761e-05/0.1314, allocations: 4 kB / 330.1 MB, free: 1.367 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.362e-06/0.1314, allocations: 4 kB / 330.1 MB, free: 1.363 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001113/0.1315, allocations: 51.97 kB / 330.2 MB, free: 1.312 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007214/0.1323, allocations: 404.4 kB / 330.6 MB, free: 0.8672 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001451/0.1324, allocations: 74.53 kB / 330.6 MB, free: 0.7852 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.775e-05/0.1325, allocations: 32.86 kB / 330.7 MB, free: 0.75 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.087e-05/0.1325, allocations: 4 kB / 330.7 MB, free: 0.7461 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.502e-05/0.1326, allocations: 34.55 kB / 330.7 MB, free: 0.7031 MB / 270.1 MB Notification: Performance of pre-optimization done (n=8): time 1.002e-06/0.1326, allocations: 7.938 kB / 330.7 MB, free: 0.6953 MB / 270.1 MB Notification: Performance of matching and sorting (n=8): time 0.0002187/0.1328, allocations: 81.62 kB / 330.8 MB, free: 0.6094 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.96e-05/0.1328, allocations: 51.41 kB / 330.8 MB, free: 0.5469 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.895e-05/0.1329, allocations: 113.8 kB / 330.9 MB, free: 436 kB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 1.739e-05/0.133, allocations: 29.7 kB / 331 MB, free: 400 kB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.569e-05/0.133, allocations: 107.8 kB / 331.1 MB, free: 288 kB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.318e-05/0.1331, allocations: 31.56 kB / 331.1 MB, free: 256 kB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.405e-05/0.1331, allocations: 29.7 kB / 331.1 MB, free: 220 kB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001421/0.1333, allocations: 322.8 kB / 331.5 MB, free: 15.89 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.358e-05/0.1333, allocations: 23.98 kB / 331.5 MB, free: 15.87 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.368e-05/0.1334, allocations: 38.56 kB / 331.5 MB, free: 15.82 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001011/0.1335, allocations: 70.52 kB / 331.6 MB, free: 15.74 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-06/0.1335, allocations: 0 / 331.6 MB, free: 15.74 MB / 286.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001456/0.1336, allocations: 105.6 kB / 331.7 MB, free: 15.63 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.767e-05/0.1337, allocations: 4 kB / 331.7 MB, free: 15.63 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.643e-06/0.1337, allocations: 0 / 331.7 MB, free: 15.63 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.459e-05/0.1337, allocations: 11.88 kB / 331.7 MB, free: 15.62 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001213/0.1338, allocations: 23.94 kB / 331.7 MB, free: 15.59 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.681e-06/0.1338, allocations: 0 / 331.7 MB, free: 15.59 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.078e-05/0.1339, allocations: 15.95 kB / 331.7 MB, free: 15.58 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.318e-05/0.1339, allocations: 8 kB / 331.7 MB, free: 15.57 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 8.12e-05/0.134, allocations: 117.8 kB / 331.9 MB, free: 15.45 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.449e-05/0.134, allocations: 4 kB / 331.9 MB, free: 15.44 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.19e-05/0.1341, allocations: 8.375 kB / 331.9 MB, free: 15.43 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.886e-06/0.1341, allocations: 3.938 kB / 331.9 MB, free: 15.43 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.558e-06/0.1341, allocations: 0 / 331.9 MB, free: 15.43 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/0.1341, allocations: 0 / 331.9 MB, free: 15.43 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002001/0.1343, allocations: 193.7 kB / 332.1 MB, free: 15.19 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.1343, allocations: 4 kB / 332.1 MB, free: 15.19 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001038/0.1344, allocations: 27.92 kB / 332.1 MB, free: 15.16 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.854e-06/0.1344, allocations: 0 / 332.1 MB, free: 15.16 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.969e-06/0.1345, allocations: 0 / 332.1 MB, free: 15.16 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.447e-06/0.1345, allocations: 3.938 kB / 332.1 MB, free: 15.16 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.1345, allocations: 0 / 332.1 MB, free: 15.16 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002085/0.1347, allocations: 183.5 kB / 332.3 MB, free: 14.96 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.524e-05/0.1347, allocations: 85.05 kB / 332.4 MB, free: 14.86 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.662e-05/0.1348, allocations: 4.062 kB / 332.4 MB, free: 14.86 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.46e-05/0.1348, allocations: 8.188 kB / 332.4 MB, free: 14.85 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.583e-05/0.1349, allocations: 7.984 kB / 332.4 MB, free: 14.84 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.602e-06/0.1349, allocations: 8 kB / 332.4 MB, free: 14.83 MB / 286.1 MB Notification: Performance of sorting global known variables: time 3.762e-05/0.1349, allocations: 83.28 kB / 332.5 MB, free: 14.75 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.352e-06/0.1349, allocations: 0 / 332.5 MB, free: 14.75 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0002347/0.1352, allocations: 31.78 kB / 332.5 MB, free: 14.72 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.0001054/0.1353, allocations: 95.25 kB / 332.6 MB, free: 14.61 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0001445/0.1354, allocations: 71.89 kB / 332.7 MB, free: 14.54 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.1354, allocations: 0 / 332.7 MB, free: 14.54 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 3.089e-05/0.1355, allocations: 20 kB / 332.7 MB, free: 14.52 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003214/0.1358, allocations: 15.92 kB / 332.7 MB, free: 14.51 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006621/0.1365, allocations: 338.9 kB / 333 MB, free: 14.15 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003079/0.1368, allocations: 0.6962 MB / 333.7 MB, free: 13.43 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 3.599e-05/0.1368, allocations: 3.953 kB / 333.7 MB, free: 13.42 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.343e-05/0.1369, allocations: 15.44 kB / 333.7 MB, free: 13.41 MB / 286.1 MB Notification: Performance of SimCode: time 2.71e-07/0.1369, allocations: 0 / 333.7 MB, free: 13.41 MB / 286.1 MB Notification: Performance of Templates: time 0.002961/0.1398, allocations: 0.6225 MB / 334.4 MB, free: 12.79 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