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.001059/0.001059, allocations: 116.9 kB / 18.4 MB, free: 4.75 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001163/0.001163, allocations: 204.5 kB / 19.35 MB, free: 3.805 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.468/1.468, allocations: 227.4 MB / 247.5 MB, free: 10.32 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001889/0.001889, allocations: 55.59 kB / 308.4 MB, free: 15.86 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1163/0.1182, allocations: 50.53 MB / 358.9 MB, free: 13.31 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.TwoMasses): time 0.002647/0.1209, allocations: 1.627 MB / 360.5 MB, free: 11.68 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.000812/0.1217, allocations: 0.5548 MB / 361.1 MB, free: 11.12 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.471e-05/0.1218, allocations: 7.938 kB / 361.1 MB, free: 11.11 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 5.239e-05/0.1219, allocations: 11.86 kB / 361.1 MB, free: 11.1 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 6.798e-05/0.1219, allocations: 31.7 kB / 361.1 MB, free: 11.07 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001942/0.1221, allocations: 23.97 kB / 361.1 MB, free: 11.04 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001259/0.1223, allocations: 103.5 kB / 361.2 MB, free: 10.94 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001659/0.1225, allocations: 35.97 kB / 361.3 MB, free: 10.91 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.485e-05/0.1225, allocations: 35.86 kB / 361.3 MB, free: 10.87 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.991e-05/0.1226, allocations: 47.83 kB / 361.4 MB, free: 10.82 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.731e-05/0.1226, allocations: 8 kB / 361.4 MB, free: 10.82 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.613e-05/0.1227, allocations: 8 kB / 361.4 MB, free: 10.81 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 2.305e-05/0.1227, allocations: 23.92 kB / 361.4 MB, free: 10.79 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 5.11e-05/0.1228, allocations: 35.88 kB / 361.4 MB, free: 10.75 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001447/0.1229, allocations: 103.7 kB / 361.5 MB, free: 10.65 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.447e-06/0.1229, allocations: 4 kB / 361.5 MB, free: 10.64 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.352e-06/0.123, allocations: 0 / 361.5 MB, free: 10.64 MB / 302.1 MB Notification: Performance of Transformations before backend: time 4.529e-06/0.123, allocations: 0 / 361.5 MB, free: 10.64 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.0004501/0.1234, allocations: 379.2 kB / 361.9 MB, free: 10.23 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.465e-05/0.1235, allocations: 15.97 kB / 361.9 MB, free: 10.21 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001251/0.1236, allocations: 8.844 kB / 361.9 MB, free: 10.2 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001243/0.1237, allocations: 176.2 kB / 362.1 MB, free: 9.992 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.611e-05/0.1237, allocations: 8.375 kB / 362.1 MB, free: 9.984 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.943e-05/0.1238, allocations: 12.38 kB / 362.1 MB, free: 9.973 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001807/0.124, allocations: 84.39 kB / 362.2 MB, free: 9.887 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.472e-05/0.124, allocations: 4 kB / 362.2 MB, free: 9.883 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.175e-05/0.124, allocations: 0 / 362.2 MB, free: 9.883 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.211e-06/0.124, allocations: 4 kB / 362.2 MB, free: 9.879 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001146/0.1241, allocations: 55.91 kB / 362.3 MB, free: 9.824 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007011/0.1248, allocations: 400.4 kB / 362.7 MB, free: 9.383 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001216/0.125, allocations: 66.56 kB / 362.7 MB, free: 9.309 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.096e-05/0.125, allocations: 36.84 kB / 362.8 MB, free: 9.27 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.188e-05/0.1251, allocations: 0 / 362.8 MB, free: 9.27 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.092e-05/0.1251, allocations: 30.56 kB / 362.8 MB, free: 9.23 MB / 302.1 MB Notification: Performance of pre-optimization done (n=8): time 9.82e-07/0.1251, allocations: 0 / 362.8 MB, free: 9.23 MB / 302.1 MB Notification: Performance of matching and sorting (n=8): time 0.0001994/0.1253, allocations: 101.6 kB / 362.9 MB, free: 9.125 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.029e-05/0.1253, allocations: 55.41 kB / 362.9 MB, free: 9.059 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.437e-05/0.1254, allocations: 113.8 kB / 363.1 MB, free: 8.938 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.45e-05/0.1254, allocations: 25.7 kB / 363.1 MB, free: 8.906 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.405e-05/0.1255, allocations: 103.9 kB / 363.2 MB, free: 8.801 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.217e-05/0.1255, allocations: 31.55 kB / 363.2 MB, free: 8.77 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.971e-05/0.1256, allocations: 25.72 kB / 363.2 MB, free: 8.738 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 9.606e-05/0.1257, allocations: 318.8 kB / 363.6 MB, free: 8.418 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.274e-05/0.1257, allocations: 16 kB / 363.6 MB, free: 8.402 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.573e-05/0.1258, allocations: 54.55 kB / 363.6 MB, free: 8.34 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.923e-05/0.1259, allocations: 74.44 kB / 363.7 MB, free: 8.258 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.1259, allocations: 0 / 363.7 MB, free: 8.258 MB / 302.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000147/0.126, allocations: 109.5 kB / 363.8 MB, free: 8.145 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.346e-05/0.126, allocations: 4 kB / 363.8 MB, free: 8.141 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.53e-06/0.1261, allocations: 4.062 kB / 363.8 MB, free: 8.137 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.486e-05/0.1261, allocations: 7.938 kB / 363.8 MB, free: 8.129 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001189/0.1262, allocations: 23.98 kB / 363.8 MB, free: 8.105 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.985e-06/0.1262, allocations: 3.938 kB / 363.8 MB, free: 8.102 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.358e-05/0.1263, allocations: 11.91 kB / 363.9 MB, free: 8.09 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.955e-06/0.1263, allocations: 4 kB / 363.9 MB, free: 8.086 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.772e-05/0.1264, allocations: 117.8 kB / 364 MB, free: 7.961 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.688e-05/0.1264, allocations: 3.906 kB / 364 MB, free: 7.957 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.423e-05/0.1264, allocations: 8.375 kB / 364 MB, free: 7.949 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.831e-06/0.1265, allocations: 11.94 kB / 364 MB, free: 7.938 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.867e-06/0.1265, allocations: 0 / 364 MB, free: 7.938 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.358e-06/0.1265, allocations: 3.984 kB / 364 MB, free: 7.934 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000252/0.1267, allocations: 185.6 kB / 364.2 MB, free: 7.703 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.1267, allocations: 0 / 364.2 MB, free: 7.703 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001009/0.1268, allocations: 19.98 kB / 364.2 MB, free: 7.684 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.054e-06/0.1269, allocations: 0 / 364.2 MB, free: 7.684 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.243e-05/0.1269, allocations: 4 kB / 364.2 MB, free: 7.68 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.076e-06/0.1269, allocations: 7.875 kB / 364.2 MB, free: 7.672 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.843e-06/0.1269, allocations: 3.938 kB / 364.2 MB, free: 7.668 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002008/0.1271, allocations: 199.4 kB / 364.4 MB, free: 7.457 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.699e-05/0.1271, allocations: 77.11 kB / 364.5 MB, free: 7.363 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.774e-05/0.1272, allocations: 4.031 kB / 364.5 MB, free: 7.359 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.773e-05/0.1272, allocations: 3.938 kB / 364.5 MB, free: 7.355 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.59e-05/0.1272, allocations: 3.984 kB / 364.5 MB, free: 7.352 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.871e-06/0.1273, allocations: 8 kB / 364.5 MB, free: 7.344 MB / 302.1 MB Notification: Performance of sorting global known variables: time 3.93e-05/0.1273, allocations: 83.53 kB / 364.6 MB, free: 7.262 MB / 302.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1273, allocations: 64 / 364.6 MB, free: 7.262 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002424/0.1276, allocations: 31.91 kB / 364.6 MB, free: 7.23 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 9.212e-05/0.1277, allocations: 99.17 kB / 364.7 MB, free: 7.121 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.000131/0.1278, allocations: 55.98 kB / 364.8 MB, free: 7.066 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.1278, allocations: 0 / 364.8 MB, free: 7.066 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 3.336e-05/0.1278, allocations: 23.94 kB / 364.8 MB, free: 7.043 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002877/0.1281, allocations: 7.984 kB / 364.8 MB, free: 7.035 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005836/0.1287, allocations: 318.8 kB / 365.1 MB, free: 6.691 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002516/0.129, allocations: 0.6895 MB / 365.8 MB, free: 5.977 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 3.476e-05/0.129, allocations: 15.89 kB / 365.8 MB, free: 5.961 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.529e-05/0.1291, allocations: 11.44 kB / 365.8 MB, free: 5.953 MB / 302.1 MB Notification: Performance of SimCode: time 2.61e-07/0.1291, allocations: 0 / 365.8 MB, free: 5.953 MB / 302.1 MB Notification: Performance of Templates: time 0.002921/0.132, allocations: 0.6211 MB / 366.5 MB, free: 5.336 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 -s cvode -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/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_trunk_Modelica.Thermal.HeatTransfer.Examples.TwoMasses.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches