Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Math.TestNonlinear.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.Math.TestNonlinear,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Math.TestNonlinear") translateModel(ModelicaTest.Math.TestNonlinear,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Math.TestNonlinear") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001504/0.001504, allocations: 198.7 kB / 17.08 MB, free: 5.078 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.276/1.276, allocations: 227.2 MB / 245 MB, free: 7.613 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008668/0.0008667, allocations: 117.6 kB / 297.3 MB, free: 6.195 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3272/0.3272, allocations: 45.23 MB / 394.7 MB, free: 31.71 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003219/0.0003218, allocations: 8 kB / 468.4 MB, free: 7.762 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3431/0.3434, allocations: 63.24 MB / 0.5192 GB, free: 43.69 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1054/0.4488, allocations: 90.44 MB / 0.6075 GB, free: 15.22 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002441/0.4492, allocations: 63.97 kB / 0.6076 GB, free: 15.16 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03809/0.4873, allocations: 13.21 MB / 0.6205 GB, free: 1.965 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.623e-06/0.4873, allocations: 0 / 0.6205 GB, free: 1.965 MB / 426.7 MB Notification: Performance of Transformations before backend: time 3.597e-06/0.4873, allocations: 0 / 0.6205 GB, free: 1.965 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.0005184/0.4878, allocations: 466.1 kB / 0.6209 GB, free: 1.457 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.712e-05/0.4879, allocations: 8.031 kB / 0.6209 GB, free: 1.449 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.305e-05/0.4879, allocations: 75.28 kB / 0.621 GB, free: 1.375 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.969e-05/0.488, allocations: 238.3 kB / 0.6212 GB, free: 1.102 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.066e-05/0.4881, allocations: 154.6 kB / 0.6214 GB, free: 0.9492 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.374e-05/0.4882, allocations: 154.6 kB / 0.6215 GB, free: 0.7969 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.651e-05/0.4882, allocations: 108.9 kB / 0.6216 GB, free: 0.6836 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.334e-05/0.4882, allocations: 75.28 kB / 0.6217 GB, free: 0.6094 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.726e-05/0.4883, allocations: 150.6 kB / 0.6218 GB, free: 472 kB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.041e-05/0.4884, allocations: 150.6 kB / 0.622 GB, free: 320 kB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.572e-05/0.4884, allocations: 154.6 kB / 0.6221 GB, free: 164 kB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002663/0.4887, allocations: 453.9 kB / 0.6225 GB, free: 15.67 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.024e-05/0.4888, allocations: 169.1 kB / 0.6227 GB, free: 15.49 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.6e-05/0.4888, allocations: 75.28 kB / 0.6228 GB, free: 15.42 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.259e-05/0.4889, allocations: 135.5 kB / 0.6229 GB, free: 15.27 MB / 442.7 MB Notification: Performance of pre-optimization done (n=0): time 1.022e-06/0.4889, allocations: 0 / 0.6229 GB, free: 15.27 MB / 442.7 MB Notification: Performance of matching and sorting (n=0): time 6.229e-05/0.4889, allocations: 29.7 kB / 0.6229 GB, free: 15.23 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.528e-05/0.489, allocations: 152.4 kB / 0.6231 GB, free: 15.07 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.007e-05/0.4891, allocations: 85 kB / 0.6232 GB, free: 14.98 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 1.336e-05/0.4891, allocations: 25.7 kB / 0.6232 GB, free: 14.95 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.481e-05/0.4891, allocations: 88.08 kB / 0.6233 GB, free: 14.86 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.373e-06/0.4891, allocations: 4 kB / 0.6233 GB, free: 14.85 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.5e-07/0.4891, allocations: 0 / 0.6233 GB, free: 14.85 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001019/0.4892, allocations: 318.8 kB / 0.6236 GB, free: 14.53 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.208e-06/0.4892, allocations: 3.938 kB / 0.6236 GB, free: 14.53 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.733e-05/0.4893, allocations: 0 / 0.6236 GB, free: 14.53 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.482e-05/0.4893, allocations: 75.28 kB / 0.6237 GB, free: 14.45 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.883e-05/0.4893, allocations: 75.28 kB / 0.6237 GB, free: 14.38 MB / 442.7 MB Notification: Performance of matching and sorting (n=0) (initialization): time 4.809e-05/0.4894, allocations: 33.66 kB / 0.6238 GB, free: 14.34 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.909e-05/0.4894, allocations: 83.31 kB / 0.6238 GB, free: 14.26 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.896e-05/0.4895, allocations: 83.22 kB / 0.6239 GB, free: 14.18 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.039e-05/0.4895, allocations: 154.6 kB / 0.6241 GB, free: 14.02 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.326e-05/0.4896, allocations: 79.27 kB / 0.6241 GB, free: 13.95 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.835e-05/0.4896, allocations: 158.5 kB / 0.6243 GB, free: 13.79 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.345e-05/0.4897, allocations: 83.22 kB / 0.6244 GB, free: 13.71 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.361e-05/0.4897, allocations: 83.22 kB / 0.6245 GB, free: 13.62 MB / 442.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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (0): * Single equations (assignments): 0 * 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 0.0001131/0.4899, allocations: 264.4 kB / 0.6247 GB, free: 13.36 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.168e-05/0.4899, allocations: 104.9 kB / 0.6248 GB, free: 13.25 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.718e-05/0.49, allocations: 108.1 kB / 0.6249 GB, free: 13.14 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.713e-05/0.49, allocations: 188.2 kB / 0.6251 GB, free: 12.95 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.718e-05/0.4901, allocations: 180.3 kB / 0.6253 GB, free: 12.76 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.383e-05/0.4902, allocations: 180.2 kB / 0.6254 GB, free: 12.58 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002127/0.4904, allocations: 398.6 kB / 0.6258 GB, free: 12.13 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.238e-05/0.4904, allocations: 105 kB / 0.6259 GB, free: 12.02 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.942e-05/0.4905, allocations: 104.9 kB / 0.626 GB, free: 11.91 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.455e-05/0.4906, allocations: 184.2 kB / 0.6262 GB, free: 11.73 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.074e-05/0.4906, allocations: 184.2 kB / 0.6264 GB, free: 11.54 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.367e-05/0.4907, allocations: 180.3 kB / 0.6265 GB, free: 11.36 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.991e-05/0.4908, allocations: 184.2 kB / 0.6267 GB, free: 11.17 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001361/0.4909, allocations: 303.8 kB / 0.627 GB, free: 10.85 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.225e-05/0.491, allocations: 190 kB / 0.6272 GB, free: 10.64 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.081e-05/0.4911, allocations: 192.2 kB / 0.6274 GB, free: 10.44 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.176e-05/0.4912, allocations: 105.3 kB / 0.6275 GB, free: 10.33 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.547e-05/0.4912, allocations: 176.3 kB / 0.6276 GB, free: 10.15 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.988e-05/0.4913, allocations: 109 kB / 0.6277 GB, free: 10.04 MB / 442.7 MB Notification: Performance of sorting global known variables: time 2.626e-05/0.4913, allocations: 79.33 kB / 0.6278 GB, free: 9.961 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.11e-07/0.4913, allocations: 0 / 0.6278 GB, free: 9.961 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0006624/0.492, allocations: 175.7 kB / 0.628 GB, free: 9.789 MB / 442.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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (0): * Single equations (assignments): 0 * 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.0007577/0.4927, allocations: 474.2 kB / 0.6284 GB, free: 9.336 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 3.601e-05/0.4928, allocations: 4 kB / 0.6284 GB, free: 9.332 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.4928, allocations: 0 / 0.6284 GB, free: 9.332 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 2.715e-06/0.4928, allocations: 4 kB / 0.6284 GB, free: 9.328 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002407/0.4931, allocations: 0.5146 MB / 0.6289 GB, free: 8.809 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001136/0.4932, allocations: 148.5 kB / 0.6291 GB, free: 8.637 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002163/0.4934, allocations: 0.677 MB / 0.6297 GB, free: 7.934 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 7.363e-06/0.4934, allocations: 4 kB / 0.6297 GB, free: 7.93 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.966e-06/0.4934, allocations: 7.438 kB / 0.6298 GB, free: 7.926 MB / 442.7 MB Notification: Performance of SimCode: time 2.21e-07/0.4934, allocations: 0 / 0.6298 GB, free: 7.926 MB / 442.7 MB Notification: Performance of Templates: time 0.006246/0.4997, allocations: 2.991 MB / 0.6327 GB, free: 4.938 MB / 442.7 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Math.TestNonlinear.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Math.TestNonlinear.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Math.TestNonlinear.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Math.TestNonlinear.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Math.TestNonlinear.sim & ./ModelicaTest_trunk_ModelicaTest.Math.TestNonlinear -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Math.TestNonlinear.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Math.TestNonlinear_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Math/TestNonlinear/TestNonlinear.csv","../files/ModelicaTest_trunk_ModelicaTest.Math.TestNonlinear.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches