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.001615/0.001615, allocations: 114.4 kB / 17.73 MB, free: 5.359 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.001934/0.001934, allocations: 187.1 kB / 18.66 MB, free: 4.438 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.544/1.544, allocations: 205.1 MB / 224.5 MB, free: 12.25 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.001504/0.001504, allocations: 55.92 kB / 328.5 MB, free: 3.34 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1055/0.1071, allocations: 46.62 MB / 375.1 MB, free: 4.613 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.TwoMasses): time 0.003173/0.1103, allocations: 1.623 MB / 376.7 MB, free: 2.98 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001151/0.1115, allocations: 0.5158 MB / 377.3 MB, free: 2.457 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.813e-05/0.1116, allocations: 0 / 377.3 MB, free: 2.457 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 6.48e-05/0.1117, allocations: 15.92 kB / 377.3 MB, free: 2.441 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 9.933e-05/0.1118, allocations: 31.7 kB / 377.3 MB, free: 2.41 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002437/0.112, allocations: 19.97 kB / 377.3 MB, free: 2.391 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001626/0.1122, allocations: 111.4 kB / 377.4 MB, free: 2.281 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001573/0.1124, allocations: 35.98 kB / 377.5 MB, free: 2.246 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.671e-05/0.1124, allocations: 27.94 kB / 377.5 MB, free: 2.219 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001002/0.1125, allocations: 43.83 kB / 377.5 MB, free: 2.176 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.13e-05/0.1126, allocations: 12 kB / 377.6 MB, free: 2.164 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.334e-05/0.1127, allocations: 8 kB / 377.6 MB, free: 2.156 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 2.448e-05/0.1127, allocations: 19.92 kB / 377.6 MB, free: 2.137 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 5.541e-05/0.1128, allocations: 47.8 kB / 377.6 MB, free: 2.09 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001763/0.1129, allocations: 95.67 kB / 377.7 MB, free: 1.996 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.082e-06/0.1129, allocations: 8 kB / 377.7 MB, free: 1.988 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.243e-06/0.113, allocations: 4 kB / 377.7 MB, free: 1.984 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.153e-05/0.113, allocations: 0 / 377.7 MB, free: 1.984 MB / 318.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.0005197/0.1135, allocations: 375.3 kB / 378.1 MB, free: 1.57 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.437e-05/0.1136, allocations: 12.02 kB / 378.1 MB, free: 1.559 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001414/0.1137, allocations: 12.84 kB / 378.1 MB, free: 1.547 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001245/0.1138, allocations: 176.2 kB / 378.3 MB, free: 1.336 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.438e-05/0.1139, allocations: 8.375 kB / 378.3 MB, free: 1.328 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.794e-05/0.1139, allocations: 4.375 kB / 378.3 MB, free: 1.324 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001835/0.1141, allocations: 93.97 kB / 378.4 MB, free: 1.227 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.273e-05/0.1141, allocations: 0 / 378.4 MB, free: 1.227 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.359e-05/0.1142, allocations: 4 kB / 378.4 MB, free: 1.223 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.536e-06/0.1142, allocations: 4 kB / 378.4 MB, free: 1.219 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001191/0.1143, allocations: 59.86 kB / 378.5 MB, free: 1.16 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007289/0.115, allocations: 392.4 kB / 378.8 MB, free: 0.7266 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001299/0.1152, allocations: 74.5 kB / 378.9 MB, free: 0.6445 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.846e-05/0.1153, allocations: 32.84 kB / 379 MB, free: 0.6094 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.137e-05/0.1153, allocations: 0 / 379 MB, free: 0.6094 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.512e-05/0.1153, allocations: 38.5 kB / 379 MB, free: 0.5625 MB / 318.1 MB Notification: Performance of pre-optimization done (n=8): time 9.52e-07/0.1153, allocations: 0 / 379 MB, free: 0.5625 MB / 318.1 MB Notification: Performance of matching and sorting (n=8): time 0.0002244/0.1155, allocations: 97.69 kB / 379.1 MB, free: 472 kB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.574e-05/0.1156, allocations: 51.41 kB / 379.1 MB, free: 408 kB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.227e-05/0.1157, allocations: 109.8 kB / 379.2 MB, free: 288 kB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.325e-05/0.1157, allocations: 25.7 kB / 379.3 MB, free: 256 kB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.293e-05/0.1158, allocations: 99.89 kB / 379.4 MB, free: 152 kB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.056e-05/0.1158, allocations: 31.55 kB / 379.4 MB, free: 120 kB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.949e-05/0.1159, allocations: 33.64 kB / 379.4 MB, free: 80 kB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.1979/0.3138, allocations: 314.8 kB / 379.7 MB, free: 12.82 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001102/0.314, allocations: 18.52 kB / 379.8 MB, free: 12.82 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.692e-05/0.314, allocations: 46.77 kB / 379.8 MB, free: 12.79 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001089/0.3142, allocations: 66.16 kB / 379.9 MB, free: 12.77 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.358e-06/0.3142, allocations: 0 / 379.9 MB, free: 12.77 MB / 318.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001952/0.3144, allocations: 105.7 kB / 380 MB, free: 12.74 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.087e-05/0.3144, allocations: 9.375 kB / 380 MB, free: 12.74 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.806e-06/0.3144, allocations: 1.25 kB / 380 MB, free: 12.74 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.19e-05/0.3145, allocations: 1.906 kB / 380 MB, free: 12.74 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000174/0.3146, allocations: 26.53 kB / 380 MB, free: 12.74 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.392e-05/0.3147, allocations: 6.328 kB / 380 MB, free: 12.74 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.498e-05/0.3147, allocations: 13.09 kB / 380 MB, free: 12.74 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.235e-05/0.3147, allocations: 3.688 kB / 380 MB, free: 12.74 MB / 318.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.0001028/0.3149, allocations: 114.6 kB / 380.1 MB, free: 12.62 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.563e-05/0.3149, allocations: 8.828 kB / 380.1 MB, free: 12.62 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.616e-05/0.315, allocations: 15.88 kB / 380.2 MB, free: 12.62 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.647e-06/0.315, allocations: 0 / 380.2 MB, free: 12.62 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.934e-06/0.315, allocations: 5.312 kB / 380.2 MB, free: 12.62 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.368e-06/0.315, allocations: 0.6094 kB / 380.2 MB, free: 12.62 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001783/0.3152, allocations: 182.6 kB / 380.3 MB, free: 12.43 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.3152, allocations: 0 / 380.3 MB, free: 12.43 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001053/0.3153, allocations: 19.94 kB / 380.4 MB, free: 12.43 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.845e-06/0.3153, allocations: 1.375 kB / 380.4 MB, free: 12.43 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.047e-05/0.3153, allocations: 4.188 kB / 380.4 MB, free: 12.43 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.904e-06/0.3153, allocations: 3.531 kB / 380.4 MB, free: 12.43 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.004e-06/0.3153, allocations: 3.938 kB / 380.4 MB, free: 12.43 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001893/0.3155, allocations: 193.5 kB / 380.6 MB, free: 12.3 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.768e-05/0.3156, allocations: 83.66 kB / 380.7 MB, free: 12.2 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.62e-05/0.3156, allocations: 5.391 kB / 380.7 MB, free: 12.2 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.001e-05/0.3157, allocations: 6.906 kB / 380.7 MB, free: 12.2 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.95e-05/0.3157, allocations: 8.188 kB / 380.7 MB, free: 12.2 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.56e-06/0.3157, allocations: 5.312 kB / 380.7 MB, free: 12.2 MB / 318.1 MB Notification: Performance of sorting global known variables: time 3.49e-05/0.3157, allocations: 85.84 kB / 380.8 MB, free: 12.12 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3157, allocations: 0 / 380.8 MB, free: 12.12 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002586/0.316, allocations: 25.09 kB / 380.8 MB, free: 12.12 MB / 318.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.85e-05/0.3161, allocations: 101.1 kB / 380.9 MB, free: 12.04 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0001478/0.3163, allocations: 59.81 kB / 380.9 MB, free: 12.04 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.3163, allocations: 1.438 kB / 380.9 MB, free: 12.04 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 3.571e-05/0.3163, allocations: 21.2 kB / 381 MB, free: 12.04 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003506/0.3167, allocations: 8.625 kB / 381 MB, free: 12.04 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005927/0.3173, allocations: 326 kB / 381.3 MB, free: 11.84 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001445/0.3174, allocations: 0.6962 MB / 382 MB, free: 11.14 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 3.688e-05/0.3175, allocations: 8.297 kB / 382 MB, free: 11.14 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.516e-05/0.3175, allocations: 11.56 kB / 382 MB, free: 11.13 MB / 318.1 MB Notification: Performance of SimCode: time 2.3e-07/0.3175, allocations: 0 / 382 MB, free: 11.13 MB / 318.1 MB Notification: Performance of Templates: time 0.003031/0.3205, allocations: 0.6376 MB / 382.6 MB, free: 11.07 MB / 318.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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.TwoMasses.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches