Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Utilities.TestInternal.conf.json 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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) 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) Running command: translateModel(ModelicaTest.Utilities.TestInternal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Utilities.TestInternal") translateModel(ModelicaTest.Utilities.TestInternal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Utilities.TestInternal") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001199/0.001199, allocations: 201.5 kB / 17.08 MB, free: 5.062 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.229/1.229, allocations: 227.2 MB / 245 MB, free: 7.602 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008766/0.0008764, allocations: 105.5 kB / 297.3 MB, free: 6.18 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3064/0.3064, allocations: 45.22 MB / 394.7 MB, free: 31.7 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002616/0.0002615, allocations: 4 kB / 468.4 MB, free: 7.754 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3648/0.3651, allocations: 63.24 MB / 0.5192 GB, free: 43.75 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.102/0.4672, allocations: 86.89 MB / 0.604 GB, free: 2.75 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002202/0.4675, allocations: 65.75 kB / 0.6041 GB, free: 2.688 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.004229/0.4717, allocations: 1.68 MB / 0.6057 GB, free: 1.012 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.784e-06/0.4717, allocations: 0.875 kB / 0.6057 GB, free: 1.012 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.571e-06/0.4717, allocations: 0 / 0.6057 GB, free: 1.012 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.000377/0.4721, allocations: 359.2 kB / 0.6061 GB, free: 0.6094 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.978e-05/0.4722, allocations: 8.75 kB / 0.6061 GB, free: 0.6016 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.525e-05/0.4722, allocations: 3.906 kB / 0.6061 GB, free: 0.5977 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001219/0.4724, allocations: 171.8 kB / 0.6062 GB, free: 400 kB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.774e-05/0.4724, allocations: 0 / 0.6062 GB, free: 400 kB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.377e-05/0.4724, allocations: 2.719 kB / 0.6062 GB, free: 400 kB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001056/0.4725, allocations: 29.7 kB / 0.6063 GB, free: 364 kB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.766e-06/0.4725, allocations: 4 kB / 0.6063 GB, free: 360 kB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.236e-05/0.4726, allocations: 0 / 0.6063 GB, free: 360 kB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.853e-06/0.4726, allocations: 3.938 kB / 0.6063 GB, free: 356 kB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.745e-05/0.4726, allocations: 0 / 0.6063 GB, free: 356 kB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001687/0.4728, allocations: 154.1 kB / 0.6064 GB, free: 152 kB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.356e-05/0.4728, allocations: 24.2 kB / 0.6065 GB, free: 120 kB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.177e-06/0.4729, allocations: 0 / 0.6065 GB, free: 120 kB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.576e-05/0.4729, allocations: 56.89 kB / 0.6065 GB, free: 48 kB / 410.7 MB Notification: Performance of pre-optimization done (n=1): time 3.236e-06/0.4729, allocations: 4.734 kB / 0.6065 GB, free: 44 kB / 410.7 MB Notification: Performance of matching and sorting (n=1): time 0.0002391/0.4732, allocations: 69.05 kB / 0.6066 GB, free: 15.96 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.322e-05/0.4733, allocations: 77.11 kB / 0.6067 GB, free: 15.87 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.982e-05/0.4733, allocations: 92.94 kB / 0.6067 GB, free: 15.77 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.544e-05/0.4733, allocations: 25.7 kB / 0.6068 GB, free: 15.74 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.758e-05/0.4734, allocations: 80.86 kB / 0.6068 GB, free: 15.66 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.367e-05/0.4734, allocations: 0.5938 kB / 0.6068 GB, free: 15.66 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.836e-06/0.4734, allocations: 0 / 0.6068 GB, free: 15.66 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001604/0.4736, allocations: 316.1 kB / 0.6071 GB, free: 15.34 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.025e-05/0.4736, allocations: 0 / 0.6071 GB, free: 15.34 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.405e-06/0.4736, allocations: 4.5 kB / 0.6071 GB, free: 15.34 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.838e-05/0.4737, allocations: 30.36 kB / 0.6072 GB, free: 15.3 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.524e-06/0.4737, allocations: 3.125 kB / 0.6072 GB, free: 15.3 MB / 426.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 9.624e-05/0.4738, allocations: 67.34 kB / 0.6072 GB, free: 15.23 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.955e-05/0.4738, allocations: 29.7 kB / 0.6073 GB, free: 15.19 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.221e-06/0.4739, allocations: 0 / 0.6073 GB, free: 15.19 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.581e-05/0.4739, allocations: 0 / 0.6073 GB, free: 15.19 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.764e-06/0.4739, allocations: 4 kB / 0.6073 GB, free: 15.19 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.55e-06/0.4739, allocations: 0 / 0.6073 GB, free: 15.19 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.321e-05/0.4739, allocations: 0 / 0.6073 GB, free: 15.19 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.622e-06/0.4739, allocations: 0.6875 kB / 0.6073 GB, free: 15.19 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (result) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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 0.0001118/0.474, allocations: 148 kB / 0.6074 GB, free: 15.03 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.387e-06/0.4741, allocations: 5.047 kB / 0.6074 GB, free: 15.02 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.425e-05/0.4741, allocations: 6.719 kB / 0.6074 GB, free: 15.02 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.704e-06/0.4741, allocations: 224 / 0.6074 GB, free: 15.02 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.971e-06/0.4741, allocations: 4 kB / 0.6074 GB, free: 15.02 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.366e-06/0.4741, allocations: 0 / 0.6074 GB, free: 15.02 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001246/0.4742, allocations: 145.7 kB / 0.6076 GB, free: 14.83 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.454e-06/0.4743, allocations: 3.984 kB / 0.6076 GB, free: 14.82 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.355e-06/0.4743, allocations: 0 / 0.6076 GB, free: 14.82 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.76e-06/0.4743, allocations: 7.891 kB / 0.6076 GB, free: 14.82 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.387e-06/0.4743, allocations: 4 kB / 0.6076 GB, free: 14.81 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.72e-07/0.4743, allocations: 0 / 0.6076 GB, free: 14.81 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.4743, allocations: 0 / 0.6076 GB, free: 14.81 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001057/0.4744, allocations: 90.84 kB / 0.6077 GB, free: 14.7 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.888e-05/0.4745, allocations: 81.09 kB / 0.6078 GB, free: 14.6 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.551e-05/0.4745, allocations: 3.953 kB / 0.6078 GB, free: 14.6 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.967e-06/0.4745, allocations: 4 kB / 0.6078 GB, free: 14.59 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.835e-05/0.4745, allocations: 0 / 0.6078 GB, free: 14.59 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.739e-06/0.4745, allocations: 0 / 0.6078 GB, free: 14.59 MB / 426.7 MB Notification: Performance of sorting global known variables: time 3.318e-05/0.4746, allocations: 79.22 kB / 0.6078 GB, free: 14.52 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.51e-07/0.4746, allocations: 0 / 0.6078 GB, free: 14.52 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002707/0.4749, allocations: 31.98 kB / 0.6079 GB, free: 14.48 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (result) * Number of discrete states: 1 (result) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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.0005548/0.4754, allocations: 282.2 kB / 0.6081 GB, free: 14.28 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 8.604e-05/0.4755, allocations: 59.41 kB / 0.6082 GB, free: 14.21 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.245e-06/0.4755, allocations: 0 / 0.6082 GB, free: 14.21 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 3.925e-05/0.4756, allocations: 55.41 kB / 0.6082 GB, free: 14.14 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 7.388e-05/0.4757, allocations: 0 / 0.6082 GB, free: 14.14 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001688/0.4758, allocations: 83.3 kB / 0.6083 GB, free: 14.04 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002379/0.4761, allocations: 0.6694 MB / 0.609 GB, free: 13.34 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 7.033e-06/0.4761, allocations: 4 kB / 0.609 GB, free: 13.34 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.024e-05/0.4761, allocations: 11.38 kB / 0.609 GB, free: 13.33 MB / 426.7 MB Notification: Performance of SimCode: time 5.11e-07/0.4761, allocations: 4 kB / 0.609 GB, free: 13.33 MB / 426.7 MB Notification: Performance of Templates: time 0.002854/0.479, allocations: 0.7604 MB / 0.6097 GB, free: 12.57 MB / 426.7 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Utilities.TestInternal.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Utilities.TestInternal.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Utilities.TestInternal.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Utilities.TestInternal.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Utilities.TestInternal.sim & ./ModelicaTest_trunk_ModelicaTest.Utilities.TestInternal -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Utilities.TestInternal.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Utilities.TestInternal_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Utilities/TestInternal/TestInternal.csv","../files/ModelicaTest_trunk_ModelicaTest.Utilities.TestInternal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches