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/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/Complex 3.2.3+maint.om/package.mo): time 0.001451/0.001451, allocations: 177.2 kB / 8.7 MB, free: 384 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.428/1.428, allocations: 205.3 MB / 214.4 MB, free: 1.742 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008064/0.0008064, allocations: 86.23 kB / 262.4 MB, free: 1.688 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 1.561e-05/1.563e-05, allocations: 4 kB / 315.5 MB, free: 22.73 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09666/0.09669, allocations: 47.59 MB / 363.1 MB, free: 7.078 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3133/0.4101, allocations: 75.15 MB / 438.2 MB, free: 4.453 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001875/0.4103, allocations: 69.33 kB / 438.3 MB, free: 4.418 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.004547/0.4149, allocations: 1.774 MB / 440.1 MB, free: 2.91 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.403e-06/0.4149, allocations: 4 kB / 440.1 MB, free: 2.906 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.146e-05/0.4149, allocations: 4 kB / 440.1 MB, free: 2.902 MB / 314.7 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.0003522/0.4153, allocations: 358.3 kB / 440.4 MB, free: 2.516 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.966e-05/0.4153, allocations: 8.031 kB / 440.4 MB, free: 2.508 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001052/0.4154, allocations: 16.77 kB / 440.4 MB, free: 2.492 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001237/0.4156, allocations: 171 kB / 440.6 MB, free: 2.285 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.21e-05/0.4156, allocations: 0 / 440.6 MB, free: 2.285 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.656e-05/0.4156, allocations: 11.95 kB / 440.6 MB, free: 2.273 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001249/0.4157, allocations: 50.86 kB / 440.7 MB, free: 2.238 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001151/0.4159, allocations: 65.5 kB / 440.7 MB, free: 2.18 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.112e-05/0.4159, allocations: 4 kB / 440.7 MB, free: 2.176 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.296e-05/0.4159, allocations: 3.984 kB / 440.7 MB, free: 2.172 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.482e-06/0.4159, allocations: 3.984 kB / 440.7 MB, free: 2.168 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005748/0.4165, allocations: 370.4 kB / 441.1 MB, free: 1.816 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001111/0.4166, allocations: 68.94 kB / 441.2 MB, free: 1.754 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.219e-05/0.4167, allocations: 27.61 kB / 441.2 MB, free: 1.73 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.094e-05/0.4167, allocations: 0 / 441.2 MB, free: 1.73 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.331e-05/0.4167, allocations: 38.06 kB / 441.2 MB, free: 1.688 MB / 314.7 MB Notification: Performance of pre-optimization done (n=8): time 9.71e-07/0.4168, allocations: 0.7656 kB / 441.2 MB, free: 1.688 MB / 314.7 MB Notification: Performance of matching and sorting (n=8): time 0.0001599/0.4169, allocations: 68.78 kB / 441.3 MB, free: 1.621 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.664e-05/0.417, allocations: 59.41 kB / 441.4 MB, free: 1.551 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.663e-05/0.417, allocations: 96.92 kB / 441.5 MB, free: 1.453 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.387e-05/0.4171, allocations: 25.7 kB / 441.5 MB, free: 1.422 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.886e-05/0.4171, allocations: 104 kB / 441.6 MB, free: 1.32 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.126e-05/0.4172, allocations: 26.75 kB / 441.6 MB, free: 1.297 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.509e-06/0.4172, allocations: 2.078 kB / 441.6 MB, free: 1.297 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001022/0.4173, allocations: 318.8 kB / 441.9 MB, free: 0.9805 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.268e-05/0.4173, allocations: 19 kB / 441.9 MB, free: 0.9688 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.698e-05/0.4174, allocations: 45.2 kB / 442 MB, free: 0.9258 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.372e-05/0.4174, allocations: 23.3 kB / 442 MB, free: 0.9102 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.4174, allocations: 0 / 442 MB, free: 0.9102 MB / 314.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001286/0.4176, allocations: 92.45 kB / 442.1 MB, free: 0.8281 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.32e-05/0.4176, allocations: 8 kB / 442.1 MB, free: 0.8203 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.629e-06/0.4176, allocations: 0 / 442.1 MB, free: 0.8203 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.237e-05/0.4176, allocations: 4.062 kB / 442.1 MB, free: 0.8164 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001212/0.4177, allocations: 27.92 kB / 442.1 MB, free: 0.7891 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.34e-06/0.4177, allocations: 4 kB / 442.1 MB, free: 0.7852 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.232e-05/0.4178, allocations: 11.84 kB / 442.2 MB, free: 0.7734 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.632e-06/0.4178, allocations: 2.875 kB / 442.2 MB, free: 0.7734 MB / 314.7 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.356e-05/0.4179, allocations: 105 kB / 442.3 MB, free: 0.6641 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.445e-05/0.4179, allocations: 7.859 kB / 442.3 MB, free: 0.6562 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.187e-05/0.4179, allocations: 16.55 kB / 442.3 MB, free: 0.6406 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.613e-06/0.418, allocations: 4 kB / 442.3 MB, free: 0.6367 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.166e-06/0.418, allocations: 0 / 442.3 MB, free: 0.6367 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.086e-06/0.418, allocations: 0 / 442.3 MB, free: 0.6367 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001513/0.4181, allocations: 153.7 kB / 442.4 MB, free: 468 kB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.4181, allocations: 0 / 442.4 MB, free: 468 kB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001001/0.4182, allocations: 26.42 kB / 442.5 MB, free: 444 kB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.835e-06/0.4183, allocations: 6.812 kB / 442.5 MB, free: 440 kB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.624e-06/0.4183, allocations: 0 / 442.5 MB, free: 440 kB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.695e-06/0.4183, allocations: 3.953 kB / 442.5 MB, free: 436 kB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.4183, allocations: 0 / 442.5 MB, free: 436 kB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001701/0.4185, allocations: 180.8 kB / 442.6 MB, free: 256 kB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.185e-05/0.4185, allocations: 81.14 kB / 442.7 MB, free: 156 kB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.445e-05/0.4185, allocations: 3.984 kB / 442.7 MB, free: 152 kB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.904e-05/0.4186, allocations: 0 / 442.7 MB, free: 152 kB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.353e-05/0.4186, allocations: 11.89 kB / 442.7 MB, free: 140 kB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.412e-06/0.4186, allocations: 11.5 kB / 442.8 MB, free: 132 kB / 314.7 MB Notification: Performance of sorting global known variables: time 3.605e-05/0.4187, allocations: 83.27 kB / 442.8 MB, free: 48 kB / 314.7 MB Notification: Performance of sort global known variables: time 1.51e-07/0.4187, allocations: 0 / 442.8 MB, free: 48 kB / 314.7 MB Notification: Performance of remove unused functions: time 0.0002181/0.4189, allocations: 27.91 kB / 442.9 MB, free: 20 kB / 314.7 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001211/0.419, allocations: 99.19 kB / 443 MB, free: 15.91 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0001037/0.4191, allocations: 46.44 kB / 443 MB, free: 15.88 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.804e-06/0.4192, allocations: 0 / 443 MB, free: 15.88 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 2.576e-05/0.4192, allocations: 22.06 kB / 443 MB, free: 15.87 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001741/0.4194, allocations: 4 kB / 443 MB, free: 15.86 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004413/0.4198, allocations: 242.2 kB / 443.3 MB, free: 15.61 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002656/0.4201, allocations: 0.6963 MB / 444 MB, free: 14.89 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 4.106e-05/0.4201, allocations: 15.94 kB / 444 MB, free: 14.87 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.942e-05/0.4202, allocations: 11.44 kB / 444 MB, free: 14.86 MB / 330.7 MB Notification: Performance of SimCode: time 2.91e-07/0.4202, allocations: 0 / 444 MB, free: 14.86 MB / 330.7 MB Notification: Performance of Templates: time 0.002185/0.4224, allocations: 0.5472 MB / 444.5 MB, free: 14.32 MB / 330.7 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","../files/Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.TwoMasses.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches