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.001453/0.001453, allocations: 180.1 kB / 8.362 MB, free: 0.7148 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.183/2.183, allocations: 205.3 MB / 214.1 MB, free: 14.14 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001093/0.001093, allocations: 76.53 kB / 262.1 MB, free: 13.89 MB / 219.1 MB Notification: Performance of FrontEnd - loaded program: time 1.826e-05/1.839e-05, allocations: 4 kB / 314.8 MB, free: 9.176 MB / 267.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3364/0.3364, allocations: 47.56 MB / 362.3 MB, free: 45.84 MB / 299.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.117/0.4535, allocations: 74.54 MB / 436.9 MB, free: 11.78 MB / 331.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002545/0.4539, allocations: 65 kB / 436.9 MB, free: 11.71 MB / 331.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.01699/0.4709, allocations: 3.537 MB / 440.5 MB, free: 8.211 MB / 331.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.4709, allocations: 3.938 kB / 440.5 MB, free: 8.207 MB / 331.1 MB Notification: Performance of Transformations before backend: time 9.828e-06/0.4709, allocations: 4 kB / 440.5 MB, free: 8.203 MB / 331.1 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.0004521/0.4714, allocations: 368.6 kB / 440.8 MB, free: 7.801 MB / 331.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.592e-05/0.4715, allocations: 8.688 kB / 440.8 MB, free: 7.793 MB / 331.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.668e-05/0.4715, allocations: 4.625 kB / 440.8 MB, free: 7.789 MB / 331.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001706/0.4717, allocations: 166.9 kB / 441 MB, free: 7.586 MB / 331.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.326e-05/0.4717, allocations: 4 kB / 441 MB, free: 7.582 MB / 331.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.092e-05/0.4717, allocations: 7.938 kB / 441 MB, free: 7.574 MB / 331.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.215e-05/0.4718, allocations: 11.94 kB / 441 MB, free: 7.566 MB / 331.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.971e-05/0.4719, allocations: 29.7 kB / 441.1 MB, free: 7.531 MB / 331.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.094e-05/0.4719, allocations: 1.688 kB / 441.1 MB, free: 7.531 MB / 331.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.125e-05/0.4719, allocations: 3.984 kB / 441.1 MB, free: 7.527 MB / 331.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.005e-05/0.4719, allocations: 3.984 kB / 441.1 MB, free: 7.523 MB / 331.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000177/0.4721, allocations: 138.2 kB / 441.2 MB, free: 7.352 MB / 331.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.23e-05/0.4722, allocations: 30.61 kB / 441.2 MB, free: 7.312 MB / 331.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.046e-05/0.4723, allocations: 16.8 kB / 441.3 MB, free: 7.293 MB / 331.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.235e-05/0.4723, allocations: 0 / 441.3 MB, free: 7.293 MB / 331.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.347e-05/0.4723, allocations: 38.52 kB / 441.3 MB, free: 7.246 MB / 331.1 MB Notification: Performance of pre-optimization done (n=3): time 1.363e-06/0.4723, allocations: 0 / 441.3 MB, free: 7.246 MB / 331.1 MB Notification: Performance of matching and sorting (n=3): time 0.0001323/0.4725, allocations: 41.78 kB / 441.3 MB, free: 7.199 MB / 331.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.154e-05/0.4725, allocations: 51.41 kB / 441.4 MB, free: 7.137 MB / 331.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.065e-05/0.4726, allocations: 95 kB / 441.5 MB, free: 7.039 MB / 331.1 MB Notification: Performance of collectPreVariables (initialization): time 2.004e-05/0.4727, allocations: 25.7 kB / 441.5 MB, free: 7.008 MB / 331.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.923e-05/0.4727, allocations: 154.6 kB / 441.6 MB, free: 6.855 MB / 331.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.051e-05/0.4728, allocations: 15.81 kB / 441.7 MB, free: 6.84 MB / 331.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.487e-06/0.4728, allocations: 0 / 441.7 MB, free: 6.84 MB / 331.1 MB Notification: Performance of setup shared object (initialization): time 0.0001337/0.4729, allocations: 314.8 kB / 442 MB, free: 6.523 MB / 331.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.141e-05/0.473, allocations: 4 kB / 442 MB, free: 6.52 MB / 331.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.678e-05/0.473, allocations: 19.03 kB / 442 MB, free: 6.496 MB / 331.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.02e-05/0.4731, allocations: 11.94 kB / 442 MB, free: 6.484 MB / 331.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.039e-06/0.4731, allocations: 4 kB / 442 MB, free: 6.48 MB / 331.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001021/0.4732, allocations: 49.62 kB / 442.1 MB, free: 6.426 MB / 331.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.044e-05/0.4732, allocations: 4 kB / 442.1 MB, free: 6.422 MB / 331.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.892e-06/0.4732, allocations: 0 / 442.1 MB, free: 6.422 MB / 331.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.762e-05/0.4733, allocations: 7.953 kB / 442.1 MB, free: 6.414 MB / 331.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.27e-05/0.4734, allocations: 4 kB / 442.1 MB, free: 6.41 MB / 331.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.21e-05/0.4734, allocations: 11.92 kB / 442.1 MB, free: 6.398 MB / 331.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.098e-05/0.4734, allocations: 4 kB / 442.1 MB, free: 6.395 MB / 331.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.922e-06/0.4734, allocations: 0 / 442.1 MB, free: 6.395 MB / 331.1 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.907e-05/0.4735, allocations: 109 kB / 442.2 MB, free: 6.281 MB / 331.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.128e-05/0.4736, allocations: 0 / 442.2 MB, free: 6.281 MB / 331.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.227e-05/0.4736, allocations: 4.125 kB / 442.2 MB, free: 6.273 MB / 331.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.154e-06/0.4736, allocations: 1.031 kB / 442.2 MB, free: 6.273 MB / 331.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.959e-06/0.4736, allocations: 3.953 kB / 442.2 MB, free: 6.27 MB / 331.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.266e-06/0.4736, allocations: 4 kB / 442.2 MB, free: 6.266 MB / 331.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001245/0.4738, allocations: 142.1 kB / 442.3 MB, free: 6.09 MB / 331.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.442e-06/0.4738, allocations: 0 / 442.3 MB, free: 6.09 MB / 331.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.886e-05/0.4739, allocations: 4 kB / 442.4 MB, free: 6.086 MB / 331.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.635e-06/0.4739, allocations: 0 / 442.4 MB, free: 6.086 MB / 331.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.254e-05/0.4739, allocations: 8 kB / 442.4 MB, free: 6.078 MB / 331.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.4739, allocations: 0 / 442.4 MB, free: 6.078 MB / 331.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.646e-06/0.474, allocations: 3.984 kB / 442.4 MB, free: 6.074 MB / 331.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000143/0.4741, allocations: 77.3 kB / 442.4 MB, free: 5.98 MB / 331.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.118e-05/0.4742, allocations: 77.77 kB / 442.5 MB, free: 5.887 MB / 331.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.607e-05/0.4742, allocations: 0 / 442.5 MB, free: 5.887 MB / 331.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.634e-05/0.4742, allocations: 0.9219 kB / 442.5 MB, free: 5.887 MB / 331.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.835e-05/0.4743, allocations: 8.016 kB / 442.5 MB, free: 5.879 MB / 331.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.322e-06/0.4743, allocations: 8.062 kB / 442.5 MB, free: 5.871 MB / 331.1 MB Notification: Performance of sorting global known variables: time 5.756e-05/0.4743, allocations: 83.27 kB / 442.6 MB, free: 5.789 MB / 331.1 MB Notification: Performance of sort global known variables: time 4.41e-07/0.4744, allocations: 0 / 442.6 MB, free: 5.789 MB / 331.1 MB Notification: Performance of remove unused functions: time 0.0004385/0.4748, allocations: 69.94 kB / 442.7 MB, free: 5.723 MB / 331.1 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.0004054/0.4752, allocations: 175 kB / 442.9 MB, free: 5.539 MB / 331.1 MB Notification: Performance of simCode: created initialization part: time 8.83e-05/0.4753, allocations: 12 kB / 442.9 MB, free: 5.527 MB / 331.1 MB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.4753, allocations: 7.875 kB / 442.9 MB, free: 5.52 MB / 331.1 MB Notification: Performance of simCode: created simulation system equations: time 2.069e-05/0.4754, allocations: 8 kB / 442.9 MB, free: 5.512 MB / 331.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001266/0.4755, allocations: 5.625 kB / 442.9 MB, free: 5.508 MB / 331.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002672/0.4758, allocations: 120 kB / 443 MB, free: 5.363 MB / 331.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002896/0.4761, allocations: 0.6807 MB / 443.7 MB, free: 4.656 MB / 331.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.555e-05/0.4761, allocations: 11.44 kB / 443.7 MB, free: 4.645 MB / 331.1 MB Notification: Performance of SimCode: time 6.71e-07/0.4761, allocations: 0 / 443.7 MB, free: 4.645 MB / 331.1 MB Notification: Performance of Templates: time 0.004023/0.4802, allocations: 1.245 MB / 444.9 MB, free: 3.41 MB / 331.1 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