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.001382/0.001382, allocations: 178.9 kB / 18.04 MB, free: 3.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 1.458/1.458, allocations: 205.4 MB / 224.2 MB, free: 8.922 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.0008301/0.00083, allocations: 79.92 kB / 272.5 MB, free: 8.242 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003081/0.0003083, allocations: 12 kB / 329.4 MB, free: 15.25 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.227/0.2274, allocations: 47.58 MB / 377 MB, free: 45.59 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09699/0.3244, allocations: 75.32 MB / 452.3 MB, free: 5.219 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002286/0.3247, allocations: 71.97 kB / 452.4 MB, free: 5.148 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01094/0.3356, allocations: 3.572 MB / 456 MB, free: 1.578 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.575e-06/0.3357, allocations: 0 / 456 MB, free: 1.578 MB / 330.7 MB Notification: Performance of Transformations before backend: time 7.254e-06/0.3357, allocations: 0 / 456 MB, free: 1.578 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.0003911/0.3361, allocations: 375.4 kB / 456.4 MB, free: 1.16 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.026e-05/0.3362, allocations: 8.031 kB / 456.4 MB, free: 1.152 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.392e-05/0.3362, allocations: 12.78 kB / 456.4 MB, free: 1.141 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001428/0.3364, allocations: 172.2 kB / 456.5 MB, free: 0.9336 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.519e-05/0.3364, allocations: 4.359 kB / 456.5 MB, free: 0.9297 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.557e-05/0.3364, allocations: 8.375 kB / 456.6 MB, free: 0.9219 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.958e-05/0.3365, allocations: 34.27 kB / 456.6 MB, free: 0.8828 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.049e-05/0.3365, allocations: 192 / 456.6 MB, free: 0.8828 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.17e-05/0.3365, allocations: 7.922 kB / 456.6 MB, free: 0.875 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.068e-06/0.3365, allocations: 0 / 456.6 MB, free: 0.875 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.052e-05/0.3366, allocations: 4 kB / 456.6 MB, free: 0.8711 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001844/0.3368, allocations: 157.7 kB / 456.8 MB, free: 0.668 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.597e-05/0.3368, allocations: 34.55 kB / 456.8 MB, free: 0.625 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.539e-05/0.3369, allocations: 24.8 kB / 456.8 MB, free: 0.5977 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.136e-05/0.3369, allocations: 0 / 456.8 MB, free: 0.5977 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.086e-05/0.3369, allocations: 34.56 kB / 456.8 MB, free: 0.5547 MB / 330.7 MB Notification: Performance of pre-optimization done (n=3): time 8.52e-07/0.3369, allocations: 0 / 456.8 MB, free: 0.5547 MB / 330.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001368/0.3371, allocations: 57.56 kB / 456.9 MB, free: 0.4922 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.958e-05/0.3371, allocations: 51.41 kB / 456.9 MB, free: 440 kB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.384e-05/0.3372, allocations: 101.8 kB / 457 MB, free: 328 kB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.468e-05/0.3372, allocations: 29.7 kB / 457.1 MB, free: 292 kB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.213e-05/0.3373, allocations: 84.14 kB / 457.2 MB, free: 204 kB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.331e-05/0.3373, allocations: 7.906 kB / 457.2 MB, free: 196 kB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.055e-06/0.3373, allocations: 0 / 457.2 MB, free: 196 kB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001313/0.3375, allocations: 318.8 kB / 457.5 MB, free: 15.87 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.866e-05/0.3375, allocations: 8 kB / 457.5 MB, free: 15.86 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.515e-05/0.3375, allocations: 13.72 kB / 457.5 MB, free: 15.84 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.771e-05/0.3376, allocations: 29.72 kB / 457.5 MB, free: 15.81 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.056e-06/0.3376, allocations: 0 / 457.5 MB, free: 15.81 MB / 346.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 8.471e-05/0.3377, allocations: 61.53 kB / 457.6 MB, free: 15.74 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.466e-05/0.3377, allocations: 4 kB / 457.6 MB, free: 15.74 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.991e-06/0.3377, allocations: 3.938 kB / 457.6 MB, free: 15.73 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.264e-05/0.3377, allocations: 432 / 457.6 MB, free: 15.73 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.767e-05/0.3378, allocations: 15.98 kB / 457.6 MB, free: 15.72 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.943e-06/0.3378, allocations: 3.938 kB / 457.6 MB, free: 15.71 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.278e-05/0.3378, allocations: 4 kB / 457.6 MB, free: 15.71 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.96e-06/0.3379, allocations: 0 / 457.6 MB, free: 15.71 MB / 346.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 7.5e-05/0.3379, allocations: 109.9 kB / 457.7 MB, free: 15.59 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.035e-05/0.338, allocations: 7.938 kB / 457.7 MB, free: 15.59 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.417e-05/0.338, allocations: 15.42 kB / 457.8 MB, free: 15.57 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.583e-06/0.338, allocations: 0 / 457.8 MB, free: 15.57 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.709e-06/0.338, allocations: 0 / 457.8 MB, free: 15.57 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.448e-06/0.338, allocations: 3.984 kB / 457.8 MB, free: 15.56 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001283/0.3382, allocations: 153.7 kB / 457.9 MB, free: 15.36 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.026e-06/0.3382, allocations: 3.984 kB / 457.9 MB, free: 15.36 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.861e-05/0.3382, allocations: 4 kB / 457.9 MB, free: 15.36 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.044e-06/0.3382, allocations: 4 kB / 457.9 MB, free: 15.35 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.231e-05/0.3383, allocations: 7.938 kB / 457.9 MB, free: 15.34 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.263e-06/0.3383, allocations: 0 / 457.9 MB, free: 15.34 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.3383, allocations: 0 / 457.9 MB, free: 15.34 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001743/0.3385, allocations: 80.97 kB / 458 MB, free: 15.25 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.568e-05/0.3385, allocations: 85.03 kB / 458.1 MB, free: 15.14 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.69e-05/0.3385, allocations: 3.938 kB / 458.1 MB, free: 15.14 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.018e-05/0.3386, allocations: 4.031 kB / 458.1 MB, free: 15.14 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.652e-05/0.3386, allocations: 4.062 kB / 458.1 MB, free: 15.13 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.635e-06/0.3386, allocations: 3.938 kB / 458.1 MB, free: 15.13 MB / 346.7 MB Notification: Performance of sorting global known variables: time 4.469e-05/0.3387, allocations: 83.28 kB / 458.2 MB, free: 15.05 MB / 346.7 MB Notification: Performance of sort global known variables: time 2.4e-07/0.3387, allocations: 0 / 458.2 MB, free: 15.05 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003428/0.339, allocations: 71.86 kB / 458.3 MB, free: 14.98 MB / 346.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.0003046/0.3393, allocations: 167.1 kB / 458.4 MB, free: 14.8 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.000103/0.3394, allocations: 19.94 kB / 458.4 MB, free: 14.79 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.3394, allocations: 0 / 458.4 MB, free: 14.79 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 1.762e-05/0.3395, allocations: 16.05 kB / 458.5 MB, free: 14.77 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001412/0.3396, allocations: 4 kB / 458.5 MB, free: 14.77 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003273/0.34, allocations: 131.4 kB / 458.6 MB, free: 14.61 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003116/0.3403, allocations: 0.677 MB / 459.3 MB, free: 13.91 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 4.525e-05/0.3404, allocations: 7.984 kB / 459.3 MB, free: 13.9 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.672e-05/0.3404, allocations: 11.44 kB / 459.3 MB, free: 13.89 MB / 346.7 MB Notification: Performance of SimCode: time 2.3e-07/0.3404, allocations: 4 kB / 459.3 MB, free: 13.88 MB / 346.7 MB Notification: Performance of Templates: time 0.003224/0.3436, allocations: 1.007 MB / 460.3 MB, free: 12.88 MB / 346.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/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_Modelica.Math.Nonlinear.Examples.quadratureLobatto3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches