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.001065/0.001065, allocations: 181.8 kB / 17.02 MB, free: 5.121 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.676/1.676, allocations: 205.4 MB / 223.1 MB, free: 9.109 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.0008997/0.0009, allocations: 89.28 kB / 271.5 MB, free: 8.359 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003266/0.0003269, allocations: 4 kB / 328.2 MB, free: 15.53 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3256/0.326, allocations: 47.57 MB / 375.8 MB, free: 45.61 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1016/0.4277, allocations: 75.28 MB / 451.1 MB, free: 5.387 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002441/0.4279, allocations: 75.97 kB / 451.2 MB, free: 5.312 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01067/0.4386, allocations: 3.573 MB / 454.7 MB, free: 1.734 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.024e-06/0.4387, allocations: 4 kB / 454.7 MB, free: 1.73 MB / 330.7 MB Notification: Performance of Transformations before backend: time 5.56e-06/0.4387, allocations: 0 / 454.7 MB, free: 1.73 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.0003613/0.4391, allocations: 367.2 kB / 455.1 MB, free: 1.324 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.516e-05/0.4391, allocations: 12.02 kB / 455.1 MB, free: 1.312 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.693e-05/0.4392, allocations: 7.844 kB / 455.1 MB, free: 1.305 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001529/0.4393, allocations: 171 kB / 455.3 MB, free: 1.098 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.455e-05/0.4393, allocations: 0 / 455.3 MB, free: 1.098 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.231e-05/0.4394, allocations: 7.953 kB / 455.3 MB, free: 1.09 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.064e-05/0.4395, allocations: 41.69 kB / 455.3 MB, free: 1.043 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.056e-05/0.4395, allocations: 0 / 455.3 MB, free: 1.043 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.056e-05/0.4395, allocations: 0 / 455.3 MB, free: 1.043 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.314e-06/0.4395, allocations: 0 / 455.3 MB, free: 1.043 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.606e-05/0.4395, allocations: 7.984 kB / 455.3 MB, free: 1.035 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001672/0.4397, allocations: 153.6 kB / 455.5 MB, free: 0.8359 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.622e-05/0.4398, allocations: 36.83 kB / 455.5 MB, free: 0.793 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.907e-06/0.4398, allocations: 0 / 455.5 MB, free: 0.793 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.145e-05/0.4398, allocations: 42.52 kB / 455.6 MB, free: 0.7422 MB / 330.7 MB Notification: Performance of pre-optimization done (n=3): time 7.42e-07/0.4399, allocations: 0 / 455.6 MB, free: 0.7422 MB / 330.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001375/0.44, allocations: 49.72 kB / 455.6 MB, free: 0.6875 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.121e-05/0.44, allocations: 51.41 kB / 455.7 MB, free: 0.625 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.869e-05/0.4401, allocations: 101.2 kB / 455.8 MB, free: 0.5195 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.561e-05/0.4401, allocations: 25.7 kB / 455.8 MB, free: 500 kB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.713e-05/0.4402, allocations: 88.14 kB / 455.9 MB, free: 408 kB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.69e-05/0.4402, allocations: 7.812 kB / 455.9 MB, free: 400 kB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.414e-06/0.4402, allocations: 4 kB / 455.9 MB, free: 396 kB / 330.7 MB Notification: Performance of setup shared object (initialization): time 9.491e-05/0.4403, allocations: 318.8 kB / 456.2 MB, free: 68 kB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.51e-05/0.4404, allocations: 4 kB / 456.2 MB, free: 64 kB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.371e-05/0.4404, allocations: 21.72 kB / 456.2 MB, free: 36 kB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.166e-05/0.4404, allocations: 8 kB / 456.2 MB, free: 28 kB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.4404, allocations: 0 / 456.2 MB, free: 28 kB / 330.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 8.869e-05/0.4405, allocations: 53.62 kB / 456.3 MB, free: 15.97 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.213e-05/0.4405, allocations: 8.031 kB / 456.3 MB, free: 15.96 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.546e-06/0.4405, allocations: 7.953 kB / 456.3 MB, free: 15.95 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.12e-05/0.4406, allocations: 0 / 456.3 MB, free: 15.95 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.888e-05/0.4406, allocations: 11.98 kB / 456.3 MB, free: 15.94 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.929e-06/0.4406, allocations: 0 / 456.3 MB, free: 15.94 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.087e-05/0.4407, allocations: 3.906 kB / 456.3 MB, free: 15.94 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.46e-06/0.4407, allocations: 4 kB / 456.3 MB, free: 15.93 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 6.982e-05/0.4408, allocations: 113.8 kB / 456.4 MB, free: 15.81 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.237e-06/0.4408, allocations: 0 / 456.4 MB, free: 15.81 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.875e-05/0.4408, allocations: 15.44 kB / 456.4 MB, free: 15.8 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.705e-06/0.4408, allocations: 7.891 kB / 456.5 MB, free: 15.79 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.767e-06/0.4408, allocations: 0 / 456.5 MB, free: 15.79 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.344e-06/0.4408, allocations: 0 / 456.5 MB, free: 15.79 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.378e-05/0.4409, allocations: 153.7 kB / 456.6 MB, free: 15.59 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.62e-07/0.4409, allocations: 0 / 456.6 MB, free: 15.59 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.199e-05/0.441, allocations: 11.98 kB / 456.6 MB, free: 15.58 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.893e-06/0.441, allocations: 0 / 456.6 MB, free: 15.58 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.144e-06/0.441, allocations: 128 / 456.6 MB, free: 15.58 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.408e-06/0.441, allocations: 7.984 kB / 456.6 MB, free: 15.57 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.984e-06/0.4411, allocations: 3.953 kB / 456.6 MB, free: 15.57 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001393/0.4412, allocations: 77.12 kB / 456.7 MB, free: 15.47 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.138e-05/0.4413, allocations: 92.97 kB / 456.8 MB, free: 15.36 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.681e-05/0.4413, allocations: 0 / 456.8 MB, free: 15.36 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.161e-05/0.4413, allocations: 4 kB / 456.8 MB, free: 15.36 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.001e-05/0.4414, allocations: 7.891 kB / 456.8 MB, free: 15.35 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.352e-06/0.4414, allocations: 4 kB / 456.8 MB, free: 15.35 MB / 346.7 MB Notification: Performance of sorting global known variables: time 5.574e-05/0.4414, allocations: 79.28 kB / 456.9 MB, free: 15.27 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.4414, allocations: 4.062 kB / 456.9 MB, free: 15.27 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003005/0.4417, allocations: 75.86 kB / 457 MB, free: 15.19 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.0003491/0.4421, allocations: 171.1 kB / 457.1 MB, free: 15.02 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001644/0.4423, allocations: 16 kB / 457.2 MB, free: 15 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.4423, allocations: 0 / 457.2 MB, free: 15 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 1.915e-05/0.4423, allocations: 11.92 kB / 457.2 MB, free: 14.99 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001302/0.4425, allocations: 4 kB / 457.2 MB, free: 14.98 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000348/0.4428, allocations: 131.4 kB / 457.3 MB, free: 14.83 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003176/0.4431, allocations: 0.6848 MB / 458 MB, free: 14.12 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 4.049e-05/0.4432, allocations: 4 kB / 458 MB, free: 14.12 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.711e-05/0.4432, allocations: 7.438 kB / 458 MB, free: 14.11 MB / 346.7 MB Notification: Performance of SimCode: time 2.51e-07/0.4432, allocations: 0 / 458 MB, free: 14.11 MB / 346.7 MB Notification: Performance of Templates: time 0.003048/0.4463, allocations: 1.017 MB / 459 MB, free: 13.09 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/jenkins/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