Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Math.Nonlinear.Examples.QuadratureLobatto3.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 trunk/package.mo", uses=false) 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Math.Nonlinear.Examples.QuadratureLobatto3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|q|qd",fileNamePrefix="Modelica_trunk_Modelica.Math.Nonlinear.Examples.QuadratureLobatto3") translateModel(Modelica.Math.Nonlinear.Examples.QuadratureLobatto3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|q|qd",fileNamePrefix="Modelica_trunk_Modelica.Math.Nonlinear.Examples.QuadratureLobatto3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001036/0.001036, allocations: 102 kB / 17.2 MB, free: 6.293 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001071/0.001071, allocations: 209.8 kB / 18.14 MB, free: 5.371 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.361/1.361, allocations: 227.4 MB / 246.3 MB, free: 10.84 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001146/0.001146, allocations: 55.41 kB / 306.2 MB, free: 1.066 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09079/0.09195, allocations: 50.54 MB / 356.8 MB, free: 14.54 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Math.Nonlinear.Examples.QuadratureLobatto3): time 0.001658/0.09364, allocations: 0.5869 MB / 357.4 MB, free: 13.95 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001728/0.09538, allocations: 1.601 MB / 359 MB, free: 12.33 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.663e-05/0.09541, allocations: 0 / 359 MB, free: 12.33 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 1.478e-05/0.09544, allocations: 0 / 359 MB, free: 12.33 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004614/0.09591, allocations: 119.8 kB / 359.1 MB, free: 12.21 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 2.07e-05/0.09594, allocations: 12 kB / 359.1 MB, free: 12.2 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 4.229e-05/0.09599, allocations: 15.92 kB / 359.1 MB, free: 12.18 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.238e-05/0.09603, allocations: 0 / 359.1 MB, free: 12.18 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.894e-05/0.09607, allocations: 15.92 kB / 359.1 MB, free: 12.17 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.161e-05/0.09612, allocations: 4 kB / 359.1 MB, free: 12.16 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.011e-05/0.09613, allocations: 0 / 359.1 MB, free: 12.16 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000333/0.09647, allocations: 243.7 kB / 359.4 MB, free: 11.93 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 1.266e-05/0.09649, allocations: 7.938 kB / 359.4 MB, free: 11.92 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 2.122e-05/0.09652, allocations: 3.984 kB / 359.4 MB, free: 11.91 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000252/0.09678, allocations: 183.6 kB / 359.6 MB, free: 11.73 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.877e-06/0.09679, allocations: 4 kB / 359.6 MB, free: 11.73 MB / 302.1 MB Notification: Performance of FrontEnd: time 7.62e-07/0.09679, allocations: 0 / 359.6 MB, free: 11.73 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.51e-06/0.0968, allocations: 0 / 359.6 MB, free: 11.73 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003744/0.09718, allocations: 351.8 kB / 359.9 MB, free: 11.34 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.372e-05/0.09723, allocations: 12.03 kB / 359.9 MB, free: 11.33 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.037e-05/0.09726, allocations: 4.922 kB / 359.9 MB, free: 11.32 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001184/0.09739, allocations: 172.2 kB / 360.1 MB, free: 11.12 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.364e-06/0.0974, allocations: 384 / 360.1 MB, free: 11.12 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.74e-05/0.09742, allocations: 384 / 360.1 MB, free: 11.12 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.292e-05/0.0975, allocations: 46 kB / 360.1 MB, free: 11.07 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.132e-05/0.09752, allocations: 4 kB / 360.1 MB, free: 11.06 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.987e-06/0.09753, allocations: 3.938 kB / 360.2 MB, free: 11.06 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.238e-06/0.09754, allocations: 3.938 kB / 360.2 MB, free: 11.05 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.061e-05/0.09758, allocations: 7.938 kB / 360.2 MB, free: 11.05 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001436/0.09773, allocations: 157.7 kB / 360.3 MB, free: 10.84 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.845e-05/0.0978, allocations: 34.61 kB / 360.4 MB, free: 10.8 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.973e-05/0.09784, allocations: 12.86 kB / 360.4 MB, free: 10.79 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.101e-05/0.09786, allocations: 0 / 360.4 MB, free: 10.79 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.461e-05/0.09789, allocations: 34.5 kB / 360.4 MB, free: 10.74 MB / 302.1 MB Notification: Performance of pre-optimization done (n=3): time 8.11e-07/0.09789, allocations: 0 / 360.4 MB, free: 10.74 MB / 302.1 MB Notification: Performance of matching and sorting (n=3): time 0.0001282/0.09803, allocations: 57.7 kB / 360.5 MB, free: 10.68 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.589e-05/0.09806, allocations: 51.41 kB / 360.5 MB, free: 10.62 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.532e-05/0.09814, allocations: 101.8 kB / 360.6 MB, free: 10.51 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.136e-05/0.09816, allocations: 25.7 kB / 360.6 MB, free: 10.48 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.269e-05/0.0982, allocations: 92.14 kB / 360.7 MB, free: 10.38 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.642e-05/0.09823, allocations: 11.8 kB / 360.7 MB, free: 10.37 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.963e-05/0.09826, allocations: 17.72 kB / 360.7 MB, free: 10.35 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 9.346e-05/0.09836, allocations: 310.8 kB / 361.1 MB, free: 10.04 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.008e-05/0.09839, allocations: 8 kB / 361.1 MB, free: 10.03 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.602e-05/0.09842, allocations: 21.7 kB / 361.1 MB, free: 10 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.888e-05/0.09847, allocations: 33.78 kB / 361.1 MB, free: 9.961 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.106e-06/0.09848, allocations: 4 kB / 361.1 MB, free: 9.957 MB / 302.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 8.038e-05/0.09857, allocations: 49.69 kB / 361.2 MB, free: 9.902 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.375e-05/0.09859, allocations: 11.94 kB / 361.2 MB, free: 9.891 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.687e-06/0.0986, allocations: 0 / 361.2 MB, free: 9.891 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.058e-05/0.09861, allocations: 0 / 361.2 MB, free: 9.891 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.551e-05/0.09869, allocations: 11.94 kB / 361.2 MB, free: 9.879 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.039e-06/0.0987, allocations: 0 / 361.2 MB, free: 9.879 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.181e-05/0.09873, allocations: 4 kB / 361.2 MB, free: 9.875 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.921e-06/0.09874, allocations: 4 kB / 361.2 MB, free: 9.871 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (5): * Single equations (assignments): 5 * 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.062e-05/0.09884, allocations: 113.9 kB / 361.3 MB, free: 9.75 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.436e-05/0.09886, allocations: 11.84 kB / 361.3 MB, free: 9.738 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.603e-05/0.09889, allocations: 7.5 kB / 361.3 MB, free: 9.723 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.422e-06/0.0989, allocations: 0 / 361.3 MB, free: 9.723 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.236e-06/0.09891, allocations: 0 / 361.3 MB, free: 9.723 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.084e-06/0.09891, allocations: 0 / 361.3 MB, free: 9.723 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.765e-05/0.09901, allocations: 157.6 kB / 361.5 MB, free: 9.52 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.074e-06/0.09902, allocations: 4 kB / 361.5 MB, free: 9.516 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.022e-05/0.09909, allocations: 7.938 kB / 361.5 MB, free: 9.508 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.01e-06/0.0991, allocations: 7.938 kB / 361.5 MB, free: 9.5 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.895e-06/0.09911, allocations: 0 / 361.5 MB, free: 9.5 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.705e-06/0.09912, allocations: 3.984 kB / 361.5 MB, free: 9.496 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.963e-06/0.09913, allocations: 4 kB / 361.5 MB, free: 9.492 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001122/0.09925, allocations: 81 kB / 361.6 MB, free: 9.395 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.386e-05/0.09929, allocations: 81.05 kB / 361.7 MB, free: 9.297 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.256e-05/0.09931, allocations: 0 / 361.7 MB, free: 9.297 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.8e-05/0.09933, allocations: 0 / 361.7 MB, free: 9.297 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.687e-05/0.09935, allocations: 8.094 kB / 361.7 MB, free: 9.289 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.887e-06/0.09936, allocations: 3.984 kB / 361.7 MB, free: 9.285 MB / 302.1 MB Notification: Performance of sorting global known variables: time 3.557e-05/0.0994, allocations: 79.75 kB / 361.8 MB, free: 9.207 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.09941, allocations: 0 / 361.8 MB, free: 9.207 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002663/0.09968, allocations: 55.98 kB / 361.8 MB, free: 9.152 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (q,qd) * 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 (3): * Single equations (assignments): 3 * 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 0.0002512/0.09993, allocations: 147.2 kB / 362 MB, free: 9 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 7.507e-05/0.1, allocations: 24.06 kB / 362 MB, free: 8.977 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.1, allocations: 0 / 362 MB, free: 8.977 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 1.462e-05/0.1, allocations: 12.16 kB / 362 MB, free: 8.965 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001481/0.1002, allocations: 4 kB / 362 MB, free: 8.961 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002554/0.1005, allocations: 147.9 kB / 362.1 MB, free: 8.789 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002169/0.1007, allocations: 0.677 MB / 362.8 MB, free: 8.086 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 6.874e-05/0.1008, allocations: 4 kB / 362.8 MB, free: 8.082 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.97e-05/0.1008, allocations: 11.44 kB / 362.8 MB, free: 8.07 MB / 302.1 MB Notification: Performance of SimCode: time 2.41e-07/0.1008, allocations: 4 kB / 362.8 MB, free: 8.066 MB / 302.1 MB Notification: Performance of Templates: time 0.003339/0.1041, allocations: 1.105 MB / 363.9 MB, free: 6.961 MB / 302.1 MB make -j1 -f Modelica_trunk_Modelica.Math.Nonlinear.Examples.QuadratureLobatto3.makefile (rm -f Modelica_trunk_Modelica.Math.Nonlinear.Examples.QuadratureLobatto3.pipe ; mkfifo Modelica_trunk_Modelica.Math.Nonlinear.Examples.QuadratureLobatto3.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Math.Nonlinear.Examples.QuadratureLobatto3.pipe >> ../files/Modelica_trunk_Modelica.Math.Nonlinear.Examples.QuadratureLobatto3.sim & ./Modelica_trunk_Modelica.Math.Nonlinear.Examples.QuadratureLobatto3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Math.Nonlinear.Examples.QuadratureLobatto3.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Math.Nonlinear.Examples.QuadratureLobatto3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Math/Nonlinear/Examples/QuadratureLobatto3/QuadratureLobatto3.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Math.Nonlinear.Examples.QuadratureLobatto3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches