Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Math.Nonlinear.Examples.quadratureLobatto3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(Modelica.Math.Nonlinear.Examples.quadratureLobatto3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|q|qd",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Math.Nonlinear.Examples.quadratureLobatto3") translateModel(Modelica.Math.Nonlinear.Examples.quadratureLobatto3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|q|qd",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Math.Nonlinear.Examples.quadratureLobatto3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001486/0.001486, allocations: 180.2 kB / 13.65 MB, free: 1.66 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.012/2.012, allocations: 205.2 MB / 219.4 MB, free: 14.28 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001055/0.001055, allocations: 94.62 kB / 267.5 MB, free: 14.11 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.971e-05/2.988e-05, allocations: 0 / 321.5 MB, free: 17.86 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1/0.1001, allocations: 47.57 MB / 369.1 MB, free: 2.223 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4007/0.5009, allocations: 75.19 MB / 444.3 MB, free: 1.945 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002505/0.5012, allocations: 67.66 kB / 444.3 MB, free: 1.914 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01705/0.5182, allocations: 3.538 MB / 447.9 MB, free: 14.86 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.984e-06/0.5183, allocations: 0 / 447.9 MB, free: 14.86 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.193e-05/0.5183, allocations: 0 / 447.9 MB, free: 14.86 MB / 330.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.0004422/0.5188, allocations: 381.2 kB / 448.3 MB, free: 14.45 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.768e-05/0.5188, allocations: 8.031 kB / 448.3 MB, free: 14.44 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.585e-05/0.5189, allocations: 1.125 kB / 448.3 MB, free: 14.44 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001663/0.519, allocations: 175 kB / 448.4 MB, free: 14.23 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.36e-05/0.5191, allocations: 0 / 448.4 MB, free: 14.23 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.348e-05/0.5191, allocations: 3.953 kB / 448.4 MB, free: 14.23 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.748e-05/0.5192, allocations: 36.33 kB / 448.5 MB, free: 14.19 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.189e-05/0.5192, allocations: 0 / 448.5 MB, free: 14.19 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.024e-05/0.5192, allocations: 3.062 kB / 448.5 MB, free: 14.19 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.391e-05/0.5193, allocations: 4 kB / 448.5 MB, free: 14.18 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.557e-05/0.5193, allocations: 15.92 kB / 448.5 MB, free: 14.17 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001971/0.5195, allocations: 160.7 kB / 448.7 MB, free: 13.96 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.628e-05/0.5196, allocations: 25.89 kB / 448.7 MB, free: 13.93 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3e-05/0.5197, allocations: 13.89 kB / 448.7 MB, free: 13.92 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.369e-05/0.5197, allocations: 7.953 kB / 448.7 MB, free: 13.91 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.51e-05/0.5197, allocations: 30.56 kB / 448.7 MB, free: 13.88 MB / 330.7 MB Notification: Performance of pre-optimization done (n=3): time 1.572e-06/0.5197, allocations: 4 kB / 448.7 MB, free: 13.87 MB / 330.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001499/0.5199, allocations: 45.03 kB / 448.8 MB, free: 13.82 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.716e-05/0.52, allocations: 55.41 kB / 448.8 MB, free: 13.76 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.337e-05/0.5201, allocations: 92.25 kB / 448.9 MB, free: 13.66 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.525e-05/0.5201, allocations: 25.7 kB / 448.9 MB, free: 13.63 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.723e-05/0.5202, allocations: 150.6 kB / 449.1 MB, free: 13.48 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.641e-05/0.5202, allocations: 18.98 kB / 449.1 MB, free: 13.47 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.676e-06/0.5202, allocations: 0 / 449.1 MB, free: 13.47 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001241/0.5204, allocations: 314 kB / 449.4 MB, free: 13.16 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.424e-05/0.5204, allocations: 8 kB / 449.4 MB, free: 13.15 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.577e-05/0.5204, allocations: 20.78 kB / 449.4 MB, free: 13.12 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.543e-05/0.5205, allocations: 10.92 kB / 449.5 MB, free: 13.12 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.5205, allocations: 0 / 449.5 MB, free: 13.12 MB / 330.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001113/0.5206, allocations: 48.81 kB / 449.5 MB, free: 13.07 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.293e-05/0.5207, allocations: 11.94 kB / 449.5 MB, free: 13.05 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.948e-06/0.5207, allocations: 4 kB / 449.5 MB, free: 13.05 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.314e-05/0.5207, allocations: 7.969 kB / 449.5 MB, free: 13.04 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001076/0.5208, allocations: 15.55 kB / 449.5 MB, free: 13.03 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.704e-06/0.5208, allocations: 0 / 449.5 MB, free: 13.03 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.397e-05/0.5209, allocations: 3.984 kB / 449.5 MB, free: 13.03 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.468e-06/0.5209, allocations: 4 kB / 449.6 MB, free: 13.02 MB / 330.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 () * 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 7.806e-05/0.521, allocations: 104.9 kB / 449.7 MB, free: 12.91 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.205e-05/0.521, allocations: 0 / 449.7 MB, free: 12.91 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.705e-05/0.5211, allocations: 10.33 kB / 449.7 MB, free: 12.9 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.38e-06/0.5211, allocations: 4 kB / 449.7 MB, free: 12.9 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.412e-06/0.5211, allocations: 7.984 kB / 449.7 MB, free: 12.89 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.368e-06/0.5211, allocations: 0 / 449.7 MB, free: 12.89 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001371/0.5213, allocations: 156.9 kB / 449.8 MB, free: 12.69 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.5213, allocations: 0 / 449.8 MB, free: 12.69 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001103/0.5214, allocations: 8 kB / 449.8 MB, free: 12.68 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.005e-06/0.5214, allocations: 0 / 449.8 MB, free: 12.68 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.217e-06/0.5214, allocations: 0 / 449.8 MB, free: 12.68 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.029e-06/0.5214, allocations: 3.953 kB / 449.8 MB, free: 12.68 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.5214, allocations: 0 / 449.8 MB, free: 12.68 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001668/0.5216, allocations: 79.66 kB / 449.9 MB, free: 12.59 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.086e-05/0.5217, allocations: 81.05 kB / 450 MB, free: 12.49 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.871e-05/0.5217, allocations: 3.984 kB / 450 MB, free: 12.49 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.656e-05/0.5218, allocations: 3.312 kB / 450 MB, free: 12.49 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.747e-05/0.5218, allocations: 3.953 kB / 450 MB, free: 12.48 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.272e-06/0.5218, allocations: 8.125 kB / 450 MB, free: 12.48 MB / 330.7 MB Notification: Performance of sorting global known variables: time 5.621e-05/0.5219, allocations: 79.28 kB / 450.1 MB, free: 12.4 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.61e-07/0.5219, allocations: 0 / 450.1 MB, free: 12.4 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0004752/0.5224, allocations: 75.36 kB / 450.2 MB, free: 12.33 MB / 330.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 () * 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.0003948/0.5228, allocations: 171.1 kB / 450.3 MB, free: 12.15 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 9.846e-05/0.5229, allocations: 19.36 kB / 450.4 MB, free: 12.13 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.5229, allocations: 3.938 kB / 450.4 MB, free: 12.13 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 2.458e-05/0.5229, allocations: 11.19 kB / 450.4 MB, free: 12.12 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001255/0.5231, allocations: 0 / 450.4 MB, free: 12.12 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002643/0.5233, allocations: 122.7 kB / 450.5 MB, free: 11.98 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002723/0.5236, allocations: 0.6849 MB / 451.2 MB, free: 11.27 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.001e-05/0.5237, allocations: 11.44 kB / 451.2 MB, free: 11.25 MB / 330.7 MB Notification: Performance of SimCode: time 6.91e-07/0.5237, allocations: 0 / 451.2 MB, free: 11.25 MB / 330.7 MB Notification: Performance of Templates: time 0.003949/0.5276, allocations: 1.211 MB / 452.4 MB, free: 10.04 MB / 330.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Math.Nonlinear.Examples.quadratureLobatto3.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Math.Nonlinear.Examples.quadratureLobatto3.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Math.Nonlinear.Examples.quadratureLobatto3.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Math.Nonlinear.Examples.quadratureLobatto3.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Math.Nonlinear.Examples.quadratureLobatto3.sim & ./Modelica_3.2.3_cpp_Modelica.Math.Nonlinear.Examples.quadratureLobatto3 --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Math.Nonlinear.Examples.quadratureLobatto3.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Math.Nonlinear.Examples.quadratureLobatto3_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Math/Nonlinear/Examples/quadratureLobatto3/quadratureLobatto3.csv","../files/Modelica_3.2.3_cpp_Modelica.Math.Nonlinear.Examples.quadratureLobatto3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches