Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_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 4.1.0-beta.om/package.mo", uses=false) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/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_4.1.0-beta.om_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.1.0-beta.om_Modelica.Thermal.HeatTransfer.Examples.TwoMasses") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001276/0.001276, allocations: 109.8 kB / 18.3 MB, free: 4.84 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001362/0.001362, allocations: 207.9 kB / 19.25 MB, free: 3.898 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.455/1.455, allocations: 227.7 MB / 247.7 MB, free: 10.29 MB / 206.1 MB Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001901/0.001901, allocations: 68.7 kB / 307.9 MB, free: 0.5117 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09975/0.1017, allocations: 50.54 MB / 358.4 MB, free: 13.96 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.TwoMasses): time 0.002838/0.1045, allocations: 1.635 MB / 360.1 MB, free: 12.32 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008873/0.1055, allocations: 0.5586 MB / 360.6 MB, free: 11.75 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.484e-05/0.1055, allocations: 4 kB / 360.6 MB, free: 11.75 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 4.688e-05/0.1056, allocations: 7.922 kB / 360.6 MB, free: 11.74 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 8.434e-05/0.1057, allocations: 35.64 kB / 360.7 MB, free: 11.71 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001901/0.1059, allocations: 23.97 kB / 360.7 MB, free: 11.68 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001215/0.106, allocations: 99.53 kB / 360.8 MB, free: 11.59 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001295/0.1061, allocations: 39.97 kB / 360.8 MB, free: 11.55 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.731e-05/0.1062, allocations: 35.86 kB / 360.9 MB, free: 11.51 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.314e-05/0.1063, allocations: 43.83 kB / 360.9 MB, free: 11.47 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.836e-05/0.1063, allocations: 8 kB / 360.9 MB, free: 11.46 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.118e-05/0.1064, allocations: 16 kB / 360.9 MB, free: 11.45 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 2.557e-05/0.1064, allocations: 19.92 kB / 360.9 MB, free: 11.43 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 5.251e-05/0.1065, allocations: 43.86 kB / 361 MB, free: 11.38 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001523/0.1066, allocations: 95.95 kB / 361.1 MB, free: 11.29 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.887e-06/0.1066, allocations: 0 / 361.1 MB, free: 11.29 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.332e-06/0.1067, allocations: 4 kB / 361.1 MB, free: 11.29 MB / 302.1 MB Notification: Performance of Transformations before backend: time 4.639e-06/0.1067, allocations: 0 / 361.1 MB, free: 11.29 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.0005111/0.1072, allocations: 383.2 kB / 361.5 MB, free: 10.86 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.167e-05/0.1072, allocations: 8.031 kB / 361.5 MB, free: 10.86 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001189/0.1073, allocations: 16.77 kB / 361.5 MB, free: 10.84 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001435/0.1075, allocations: 172.3 kB / 361.6 MB, free: 10.63 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.119e-05/0.1075, allocations: 8.375 kB / 361.7 MB, free: 10.62 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.886e-05/0.1075, allocations: 8.375 kB / 361.7 MB, free: 10.62 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001643/0.1077, allocations: 89.97 kB / 361.7 MB, free: 10.52 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.031e-05/0.1077, allocations: 0 / 361.7 MB, free: 10.52 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.358e-05/0.1078, allocations: 4 kB / 361.8 MB, free: 10.52 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.713e-06/0.1078, allocations: 4 kB / 361.8 MB, free: 10.52 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001141/0.1079, allocations: 55.91 kB / 361.8 MB, free: 10.46 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006667/0.1086, allocations: 392.5 kB / 362.2 MB, free: 10.03 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000121/0.1087, allocations: 70.5 kB / 362.3 MB, free: 9.949 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.56e-05/0.1088, allocations: 36.84 kB / 362.3 MB, free: 9.91 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.465e-05/0.1088, allocations: 4 kB / 362.3 MB, free: 9.906 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.359e-05/0.1088, allocations: 30.56 kB / 362.3 MB, free: 9.867 MB / 302.1 MB Notification: Performance of pre-optimization done (n=8): time 1.092e-06/0.1088, allocations: 0 / 362.3 MB, free: 9.867 MB / 302.1 MB Notification: Performance of matching and sorting (n=8): time 0.0002108/0.1091, allocations: 101.6 kB / 362.4 MB, free: 9.762 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.438e-05/0.1091, allocations: 55.41 kB / 362.5 MB, free: 9.695 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.1e-05/0.1092, allocations: 101.9 kB / 362.6 MB, free: 9.586 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.703e-05/0.1092, allocations: 29.7 kB / 362.6 MB, free: 9.551 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.03e-05/0.1093, allocations: 99.88 kB / 362.7 MB, free: 9.449 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.134e-05/0.1093, allocations: 35.55 kB / 362.7 MB, free: 9.414 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.876e-05/0.1094, allocations: 21.72 kB / 362.8 MB, free: 9.387 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001371/0.1095, allocations: 318.8 kB / 363.1 MB, free: 9.066 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.26e-05/0.1096, allocations: 24 kB / 363.1 MB, free: 9.043 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.035e-05/0.1096, allocations: 42.56 kB / 363.1 MB, free: 8.992 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.691e-05/0.1097, allocations: 66.5 kB / 363.2 MB, free: 8.918 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.327e-06/0.1098, allocations: 7.938 kB / 363.2 MB, free: 8.91 MB / 302.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001542/0.1099, allocations: 101.6 kB / 363.3 MB, free: 8.805 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.569e-05/0.1099, allocations: 12.06 kB / 363.3 MB, free: 8.793 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.028e-06/0.1099, allocations: 0 / 363.3 MB, free: 8.793 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.521e-05/0.11, allocations: 3.938 kB / 363.3 MB, free: 8.789 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001263/0.1101, allocations: 23.98 kB / 363.4 MB, free: 8.766 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.766e-06/0.1101, allocations: 4 kB / 363.4 MB, free: 8.762 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.202e-05/0.1102, allocations: 3.906 kB / 363.4 MB, free: 8.758 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.467e-05/0.1102, allocations: 8 kB / 363.4 MB, free: 8.75 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 9.053e-05/0.1103, allocations: 117.8 kB / 363.5 MB, free: 8.625 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.831e-05/0.1103, allocations: 7.906 kB / 363.5 MB, free: 8.617 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.136e-05/0.1103, allocations: 16.36 kB / 363.5 MB, free: 8.602 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.857e-06/0.1104, allocations: 3.938 kB / 363.5 MB, free: 8.598 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.767e-06/0.1104, allocations: 0 / 363.5 MB, free: 8.598 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.859e-06/0.1104, allocations: 3.984 kB / 363.5 MB, free: 8.594 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002316/0.1106, allocations: 197.8 kB / 363.7 MB, free: 8.352 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.035e-06/0.1106, allocations: 4 kB / 363.7 MB, free: 8.348 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.866e-05/0.1107, allocations: 16 kB / 363.7 MB, free: 8.332 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.944e-06/0.1107, allocations: 0 / 363.7 MB, free: 8.332 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.345e-06/0.1107, allocations: 0 / 363.7 MB, free: 8.332 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.833e-06/0.1108, allocations: 3.938 kB / 363.7 MB, free: 8.328 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.1108, allocations: 7.938 kB / 363.7 MB, free: 8.32 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002181/0.111, allocations: 191.4 kB / 363.9 MB, free: 8.117 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.003e-05/0.111, allocations: 85.14 kB / 364 MB, free: 8.016 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.398e-05/0.1111, allocations: 0 / 364 MB, free: 8.016 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.951e-05/0.1111, allocations: 7.922 kB / 364 MB, free: 8.008 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.107e-05/0.1112, allocations: 4 kB / 364 MB, free: 8.004 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.186e-06/0.1112, allocations: 0 / 364 MB, free: 8.004 MB / 302.1 MB Notification: Performance of sorting global known variables: time 5.708e-05/0.1112, allocations: 87.33 kB / 364.1 MB, free: 7.918 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1112, allocations: 8 kB / 364.1 MB, free: 7.91 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002404/0.1115, allocations: 23.91 kB / 364.1 MB, free: 7.887 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.635e-05/0.1116, allocations: 95.25 kB / 364.2 MB, free: 7.781 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001477/0.1117, allocations: 59.92 kB / 364.3 MB, free: 7.723 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.1118, allocations: 0 / 364.3 MB, free: 7.723 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 3.781e-05/0.1118, allocations: 24.31 kB / 364.3 MB, free: 7.699 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002915/0.1121, allocations: 10.47 kB / 364.3 MB, free: 7.691 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006106/0.1127, allocations: 348.6 kB / 364.7 MB, free: 7.312 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003158/0.1131, allocations: 0.6924 MB / 365.4 MB, free: 6.594 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.681e-05/0.1131, allocations: 11.44 kB / 365.4 MB, free: 6.586 MB / 302.1 MB Notification: Performance of SimCode: time 2.5e-07/0.1131, allocations: 3.938 kB / 365.4 MB, free: 6.582 MB / 302.1 MB Notification: Performance of Templates: time 0.00247/0.1156, allocations: 0.9613 MB / 366.3 MB, free: 5.617 MB / 302.1 MB make -j1 -f Modelica_4.1.0-beta.om_Modelica.Thermal.HeatTransfer.Examples.TwoMasses.makefile (rm -f Modelica_4.1.0-beta.om_Modelica.Thermal.HeatTransfer.Examples.TwoMasses.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Thermal.HeatTransfer.Examples.TwoMasses.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Thermal.HeatTransfer.Examples.TwoMasses.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Thermal.HeatTransfer.Examples.TwoMasses.sim & ./Modelica_4.1.0-beta.om_Modelica.Thermal.HeatTransfer.Examples.TwoMasses -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Thermal.HeatTransfer.Examples.TwoMasses.pipe 2>&1) diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Thermal.HeatTransfer.Examples.TwoMasses_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Thermal/HeatTransfer/Examples/TwoMasses/TwoMasses.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Thermal.HeatTransfer.Examples.TwoMasses.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches