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/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) 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(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/Complex trunk/package.mo): time 0.001061/0.001061, allocations: 198.9 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.215/1.215, allocations: 227.2 MB / 245 MB, free: 5.781 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008307/0.0008305, allocations: 106 kB / 297.3 MB, free: 5.965 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002225/0.0002225, allocations: 8 kB / 357.9 MB, free: 9.324 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1961/0.1963, allocations: 51.48 MB / 409.4 MB, free: 26.73 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.08209/0.2784, allocations: 76.92 MB / 486.3 MB, free: 13.7 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002021/0.2787, allocations: 71.97 kB / 486.4 MB, free: 13.63 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01021/0.2889, allocations: 3.724 MB / 490.1 MB, free: 9.91 MB / 362.7 MB Notification: Performance of FrontEnd: time 3.577e-06/0.2889, allocations: 0 / 490.1 MB, free: 9.91 MB / 362.7 MB Notification: Performance of Transformations before backend: time 6.432e-06/0.2889, allocations: 3.938 kB / 490.1 MB, free: 9.906 MB / 362.7 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.0003399/0.2893, allocations: 379.2 kB / 490.5 MB, free: 9.488 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.362e-05/0.2893, allocations: 8.031 kB / 490.5 MB, free: 9.48 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.628e-05/0.2894, allocations: 3.906 kB / 490.5 MB, free: 9.477 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000122/0.2895, allocations: 167.1 kB / 490.7 MB, free: 9.273 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.105e-05/0.2895, allocations: 0 / 490.7 MB, free: 9.273 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.889e-05/0.2895, allocations: 7.953 kB / 490.7 MB, free: 9.266 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.987e-05/0.2896, allocations: 37.69 kB / 490.7 MB, free: 9.223 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.726e-06/0.2896, allocations: 0 / 490.7 MB, free: 9.223 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.634e-06/0.2896, allocations: 0 / 490.7 MB, free: 9.223 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.047e-06/0.2896, allocations: 7.938 kB / 490.7 MB, free: 9.215 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.784e-05/0.2897, allocations: 4 kB / 490.7 MB, free: 9.211 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001608/0.2898, allocations: 157.6 kB / 490.9 MB, free: 9.008 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.944e-05/0.2899, allocations: 42.48 kB / 490.9 MB, free: 8.957 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.266e-06/0.2899, allocations: 0 / 490.9 MB, free: 8.957 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.961e-05/0.29, allocations: 38.52 kB / 491 MB, free: 8.91 MB / 362.7 MB Notification: Performance of pre-optimization done (n=3): time 8.02e-07/0.29, allocations: 0 / 491 MB, free: 8.91 MB / 362.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001282/0.2901, allocations: 61.7 kB / 491 MB, free: 8.844 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.372e-05/0.2901, allocations: 51.41 kB / 491.1 MB, free: 8.781 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.99e-05/0.2902, allocations: 92.98 kB / 491.2 MB, free: 8.684 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.739e-05/0.2902, allocations: 25.7 kB / 491.2 MB, free: 8.652 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.679e-05/0.2903, allocations: 88.14 kB / 491.3 MB, free: 8.562 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.639e-05/0.2903, allocations: 7.812 kB / 491.3 MB, free: 8.555 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.715e-06/0.2904, allocations: 0 / 491.3 MB, free: 8.555 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 9.707e-05/0.2905, allocations: 314.8 kB / 491.6 MB, free: 8.238 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.737e-05/0.2905, allocations: 11.98 kB / 491.6 MB, free: 8.227 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.518e-05/0.2905, allocations: 21.72 kB / 491.6 MB, free: 8.199 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.814e-05/0.2905, allocations: 8 kB / 491.6 MB, free: 8.191 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.2905, allocations: 0 / 491.6 MB, free: 8.191 MB / 362.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 7.6e-05/0.2906, allocations: 53.62 kB / 491.7 MB, free: 8.133 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.326e-05/0.2906, allocations: 4 kB / 491.7 MB, free: 8.129 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.089e-06/0.2907, allocations: 7.953 kB / 491.7 MB, free: 8.121 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.055e-05/0.2907, allocations: 0 / 491.7 MB, free: 8.121 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.684e-05/0.2907, allocations: 12.03 kB / 491.7 MB, free: 8.109 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.384e-06/0.2908, allocations: 3.984 kB / 491.7 MB, free: 8.105 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.034e-05/0.2908, allocations: 3.906 kB / 491.7 MB, free: 8.102 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.005e-06/0.2908, allocations: 8 kB / 491.7 MB, free: 8.094 MB / 362.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.69e-05/0.2909, allocations: 105.8 kB / 491.8 MB, free: 7.98 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.215e-06/0.2909, allocations: 3.938 kB / 491.8 MB, free: 7.977 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.002e-05/0.2909, allocations: 11.5 kB / 491.8 MB, free: 7.961 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.598e-06/0.2909, allocations: 3.953 kB / 491.8 MB, free: 7.957 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.138e-06/0.2909, allocations: 0 / 491.8 MB, free: 7.957 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.465e-06/0.291, allocations: 4 kB / 491.9 MB, free: 7.953 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001092/0.2911, allocations: 149.7 kB / 492 MB, free: 7.758 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.203e-06/0.2911, allocations: 0 / 492 MB, free: 7.758 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.705e-05/0.2911, allocations: 12 kB / 492 MB, free: 7.746 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.118e-06/0.2912, allocations: 3.984 kB / 492 MB, free: 7.742 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.622e-06/0.2912, allocations: 0 / 492 MB, free: 7.742 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.566e-06/0.2912, allocations: 128 / 492 MB, free: 7.742 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.246e-06/0.2912, allocations: 11.89 kB / 492 MB, free: 7.73 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001212/0.2913, allocations: 73.12 kB / 492.1 MB, free: 7.641 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.838e-05/0.2914, allocations: 85.05 kB / 492.2 MB, free: 7.539 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.555e-05/0.2914, allocations: 7.938 kB / 492.2 MB, free: 7.531 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.759e-05/0.2914, allocations: 0 / 492.2 MB, free: 7.531 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.826e-05/0.2914, allocations: 11.88 kB / 492.2 MB, free: 7.52 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.318e-06/0.2914, allocations: 4 kB / 492.2 MB, free: 7.516 MB / 362.7 MB Notification: Performance of sorting global known variables: time 3.81e-05/0.2915, allocations: 79.28 kB / 492.3 MB, free: 7.438 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2915, allocations: 0 / 492.3 MB, free: 7.438 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002939/0.2918, allocations: 79.8 kB / 492.4 MB, free: 7.359 MB / 362.7 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 (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.0002925/0.2921, allocations: 179.1 kB / 492.5 MB, free: 7.176 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 8.402e-05/0.2922, allocations: 12.61 kB / 492.5 MB, free: 7.164 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.2922, allocations: 4 kB / 492.5 MB, free: 7.16 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 1.759e-05/0.2922, allocations: 15.92 kB / 492.6 MB, free: 7.145 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001099/0.2923, allocations: 4.75 kB / 492.6 MB, free: 7.145 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003236/0.2927, allocations: 135 kB / 492.7 MB, free: 6.984 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002972/0.293, allocations: 0.6849 MB / 493.4 MB, free: 6.273 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 5.426e-05/0.293, allocations: 4 kB / 493.4 MB, free: 6.27 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.107e-05/0.2931, allocations: 7.438 kB / 493.4 MB, free: 6.262 MB / 362.7 MB Notification: Performance of SimCode: time 3.61e-07/0.2931, allocations: 0 / 493.4 MB, free: 6.262 MB / 362.7 MB Notification: Performance of Templates: time 0.003111/0.2962, allocations: 1.064 MB / 494.5 MB, free: 5.199 MB / 362.7 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","../files/Modelica_trunk_Modelica.Math.Nonlinear.Examples.QuadratureLobatto3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches