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.000956/0.000956, allocations: 97.3 kB / 17.31 MB, free: 6.391 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.0007897/0.0007898, allocations: 175.3 kB / 18.21 MB, free: 5.551 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.292/1.292, allocations: 223.3 MB / 242.3 MB, free: 224 kB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003756/0.0003757, allocations: 15.92 kB / 302.1 MB, free: 6.141 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1173/0.1177, allocations: 50.4 MB / 352.5 MB, free: 3.723 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.TwoMasses): time 0.001597/0.1194, allocations: 1.342 MB / 353.8 MB, free: 2.367 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007519/0.1201, allocations: 0.5104 MB / 354.3 MB, free: 1.852 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.48e-05/0.1202, allocations: 4 kB / 354.3 MB, free: 1.848 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 2.739e-05/0.1202, allocations: 7.922 kB / 354.3 MB, free: 1.84 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 6.685e-05/0.1203, allocations: 19.84 kB / 354.4 MB, free: 1.82 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001651/0.1205, allocations: 27.91 kB / 354.4 MB, free: 1.793 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001075/0.1206, allocations: 95.53 kB / 354.5 MB, free: 1.699 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001137/0.1207, allocations: 31.97 kB / 354.5 MB, free: 1.668 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.775e-05/0.1208, allocations: 31.88 kB / 354.6 MB, free: 1.637 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.748e-05/0.1208, allocations: 35.84 kB / 354.6 MB, free: 1.602 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.475e-05/0.1209, allocations: 4 kB / 354.6 MB, free: 1.598 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.46e-05/0.1209, allocations: 8 kB / 354.6 MB, free: 1.59 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 1.792e-05/0.121, allocations: 15.98 kB / 354.6 MB, free: 1.574 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 5.635e-05/0.121, allocations: 65.5 kB / 354.7 MB, free: 1.504 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001109/0.1211, allocations: 72.08 kB / 354.7 MB, free: 1.434 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/0.1211, allocations: 0 / 354.7 MB, free: 1.434 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.1212, allocations: 3.938 kB / 354.8 MB, free: 1.43 MB / 286.1 MB Notification: Performance of Transformations before backend: time 3.917e-06/0.1212, allocations: 4 kB / 354.8 MB, free: 1.426 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.0003984/0.1216, allocations: 363.4 kB / 355.1 MB, free: 1.023 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.568e-05/0.1216, allocations: 12.03 kB / 355.1 MB, free: 1.012 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001169/0.1217, allocations: 8.844 kB / 355.1 MB, free: 1.004 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001174/0.1219, allocations: 172.2 kB / 355.3 MB, free: 0.7969 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.43e-05/0.1219, allocations: 8.375 kB / 355.3 MB, free: 0.7891 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.546e-05/0.1219, allocations: 8.375 kB / 355.3 MB, free: 0.7812 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001722/0.1221, allocations: 100.6 kB / 355.4 MB, free: 0.6797 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.858e-06/0.1221, allocations: 0 / 355.4 MB, free: 0.6797 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.334e-05/0.1221, allocations: 4 kB / 355.4 MB, free: 0.6758 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.182e-06/0.1221, allocations: 4 kB / 355.4 MB, free: 0.6719 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001026/0.1222, allocations: 51.97 kB / 355.5 MB, free: 0.6211 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006088/0.1229, allocations: 400.4 kB / 355.9 MB, free: 184 kB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001168/0.123, allocations: 78.47 kB / 355.9 MB, free: 96 kB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.028e-05/0.123, allocations: 32.86 kB / 356 MB, free: 60 kB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.947e-06/0.1231, allocations: 0 / 356 MB, free: 60 kB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.487e-05/0.1231, allocations: 34.56 kB / 356 MB, free: 16 kB / 286.1 MB Notification: Performance of pre-optimization done (n=8): time 9.72e-07/0.1231, allocations: 0 / 356 MB, free: 16 kB / 286.1 MB Notification: Performance of matching and sorting (n=8): time 0.000199/0.1233, allocations: 97.69 kB / 356.1 MB, free: 15.91 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.007e-05/0.1233, allocations: 55.41 kB / 356.2 MB, free: 15.85 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.697e-05/0.1234, allocations: 113.8 kB / 356.3 MB, free: 15.73 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.589e-05/0.1234, allocations: 29.7 kB / 356.3 MB, free: 15.69 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.978e-05/0.1235, allocations: 103.9 kB / 356.4 MB, free: 15.59 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.826e-05/0.1235, allocations: 31.5 kB / 356.4 MB, free: 15.55 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.622e-05/0.1236, allocations: 13.7 kB / 356.4 MB, free: 15.54 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001071/0.1237, allocations: 318.8 kB / 356.8 MB, free: 15.21 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.265e-05/0.1237, allocations: 23.98 kB / 356.8 MB, free: 15.19 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.535e-05/0.1238, allocations: 49.94 kB / 356.8 MB, free: 15.14 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.493e-05/0.1239, allocations: 66.52 kB / 356.9 MB, free: 15.06 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.1239, allocations: 0 / 356.9 MB, free: 15.06 MB / 302.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001495/0.1241, allocations: 105.6 kB / 357 MB, free: 14.95 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.265e-05/0.1241, allocations: 4 kB / 357 MB, free: 14.95 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.392e-06/0.1241, allocations: 8.062 kB / 357 MB, free: 14.94 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.446e-05/0.1241, allocations: 7.922 kB / 357 MB, free: 14.93 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00012/0.1242, allocations: 23.94 kB / 357 MB, free: 14.91 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.861e-06/0.1243, allocations: 0 / 357 MB, free: 14.91 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.868e-05/0.1243, allocations: 15.89 kB / 357.1 MB, free: 14.89 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.344e-06/0.1243, allocations: 4 kB / 357.1 MB, free: 14.89 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.256e-05/0.1244, allocations: 113.8 kB / 357.2 MB, free: 14.77 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.545e-05/0.1245, allocations: 4 kB / 357.2 MB, free: 14.77 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.103e-05/0.1245, allocations: 12.38 kB / 357.2 MB, free: 14.75 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.336e-06/0.1245, allocations: 3.938 kB / 357.2 MB, free: 14.75 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.768e-06/0.1245, allocations: 0 / 357.2 MB, free: 14.75 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.705e-06/0.1245, allocations: 0 / 357.2 MB, free: 14.75 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001902/0.1247, allocations: 201.5 kB / 357.4 MB, free: 14.5 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.392e-06/0.1247, allocations: 0 / 357.4 MB, free: 14.5 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001049/0.1248, allocations: 23.92 kB / 357.4 MB, free: 14.48 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.743e-06/0.1248, allocations: 0 / 357.4 MB, free: 14.48 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.704e-06/0.1249, allocations: 0 / 357.4 MB, free: 14.48 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.386e-06/0.1249, allocations: 3.938 kB / 357.4 MB, free: 14.47 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.1249, allocations: 4 kB / 357.4 MB, free: 14.47 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001977/0.1251, allocations: 187.5 kB / 357.6 MB, free: 14.27 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.856e-05/0.1251, allocations: 85.05 kB / 357.7 MB, free: 14.17 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.262e-05/0.1251, allocations: 0 / 357.7 MB, free: 14.17 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.289e-05/0.1252, allocations: 7.938 kB / 357.7 MB, free: 14.16 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.492e-05/0.1252, allocations: 3.984 kB / 357.7 MB, free: 14.16 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.779e-06/0.1252, allocations: 4 kB / 357.7 MB, free: 14.15 MB / 302.1 MB Notification: Performance of sorting global known variables: time 4.562e-05/0.1253, allocations: 87.59 kB / 357.8 MB, free: 14.07 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1253, allocations: 0 / 357.8 MB, free: 14.07 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002321/0.1255, allocations: 24 kB / 357.8 MB, free: 14.04 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.729e-05/0.1256, allocations: 107 kB / 357.9 MB, free: 13.93 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001353/0.1258, allocations: 63.91 kB / 358 MB, free: 13.87 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.1258, allocations: 0 / 358 MB, free: 13.87 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 3.329e-05/0.1258, allocations: 27.92 kB / 358 MB, free: 13.84 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002624/0.1261, allocations: 8.125 kB / 358 MB, free: 13.83 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005911/0.1267, allocations: 422.6 kB / 358.4 MB, free: 13.38 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002688/0.127, allocations: 0.6965 MB / 359.1 MB, free: 12.66 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.938e-05/0.127, allocations: 11.44 kB / 359.1 MB, free: 12.65 MB / 302.1 MB Notification: Performance of SimCode: time 2.51e-07/0.127, allocations: 0 / 359.1 MB, free: 12.65 MB / 302.1 MB Notification: Performance of Templates: time 0.002016/0.129, allocations: 0.9424 MB / 360.1 MB, free: 11.71 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Thermal/HeatTransfer/Examples/TwoMasses/TwoMasses.csv","/var/lib/jenkins1/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