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.001445/0.001445, allocations: 200.7 kB / 18.11 MB, free: 3.715 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.4/1.4, allocations: 226.5 MB / 245.4 MB, free: 8.207 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007721/0.0007721, allocations: 102.1 kB / 297.5 MB, free: 6.895 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002204/0.0002205, allocations: 8 kB / 358.1 MB, free: 10.29 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2034/0.2036, allocations: 51.29 MB / 409.4 MB, free: 27.64 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.08712/0.2908, allocations: 76.85 MB / 486.2 MB, free: 14.68 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002171/0.291, allocations: 75.95 kB / 486.3 MB, free: 14.61 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01103/0.3021, allocations: 3.712 MB / 490 MB, free: 10.9 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.114e-06/0.3021, allocations: 0 / 490 MB, free: 10.9 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.42e-06/0.3021, allocations: 4 kB / 490 MB, free: 10.9 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.0003429/0.3025, allocations: 375.4 kB / 490.4 MB, free: 10.48 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.839e-05/0.3025, allocations: 12.03 kB / 490.4 MB, free: 10.47 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.892e-05/0.3026, allocations: 4.844 kB / 490.4 MB, free: 10.46 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001302/0.3027, allocations: 168.4 kB / 490.6 MB, free: 10.26 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.098e-05/0.3027, allocations: 384 / 490.6 MB, free: 10.26 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.598e-05/0.3027, allocations: 384 / 490.6 MB, free: 10.26 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.134e-05/0.3028, allocations: 38.25 kB / 490.6 MB, free: 10.22 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.919e-06/0.3028, allocations: 192 / 490.6 MB, free: 10.22 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.158e-06/0.3029, allocations: 7.938 kB / 490.6 MB, free: 10.21 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.522e-06/0.3029, allocations: 4 kB / 490.6 MB, free: 10.21 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.244e-05/0.3029, allocations: 7.938 kB / 490.6 MB, free: 10.2 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001596/0.3031, allocations: 161.6 kB / 490.8 MB, free: 9.992 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.274e-05/0.3031, allocations: 42.58 kB / 490.8 MB, free: 9.941 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.146e-05/0.3032, allocations: 12.8 kB / 490.8 MB, free: 9.926 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.748e-06/0.3032, allocations: 0 / 490.8 MB, free: 9.926 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.703e-05/0.3032, allocations: 34.56 kB / 490.9 MB, free: 9.883 MB / 362.7 MB Notification: Performance of pre-optimization done (n=3): time 8.02e-07/0.3032, allocations: 0 / 490.9 MB, free: 9.883 MB / 362.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001315/0.3034, allocations: 57.56 kB / 490.9 MB, free: 9.82 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.996e-05/0.3034, allocations: 55.41 kB / 491 MB, free: 9.754 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.362e-05/0.3035, allocations: 101.8 kB / 491.1 MB, free: 9.645 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.104e-05/0.3035, allocations: 25.7 kB / 491.1 MB, free: 9.613 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.516e-05/0.3035, allocations: 84.14 kB / 491.2 MB, free: 9.527 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.181e-05/0.3036, allocations: 7.906 kB / 491.2 MB, free: 9.52 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.164e-06/0.3036, allocations: 0 / 491.2 MB, free: 9.52 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 9.258e-05/0.3037, allocations: 322.8 kB / 491.5 MB, free: 9.195 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.528e-05/0.3037, allocations: 4 kB / 491.5 MB, free: 9.191 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.523e-05/0.3037, allocations: 17.72 kB / 491.5 MB, free: 9.168 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.203e-05/0.3038, allocations: 33.64 kB / 491.6 MB, free: 9.129 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.443e-06/0.3038, allocations: 0 / 491.6 MB, free: 9.129 MB / 362.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 7.772e-05/0.3039, allocations: 57.55 kB / 491.6 MB, free: 9.066 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.153e-05/0.3039, allocations: 8 kB / 491.6 MB, free: 9.059 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.346e-06/0.3039, allocations: 11.95 kB / 491.6 MB, free: 9.047 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.051e-05/0.3039, allocations: 0 / 491.6 MB, free: 9.047 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.486e-05/0.304, allocations: 8 kB / 491.6 MB, free: 9.039 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.839e-06/0.304, allocations: 0 / 491.6 MB, free: 9.039 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.888e-05/0.3041, allocations: 0 / 491.6 MB, free: 9.039 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.681e-06/0.3041, allocations: 4 kB / 491.6 MB, free: 9.035 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.393e-05/0.3041, allocations: 109.8 kB / 491.7 MB, free: 8.918 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.834e-06/0.3041, allocations: 0 / 491.7 MB, free: 8.918 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.601e-05/0.3042, allocations: 15.38 kB / 491.8 MB, free: 8.898 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.343e-06/0.3042, allocations: 4 kB / 491.8 MB, free: 8.895 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.448e-06/0.3042, allocations: 3.984 kB / 491.8 MB, free: 8.891 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.135e-06/0.3042, allocations: 0 / 491.8 MB, free: 8.891 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.443e-05/0.3043, allocations: 153.7 kB / 491.9 MB, free: 8.691 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.51e-07/0.3043, allocations: 128 / 491.9 MB, free: 8.691 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.072e-05/0.3044, allocations: 12 kB / 491.9 MB, free: 8.68 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.552e-06/0.3044, allocations: 0 / 491.9 MB, free: 8.68 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.019e-05/0.3044, allocations: 3.938 kB / 491.9 MB, free: 8.676 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.665e-06/0.3044, allocations: 3.938 kB / 491.9 MB, free: 8.672 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.3044, allocations: 3.938 kB / 491.9 MB, free: 8.668 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001183/0.3045, allocations: 81.45 kB / 492 MB, free: 8.57 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.304e-05/0.3046, allocations: 85.12 kB / 492.1 MB, free: 8.469 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.539e-05/0.3046, allocations: 3.984 kB / 492.1 MB, free: 8.465 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.896e-05/0.3046, allocations: 3.984 kB / 492.1 MB, free: 8.461 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.627e-05/0.3047, allocations: 0 / 492.1 MB, free: 8.461 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.384e-06/0.3047, allocations: 4 kB / 492.1 MB, free: 8.457 MB / 362.7 MB Notification: Performance of sorting global known variables: time 4.151e-05/0.3047, allocations: 87.27 kB / 492.2 MB, free: 8.371 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.3047, allocations: 0 / 492.2 MB, free: 8.371 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002887/0.305, allocations: 79.88 kB / 492.3 MB, free: 8.293 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.0002639/0.3053, allocations: 171.1 kB / 492.4 MB, free: 8.113 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 7.803e-05/0.3054, allocations: 23.92 kB / 492.5 MB, free: 8.09 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.3054, allocations: 0 / 492.5 MB, free: 8.09 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 1.205e-05/0.3054, allocations: 4 kB / 492.5 MB, free: 8.086 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001361/0.3055, allocations: 7.172 kB / 492.5 MB, free: 8.082 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000231/0.3058, allocations: 138.9 kB / 492.6 MB, free: 7.922 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002271/0.306, allocations: 0.6809 MB / 493.3 MB, free: 7.215 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 4.034e-05/0.3061, allocations: 7.938 kB / 493.3 MB, free: 7.207 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.567e-05/0.3061, allocations: 7.438 kB / 493.3 MB, free: 7.199 MB / 362.7 MB Notification: Performance of SimCode: time 2.7e-07/0.3061, allocations: 0 / 493.3 MB, free: 7.199 MB / 362.7 MB Notification: Performance of Templates: time 0.002937/0.309, allocations: 1.051 MB / 494.4 MB, free: 6.152 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/jenkins1/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