Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_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_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_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.001035/0.001035, allocations: 187 kB / 17.92 MB, free: 3.855 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.196/1.196, allocations: 205.1 MB / 223.8 MB, free: 8.477 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.0009139/0.0009139, allocations: 102.3 kB / 271.2 MB, free: 8.441 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007642/0.0007643, allocations: 43.94 kB / 327.2 MB, free: 328 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.179/0.1798, allocations: 46.62 MB / 373.8 MB, free: 45.65 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Math.Nonlinear.Examples.quadratureLobatto3): time 0.001779/0.1816, allocations: 0.5906 MB / 374.4 MB, free: 45.27 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001665/0.1833, allocations: 1.56 MB / 376 MB, free: 44.11 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.94e-05/0.1834, allocations: 0 / 376 MB, free: 44.11 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 1.891e-05/0.1834, allocations: 0 / 376 MB, free: 44.11 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004507/0.1839, allocations: 135.7 kB / 376.1 MB, free: 44.02 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 1.732e-05/0.1839, allocations: 1.125 kB / 376.1 MB, free: 44.02 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 4.335e-05/0.1839, allocations: 18.97 kB / 376.1 MB, free: 44.01 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.882e-05/0.184, allocations: 9.109 kB / 376.1 MB, free: 44 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.365e-05/0.184, allocations: 8.891 kB / 376.1 MB, free: 44 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.542e-05/0.1841, allocations: 6.125 kB / 376.1 MB, free: 43.99 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.103e-05/0.1841, allocations: 1.25 kB / 376.2 MB, free: 43.99 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003161/0.1844, allocations: 242 kB / 376.4 MB, free: 43.86 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 9.287e-06/0.1844, allocations: 1.062 kB / 376.4 MB, free: 43.86 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 1.875e-05/0.1845, allocations: 6.125 kB / 376.4 MB, free: 43.86 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002408/0.1847, allocations: 172 kB / 376.6 MB, free: 43.76 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.1847, allocations: 1.094 kB / 376.6 MB, free: 43.76 MB / 298.7 MB Notification: Performance of FrontEnd: time 9.12e-07/0.1847, allocations: 4 kB / 376.6 MB, free: 43.76 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.567e-06/0.1847, allocations: 0 / 376.6 MB, free: 43.76 MB / 298.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.000365/0.1851, allocations: 358.8 kB / 376.9 MB, free: 43.38 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.834e-05/0.1851, allocations: 9.312 kB / 376.9 MB, free: 43.38 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.157e-05/0.1852, allocations: 2.406 kB / 376.9 MB, free: 43.38 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000105/0.1853, allocations: 169.8 kB / 377.1 MB, free: 43.18 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.23e-05/0.1853, allocations: 1.938 kB / 377.1 MB, free: 43.18 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.181e-05/0.1853, allocations: 2.062 kB / 377.1 MB, free: 43.18 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.93e-05/0.1854, allocations: 45.41 kB / 377.1 MB, free: 43.13 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.08e-05/0.1854, allocations: 0 / 377.1 MB, free: 43.13 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.235e-06/0.1855, allocations: 1.281 kB / 377.1 MB, free: 43.13 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.859e-06/0.1855, allocations: 0 / 377.1 MB, free: 43.13 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.181e-05/0.1855, allocations: 4.531 kB / 377.1 MB, free: 43.13 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001341/0.1856, allocations: 159.2 kB / 377.3 MB, free: 42.93 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.011e-05/0.1857, allocations: 41.81 kB / 377.3 MB, free: 42.89 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.094e-05/0.1857, allocations: 12.95 kB / 377.4 MB, free: 42.88 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.917e-06/0.1857, allocations: 4 kB / 377.4 MB, free: 42.88 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.495e-05/0.1858, allocations: 35.56 kB / 377.4 MB, free: 42.83 MB / 298.7 MB Notification: Performance of pre-optimization done (n=3): time 9.02e-07/0.1858, allocations: 0 / 377.4 MB, free: 42.83 MB / 298.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001089/0.1859, allocations: 50.28 kB / 377.4 MB, free: 42.79 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.906e-05/0.1859, allocations: 56.44 kB / 377.5 MB, free: 42.72 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.525e-05/0.186, allocations: 103.8 kB / 377.6 MB, free: 42.62 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 5.781e-06/0.186, allocations: 25.7 kB / 377.6 MB, free: 42.59 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.54e-05/0.186, allocations: 85.42 kB / 377.7 MB, free: 42.5 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.097e-05/0.186, allocations: 13.05 kB / 377.7 MB, free: 42.49 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.476e-05/0.1861, allocations: 21.08 kB / 377.7 MB, free: 42.46 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 3.452e-05/0.1861, allocations: 316 kB / 378.1 MB, free: 42.15 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.473e-05/0.1861, allocations: 4.219 kB / 378.1 MB, free: 42.15 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.021e-05/0.1862, allocations: 24.02 kB / 378.1 MB, free: 42.12 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.351e-05/0.1862, allocations: 22.62 kB / 378.1 MB, free: 42.11 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.834e-06/0.1862, allocations: 5.281 kB / 378.1 MB, free: 42.1 MB / 298.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 6.879e-05/0.1863, allocations: 66.06 kB / 378.2 MB, free: 42.05 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.07e-05/0.1863, allocations: 9.25 kB / 378.2 MB, free: 42.04 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.017e-06/0.1863, allocations: 1.031 kB / 378.2 MB, free: 42.04 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.3e-05/0.1863, allocations: 1.562 kB / 378.2 MB, free: 42.04 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.132e-05/0.1864, allocations: 6.5 kB / 378.2 MB, free: 42.04 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.2e-06/0.1864, allocations: 5.25 kB / 378.2 MB, free: 42.04 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.835e-05/0.1864, allocations: 0 / 378.2 MB, free: 42.04 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.248e-06/0.1864, allocations: 6.438 kB / 378.2 MB, free: 42.04 MB / 298.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 3.644e-05/0.1865, allocations: 119.4 kB / 378.3 MB, free: 41.91 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.669e-06/0.1865, allocations: 5.312 kB / 378.3 MB, free: 41.91 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.825e-05/0.1865, allocations: 4.781 kB / 378.3 MB, free: 41.9 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.082e-06/0.1865, allocations: 0 / 378.3 MB, free: 41.9 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.687e-06/0.1865, allocations: 1.219 kB / 378.3 MB, free: 41.9 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.054e-06/0.1865, allocations: 0 / 378.3 MB, free: 41.9 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.304e-05/0.1866, allocations: 154.7 kB / 378.5 MB, free: 41.7 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.51e-07/0.1866, allocations: 0 / 378.5 MB, free: 41.7 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.254e-05/0.1867, allocations: 5.844 kB / 378.5 MB, free: 41.7 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.594e-06/0.1867, allocations: 5 kB / 378.5 MB, free: 41.7 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.641e-06/0.1867, allocations: 4 kB / 378.5 MB, free: 41.7 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.92e-07/0.1867, allocations: 1.094 kB / 378.5 MB, free: 41.7 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.1867, allocations: 3.984 kB / 378.5 MB, free: 41.69 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005306/0.1872, allocations: 0.9157 MB / 379.4 MB, free: 40.7 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.446e-05/0.1872, allocations: 82.27 kB / 379.5 MB, free: 40.61 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.592e-06/0.1873, allocations: 0 / 379.5 MB, free: 40.61 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.541e-05/0.1873, allocations: 1.562 kB / 379.5 MB, free: 40.61 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.182e-05/0.1873, allocations: 5.203 kB / 379.5 MB, free: 40.6 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.026e-06/0.1873, allocations: 4 kB / 379.5 MB, free: 40.6 MB / 298.7 MB Notification: Performance of sorting global known variables: time 2.34e-05/0.1873, allocations: 84 kB / 379.6 MB, free: 40.52 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1873, allocations: 0 / 379.6 MB, free: 40.52 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003112/0.1877, allocations: 54.61 kB / 379.6 MB, free: 40.51 MB / 298.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 (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.0002095/0.1879, allocations: 151.5 kB / 379.8 MB, free: 40.4 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 6.358e-05/0.1879, allocations: 19.58 kB / 379.8 MB, free: 40.39 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.188, allocations: 5.062 kB / 379.8 MB, free: 40.39 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 1.264e-05/0.188, allocations: 5.656 kB / 379.8 MB, free: 40.39 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001147/0.1881, allocations: 5.062 kB / 379.8 MB, free: 40.38 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002112/0.1883, allocations: 247.5 kB / 380.1 MB, free: 40.13 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.598e-05/0.1884, allocations: 0.6793 MB / 380.7 MB, free: 39.43 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 4.843e-05/0.1884, allocations: 7.953 kB / 380.8 MB, free: 39.43 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.204e-05/0.1885, allocations: 8.906 kB / 380.8 MB, free: 39.42 MB / 298.7 MB Notification: Performance of SimCode: time 2.31e-07/0.1885, allocations: 0 / 380.8 MB, free: 39.42 MB / 298.7 MB Notification: Performance of Templates: time 0.002505/0.191, allocations: 1.101 MB / 381.9 MB, free: 38.85 MB / 298.7 MB make -j1 -f Modelica_3.2.3_Modelica.Math.Nonlinear.Examples.quadratureLobatto3.makefile (rm -f Modelica_3.2.3_Modelica.Math.Nonlinear.Examples.quadratureLobatto3.pipe ; mkfifo Modelica_3.2.3_Modelica.Math.Nonlinear.Examples.quadratureLobatto3.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Math.Nonlinear.Examples.quadratureLobatto3.pipe >> ../files/Modelica_3.2.3_Modelica.Math.Nonlinear.Examples.quadratureLobatto3.sim & ./Modelica_3.2.3_Modelica.Math.Nonlinear.Examples.quadratureLobatto3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Math.Nonlinear.Examples.quadratureLobatto3.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Math.Nonlinear.Examples.quadratureLobatto3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Math/Nonlinear/Examples/quadratureLobatto3/quadratureLobatto3.csv","../files/Modelica_3.2.3_Modelica.Math.Nonlinear.Examples.quadratureLobatto3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches