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.001489/0.001489, allocations: 185.4 kB / 16.41 MB, free: 5.727 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.914/1.914, allocations: 205.4 MB / 222.5 MB, free: 9.141 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.001106/0.001106, allocations: 86.94 kB / 270.9 MB, free: 8.391 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003907/0.0003907, allocations: 12 kB / 327 MB, free: 232 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3307/0.3311, allocations: 47.57 MB / 374.5 MB, free: 45.41 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1214/0.4525, allocations: 75.28 MB / 449.8 MB, free: 5.52 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002851/0.4528, allocations: 79.95 kB / 449.9 MB, free: 5.441 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01818/0.471, allocations: 3.565 MB / 453.5 MB, free: 1.871 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.044e-06/0.4711, allocations: 0 / 453.5 MB, free: 1.871 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.157e-05/0.4711, allocations: 4 kB / 453.5 MB, free: 1.867 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.0005459/0.4717, allocations: 371.2 kB / 453.8 MB, free: 1.457 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.934e-05/0.4717, allocations: 8.031 kB / 453.8 MB, free: 1.449 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.732e-05/0.4718, allocations: 11.84 kB / 453.8 MB, free: 1.438 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001697/0.472, allocations: 167 kB / 454 MB, free: 1.234 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.679e-05/0.472, allocations: 3.984 kB / 454 MB, free: 1.23 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.525e-05/0.472, allocations: 3.953 kB / 454 MB, free: 1.227 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.704e-05/0.4721, allocations: 33.7 kB / 454 MB, free: 1.188 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.382e-05/0.4722, allocations: 3.984 kB / 454 MB, free: 1.184 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.388e-06/0.4722, allocations: 8 kB / 454.1 MB, free: 1.176 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.588e-06/0.4722, allocations: 0 / 454.1 MB, free: 1.176 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.72e-05/0.4723, allocations: 7.984 kB / 454.1 MB, free: 1.168 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002144/0.4725, allocations: 165.6 kB / 454.2 MB, free: 0.957 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.679e-05/0.4726, allocations: 30.58 kB / 454.3 MB, free: 0.918 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.196e-05/0.4726, allocations: 96 / 454.3 MB, free: 0.918 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.331e-05/0.4726, allocations: 42.5 kB / 454.3 MB, free: 0.8672 MB / 330.7 MB Notification: Performance of pre-optimization done (n=3): time 1.332e-06/0.4727, allocations: 0 / 454.3 MB, free: 0.8672 MB / 330.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001729/0.4728, allocations: 49.62 kB / 454.3 MB, free: 0.8125 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.684e-05/0.4729, allocations: 55.41 kB / 454.4 MB, free: 0.7461 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.681e-05/0.473, allocations: 93 kB / 454.5 MB, free: 0.6484 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.81e-05/0.473, allocations: 25.7 kB / 454.5 MB, free: 0.6172 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.407e-05/0.4731, allocations: 154.5 kB / 454.7 MB, free: 476 kB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.925e-05/0.4732, allocations: 19.8 kB / 454.7 MB, free: 456 kB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.088e-06/0.4732, allocations: 0 / 454.7 MB, free: 456 kB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.000131/0.4733, allocations: 316.8 kB / 455 MB, free: 132 kB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.711e-05/0.4734, allocations: 8 kB / 455 MB, free: 124 kB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.833e-05/0.4734, allocations: 17.72 kB / 455 MB, free: 100 kB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.89e-05/0.4735, allocations: 7.984 kB / 455 MB, free: 92 kB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/0.4735, allocations: 4 kB / 455 MB, free: 88 kB / 330.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001177/0.4736, allocations: 53.64 kB / 455.1 MB, free: 28 kB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.711e-05/0.4736, allocations: 7.984 kB / 455.1 MB, free: 20 kB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.075e-06/0.4737, allocations: 3.953 kB / 455.1 MB, free: 16 kB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.648e-05/0.4737, allocations: 4.031 kB / 455.1 MB, free: 12 kB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001352/0.4738, allocations: 8 kB / 455.1 MB, free: 4 kB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.533e-06/0.4738, allocations: 0 / 455.1 MB, free: 4 kB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.556e-05/0.4739, allocations: 4 kB / 455.1 MB, free: 0 / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.552e-06/0.4739, allocations: 0 / 455.1 MB, free: 0 / 330.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 0.0001187/0.474, allocations: 113.8 kB / 455.2 MB, free: 15.88 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.571e-05/0.4741, allocations: 7.906 kB / 455.2 MB, free: 15.87 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.413e-05/0.4741, allocations: 11.42 kB / 455.2 MB, free: 15.86 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.591e-06/0.4741, allocations: 3.953 kB / 455.2 MB, free: 15.86 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/0.4741, allocations: 4 kB / 455.3 MB, free: 15.85 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.347e-06/0.4741, allocations: 0 / 455.3 MB, free: 15.85 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001577/0.4743, allocations: 157.7 kB / 455.4 MB, free: 15.65 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.442e-06/0.4743, allocations: 0 / 455.4 MB, free: 15.65 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000108/0.4744, allocations: 4 kB / 455.4 MB, free: 15.64 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.827e-06/0.4745, allocations: 432 / 455.4 MB, free: 15.64 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.254e-05/0.4745, allocations: 4 kB / 455.4 MB, free: 15.64 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.833e-06/0.4745, allocations: 0 / 455.4 MB, free: 15.64 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.639e-06/0.4745, allocations: 3.953 kB / 455.4 MB, free: 15.64 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001821/0.4747, allocations: 85.09 kB / 455.5 MB, free: 15.54 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.033e-05/0.4748, allocations: 84.95 kB / 455.6 MB, free: 15.43 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.865e-05/0.4748, allocations: 0 / 455.6 MB, free: 15.43 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.825e-05/0.4748, allocations: 4.031 kB / 455.6 MB, free: 15.43 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.048e-05/0.4749, allocations: 7.891 kB / 455.6 MB, free: 15.42 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.968e-06/0.4749, allocations: 0 / 455.6 MB, free: 15.42 MB / 346.7 MB Notification: Performance of sorting global known variables: time 6.18e-05/0.4749, allocations: 87.27 kB / 455.7 MB, free: 15.34 MB / 346.7 MB Notification: Performance of sort global known variables: time 3.61e-07/0.475, allocations: 0 / 455.7 MB, free: 15.34 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0004599/0.4754, allocations: 67.88 kB / 455.7 MB, free: 15.27 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.0004014/0.4758, allocations: 175.1 kB / 455.9 MB, free: 15.09 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001113/0.476, allocations: 19.98 kB / 455.9 MB, free: 15.07 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/0.476, allocations: 0 / 455.9 MB, free: 15.07 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 2.74e-05/0.476, allocations: 11.94 kB / 455.9 MB, free: 15.06 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001301/0.4762, allocations: 3.938 kB / 456 MB, free: 15.05 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003378/0.4765, allocations: 165.1 kB / 456.1 MB, free: 14.86 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002957/0.4768, allocations: 0.6809 MB / 456.8 MB, free: 14.16 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.682e-05/0.4769, allocations: 7.438 kB / 456.8 MB, free: 14.15 MB / 346.7 MB Notification: Performance of SimCode: time 8.82e-07/0.4769, allocations: 0 / 456.8 MB, free: 14.15 MB / 346.7 MB Notification: Performance of Templates: time 0.004111/0.481, allocations: 1.227 MB / 458 MB, free: 12.92 MB / 346.7 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