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.001319/0.001319, allocations: 195.1 kB / 14.16 MB, free: 1.152 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.361/1.361, allocations: 225.4 MB / 240.1 MB, free: 15.12 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009609/0.0009609, allocations: 96.78 kB / 292.1 MB, free: 5.953 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 4.832e-05/4.844e-05, allocations: 4 kB / 350.5 MB, free: 2.547 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1147/0.1148, allocations: 51.49 MB / 402 MB, free: 15.02 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3442/0.459, allocations: 76.86 MB / 478.9 MB, free: 12.59 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001797/0.4593, allocations: 66.34 kB / 478.9 MB, free: 12.55 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.009335/0.4686, allocations: 3.702 MB / 482.6 MB, free: 9.41 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.402e-06/0.4686, allocations: 4 kB / 482.7 MB, free: 9.406 MB / 346.7 MB Notification: Performance of Transformations before backend: time 5.971e-06/0.4686, allocations: 0 / 482.7 MB, free: 9.406 MB / 346.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.0002275/0.4689, allocations: 373.4 kB / 483 MB, free: 9 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.638e-05/0.4689, allocations: 12.03 kB / 483 MB, free: 8.988 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.477e-05/0.469, allocations: 0 / 483 MB, free: 8.988 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.802e-05/0.4691, allocations: 163.9 kB / 483.2 MB, free: 8.789 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.475e-05/0.4691, allocations: 9.062 kB / 483.2 MB, free: 8.781 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.557e-05/0.4691, allocations: 3.281 kB / 483.2 MB, free: 8.781 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.298e-05/0.4692, allocations: 36.12 kB / 483.2 MB, free: 8.746 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.726e-06/0.4692, allocations: 4 kB / 483.2 MB, free: 8.742 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.762e-06/0.4692, allocations: 0 / 483.2 MB, free: 8.742 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.067e-06/0.4692, allocations: 0 / 483.2 MB, free: 8.742 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.192e-05/0.4692, allocations: 18.78 kB / 483.3 MB, free: 8.727 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001159/0.4694, allocations: 153.5 kB / 483.4 MB, free: 8.531 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.275e-05/0.4694, allocations: 33.7 kB / 483.4 MB, free: 8.492 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.085e-05/0.4695, allocations: 12.42 kB / 483.5 MB, free: 8.48 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.317e-06/0.4695, allocations: 7.953 kB / 483.5 MB, free: 8.473 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.879e-05/0.4695, allocations: 30.56 kB / 483.5 MB, free: 8.434 MB / 346.7 MB Notification: Performance of pre-optimization done (n=3): time 1.914e-06/0.4695, allocations: 0 / 483.5 MB, free: 8.434 MB / 346.7 MB Notification: Performance of matching and sorting (n=3): time 9.619e-05/0.4696, allocations: 48.84 kB / 483.5 MB, free: 8.383 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.197e-05/0.4696, allocations: 55.41 kB / 483.6 MB, free: 8.316 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.696e-05/0.4697, allocations: 96.06 kB / 483.7 MB, free: 8.219 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 7.454e-06/0.4697, allocations: 25.7 kB / 483.7 MB, free: 8.188 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.739e-05/0.4697, allocations: 80.14 kB / 483.8 MB, free: 8.105 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.422e-05/0.4698, allocations: 22.3 kB / 483.8 MB, free: 8.09 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.404e-06/0.4698, allocations: 0 / 483.8 MB, free: 8.09 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 4.422e-05/0.4698, allocations: 313.8 kB / 484.1 MB, free: 7.777 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.623e-05/0.4698, allocations: 7.125 kB / 484.1 MB, free: 7.773 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.32e-05/0.4699, allocations: 21.34 kB / 484.1 MB, free: 7.75 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.47e-05/0.47, allocations: 11.98 kB / 484.2 MB, free: 7.738 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.442e-06/0.47, allocations: 0 / 484.2 MB, free: 7.738 MB / 346.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 6.752e-05/0.47, allocations: 56.06 kB / 484.2 MB, free: 7.684 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.298e-05/0.4701, allocations: 11.95 kB / 484.2 MB, free: 7.672 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.047e-06/0.4701, allocations: 0 / 484.2 MB, free: 7.672 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.053e-05/0.4701, allocations: 0 / 484.2 MB, free: 7.672 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.156e-05/0.4702, allocations: 8.625 kB / 484.2 MB, free: 7.664 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.52e-06/0.4702, allocations: 0 / 484.2 MB, free: 7.664 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.878e-05/0.4702, allocations: 0 / 484.2 MB, free: 7.664 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5e-06/0.4702, allocations: 4.844 kB / 484.2 MB, free: 7.66 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 () * 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 3.763e-05/0.4702, allocations: 112.1 kB / 484.3 MB, free: 7.547 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.416e-06/0.4703, allocations: 3.906 kB / 484.3 MB, free: 7.543 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.441e-05/0.4703, allocations: 15.44 kB / 484.4 MB, free: 7.527 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.445e-06/0.4703, allocations: 0.5625 kB / 484.4 MB, free: 7.527 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.058e-06/0.4703, allocations: 0 / 484.4 MB, free: 7.527 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.114e-06/0.4703, allocations: 0 / 484.4 MB, free: 7.527 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.796e-05/0.4704, allocations: 152.9 kB / 484.5 MB, free: 7.332 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/0.4704, allocations: 0.875 kB / 484.5 MB, free: 7.332 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.057e-05/0.4705, allocations: 8.562 kB / 484.5 MB, free: 7.324 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.543e-06/0.4705, allocations: 4 kB / 484.5 MB, free: 7.32 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.726e-06/0.4705, allocations: 3.062 kB / 484.5 MB, free: 7.32 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.863e-06/0.4705, allocations: 3.953 kB / 484.5 MB, free: 7.316 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.4705, allocations: 0 / 484.5 MB, free: 7.316 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001032/0.4706, allocations: 80.58 kB / 484.6 MB, free: 7.227 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.934e-05/0.4706, allocations: 81.66 kB / 484.7 MB, free: 7.129 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.207e-05/0.4706, allocations: 0 / 484.7 MB, free: 7.129 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.792e-05/0.4707, allocations: 3.938 kB / 484.7 MB, free: 7.125 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.729e-05/0.4707, allocations: 15.98 kB / 484.7 MB, free: 7.109 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.344e-06/0.4707, allocations: 0 / 484.7 MB, free: 7.109 MB / 346.7 MB Notification: Performance of sorting global known variables: time 2.739e-05/0.4707, allocations: 82.22 kB / 484.8 MB, free: 7.031 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4707, allocations: 1.406 kB / 484.8 MB, free: 7.031 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002692/0.471, allocations: 75.36 kB / 484.9 MB, free: 6.961 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 () * 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.0002521/0.4713, allocations: 179 kB / 485 MB, free: 6.777 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 7.54e-05/0.4714, allocations: 14.94 kB / 485.1 MB, free: 6.766 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.424e-06/0.4714, allocations: 64 / 485.1 MB, free: 6.766 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 1.201e-05/0.4714, allocations: 19.06 kB / 485.1 MB, free: 6.75 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.015e-05/0.4715, allocations: 2.062 kB / 485.1 MB, free: 6.75 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001718/0.4717, allocations: 92.03 kB / 485.2 MB, free: 6.645 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001078/0.4718, allocations: 0.6809 MB / 485.8 MB, free: 5.938 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 3.999e-05/0.4718, allocations: 8.609 kB / 485.9 MB, free: 5.93 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.496e-05/0.4718, allocations: 7.438 kB / 485.9 MB, free: 5.922 MB / 346.7 MB Notification: Performance of SimCode: time 2.41e-07/0.4718, allocations: 1.312 kB / 485.9 MB, free: 5.922 MB / 346.7 MB Notification: Performance of Templates: time 0.002709/0.4746, allocations: 1.076 MB / 486.9 MB, free: 4.887 MB / 346.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/jenkins/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