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.001176/0.00118, allocations: 119.9 kB / 18.42 MB, free: 4.555 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001353/0.001353, allocations: 207.5 kB / 19.36 MB, free: 3.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.338/1.338, allocations: 227.4 MB / 247.5 MB, free: 10.34 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001238/0.001238, allocations: 57.84 kB / 308.4 MB, free: 15.9 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1036/0.1049, allocations: 50.54 MB / 358.9 MB, free: 13.35 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.TwoMasses): time 0.002755/0.1076, allocations: 1.635 MB / 360.5 MB, free: 11.71 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008326/0.1085, allocations: 0.5509 MB / 361.1 MB, free: 11.15 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.276e-05/0.1086, allocations: 4 kB / 361.1 MB, free: 11.15 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 4.751e-05/0.1086, allocations: 11.86 kB / 361.1 MB, free: 11.14 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 7.152e-05/0.1087, allocations: 23.78 kB / 361.1 MB, free: 11.11 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001956/0.1089, allocations: 31.89 kB / 361.2 MB, free: 11.08 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001337/0.109, allocations: 95.53 kB / 361.2 MB, free: 10.99 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001333/0.1092, allocations: 43.95 kB / 361.3 MB, free: 10.95 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.803e-05/0.1092, allocations: 31.92 kB / 361.3 MB, free: 10.91 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.723e-05/0.1093, allocations: 43.84 kB / 361.4 MB, free: 10.87 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.86e-05/0.1094, allocations: 8 kB / 361.4 MB, free: 10.86 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.362e-05/0.1094, allocations: 11.94 kB / 361.4 MB, free: 10.85 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 3.164e-05/0.1095, allocations: 19.94 kB / 361.4 MB, free: 10.83 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 5.136e-05/0.1095, allocations: 47.78 kB / 361.5 MB, free: 10.79 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001422/0.1097, allocations: 103.7 kB / 361.6 MB, free: 10.68 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.998e-06/0.1097, allocations: 3.938 kB / 361.6 MB, free: 10.68 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.232e-06/0.1097, allocations: 0 / 361.6 MB, free: 10.68 MB / 302.1 MB Notification: Performance of Transformations before backend: time 4.799e-06/0.1097, allocations: 0 / 361.6 MB, free: 10.68 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.0004659/0.1102, allocations: 383.2 kB / 361.9 MB, free: 10.26 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.493e-05/0.1102, allocations: 12.03 kB / 361.9 MB, free: 10.25 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001177/0.1103, allocations: 8.844 kB / 362 MB, free: 10.24 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001278/0.1105, allocations: 172.3 kB / 362.1 MB, free: 10.03 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.636e-05/0.1105, allocations: 8.375 kB / 362.1 MB, free: 10.02 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.748e-05/0.1105, allocations: 12.31 kB / 362.1 MB, free: 10.01 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001507/0.1107, allocations: 84.39 kB / 362.2 MB, free: 9.926 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.948e-06/0.1107, allocations: 0 / 362.2 MB, free: 9.926 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.108e-05/0.1107, allocations: 8 kB / 362.2 MB, free: 9.918 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.521e-06/0.1107, allocations: 4 kB / 362.2 MB, free: 9.914 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001087/0.1108, allocations: 51.97 kB / 362.3 MB, free: 9.863 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005909/0.1114, allocations: 396.4 kB / 362.7 MB, free: 9.426 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001181/0.1116, allocations: 70.56 kB / 362.7 MB, free: 9.348 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.189e-05/0.1116, allocations: 36.84 kB / 362.8 MB, free: 9.309 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.051e-05/0.1117, allocations: 3.938 kB / 362.8 MB, free: 9.305 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.187e-05/0.1117, allocations: 34.55 kB / 362.8 MB, free: 9.262 MB / 302.1 MB Notification: Performance of pre-optimization done (n=8): time 1.162e-06/0.1117, allocations: 0 / 362.8 MB, free: 9.262 MB / 302.1 MB Notification: Performance of matching and sorting (n=8): time 0.0001982/0.1119, allocations: 89.53 kB / 362.9 MB, free: 9.168 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.85e-05/0.1119, allocations: 51.41 kB / 363 MB, free: 9.105 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.961e-05/0.112, allocations: 109.8 kB / 363.1 MB, free: 8.988 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.138e-05/0.1121, allocations: 33.7 kB / 363.1 MB, free: 8.949 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.728e-05/0.1121, allocations: 99.88 kB / 363.2 MB, free: 8.848 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.472e-05/0.1121, allocations: 39.69 kB / 363.2 MB, free: 8.809 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.195e-05/0.1122, allocations: 21.72 kB / 363.2 MB, free: 8.781 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001052/0.1123, allocations: 322.8 kB / 363.6 MB, free: 8.457 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.148e-05/0.1123, allocations: 19.98 kB / 363.6 MB, free: 8.438 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.501e-05/0.1124, allocations: 54 kB / 363.6 MB, free: 8.379 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.799e-05/0.1125, allocations: 70.52 kB / 363.7 MB, free: 8.301 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.744e-06/0.1125, allocations: 0 / 363.7 MB, free: 8.301 MB / 302.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000153/0.1127, allocations: 105.6 kB / 363.8 MB, free: 8.191 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.184e-05/0.1127, allocations: 4 kB / 363.8 MB, free: 8.188 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.757e-06/0.1127, allocations: 0 / 363.8 MB, free: 8.188 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.349e-05/0.1127, allocations: 7.938 kB / 363.8 MB, free: 8.18 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001195/0.1128, allocations: 27.92 kB / 363.8 MB, free: 8.152 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.623e-06/0.1128, allocations: 4.062 kB / 363.9 MB, free: 8.148 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.145e-05/0.1129, allocations: 11.84 kB / 363.9 MB, free: 8.137 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.396e-06/0.1129, allocations: 4 kB / 363.9 MB, free: 8.133 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.252e-05/0.113, allocations: 117.8 kB / 364 MB, free: 8.008 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.584e-05/0.113, allocations: 7.906 kB / 364 MB, free: 8 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.786e-05/0.1131, allocations: 12.31 kB / 364 MB, free: 7.988 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.038e-06/0.1131, allocations: 7.938 kB / 364 MB, free: 7.98 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.32e-06/0.1131, allocations: 0 / 364 MB, free: 7.98 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.116e-06/0.1131, allocations: 3.938 kB / 364 MB, free: 7.977 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001783/0.1133, allocations: 193.6 kB / 364.2 MB, free: 7.738 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.1133, allocations: 0 / 364.2 MB, free: 7.738 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001015/0.1134, allocations: 19.98 kB / 364.2 MB, free: 7.719 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.563e-06/0.1134, allocations: 0 / 364.2 MB, free: 7.719 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.014e-05/0.1134, allocations: 4 kB / 364.2 MB, free: 7.715 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.535e-06/0.1134, allocations: 3.938 kB / 364.2 MB, free: 7.711 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.1134, allocations: 0 / 364.2 MB, free: 7.711 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001874/0.1136, allocations: 191.4 kB / 364.4 MB, free: 7.508 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.352e-05/0.1137, allocations: 85.17 kB / 364.5 MB, free: 7.406 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.693e-05/0.1137, allocations: 4.031 kB / 364.5 MB, free: 7.402 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.904e-05/0.1137, allocations: 8.125 kB / 364.5 MB, free: 7.395 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.506e-05/0.1138, allocations: 3.984 kB / 364.5 MB, free: 7.391 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.191e-06/0.1138, allocations: 8 kB / 364.5 MB, free: 7.383 MB / 302.1 MB Notification: Performance of sorting global known variables: time 4.217e-05/0.1138, allocations: 83.28 kB / 364.6 MB, free: 7.301 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1138, allocations: 0 / 364.6 MB, free: 7.301 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002362/0.1141, allocations: 27.91 kB / 364.6 MB, free: 7.273 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.384e-05/0.1142, allocations: 95.25 kB / 364.7 MB, free: 7.168 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001375/0.1143, allocations: 59.91 kB / 364.8 MB, free: 7.109 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.737e-06/0.1143, allocations: 4 kB / 364.8 MB, free: 7.105 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 4.996e-05/0.1144, allocations: 20 kB / 364.8 MB, free: 7.086 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002739/0.1146, allocations: 4 kB / 364.8 MB, free: 7.082 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005145/0.1152, allocations: 326.8 kB / 365.1 MB, free: 6.73 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002405/0.1154, allocations: 0.6895 MB / 365.8 MB, free: 6.016 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 3.151e-05/0.1155, allocations: 7.953 kB / 365.8 MB, free: 6.008 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.227e-05/0.1155, allocations: 15.38 kB / 365.8 MB, free: 5.996 MB / 302.1 MB Notification: Performance of SimCode: time 2.6e-07/0.1155, allocations: 0 / 365.8 MB, free: 5.996 MB / 302.1 MB Notification: Performance of Templates: time 0.00255/0.118, allocations: 0.6175 MB / 366.5 MB, free: 5.383 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 gbode -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