Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Math.Nonlinear.Examples.QuadratureLobatto3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+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_4.0.0_Modelica.Math.Nonlinear.Examples.QuadratureLobatto3") translateModel(Modelica.Math.Nonlinear.Examples.QuadratureLobatto3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|q|qd",fileNamePrefix="Modelica_4.0.0_Modelica.Math.Nonlinear.Examples.QuadratureLobatto3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009386/0.0009386, allocations: 93.08 kB / 16.3 MB, free: 6.133 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001031/0.001031, allocations: 179 kB / 17.2 MB, free: 6.016 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.256/1.256, allocations: 223.2 MB / 241.1 MB, free: 280 kB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002323/0.0002323, allocations: 8 kB / 300.7 MB, free: 6.473 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09237/0.09262, allocations: 50.42 MB / 351.1 MB, free: 4.047 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Math.Nonlinear.Examples.QuadratureLobatto3): time 0.000538/0.0932, allocations: 250 kB / 351.4 MB, free: 3.805 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001485/0.0947, allocations: 1.417 MB / 352.8 MB, free: 2.371 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.134e-05/0.09473, allocations: 0 / 352.8 MB, free: 2.371 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 9.538e-06/0.09475, allocations: 3.938 kB / 352.8 MB, free: 2.367 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004343/0.09519, allocations: 115.7 kB / 352.9 MB, free: 2.254 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 1.739e-05/0.09521, allocations: 0 / 352.9 MB, free: 2.254 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 3.578e-05/0.09526, allocations: 15.92 kB / 352.9 MB, free: 2.238 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.766e-05/0.0953, allocations: 8 kB / 352.9 MB, free: 2.23 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.31e-05/0.09534, allocations: 7.984 kB / 353 MB, free: 2.223 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.784e-05/0.09539, allocations: 3.938 kB / 353 MB, free: 2.219 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.213e-05/0.09541, allocations: 0 / 353 MB, free: 2.219 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000289/0.09571, allocations: 219.7 kB / 353.2 MB, free: 2.004 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 7.334e-06/0.09572, allocations: 0 / 353.2 MB, free: 2.004 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 2.204e-05/0.09575, allocations: 33.7 kB / 353.2 MB, free: 1.965 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001613/0.09592, allocations: 115.8 kB / 353.3 MB, free: 1.852 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.344e-06/0.09593, allocations: 0 / 353.3 MB, free: 1.852 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.194e-06/0.09593, allocations: 0 / 353.3 MB, free: 1.852 MB / 286.1 MB Notification: Performance of Transformations before backend: time 7.544e-06/0.09595, allocations: 4 kB / 353.3 MB, free: 1.848 MB / 286.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.0003573/0.09631, allocations: 359.3 kB / 353.7 MB, free: 1.449 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.065e-05/0.09635, allocations: 8.031 kB / 353.7 MB, free: 1.441 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.721e-05/0.09638, allocations: 7.953 kB / 353.7 MB, free: 1.434 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001291/0.09651, allocations: 163.3 kB / 353.8 MB, free: 1.234 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.118e-05/0.09653, allocations: 0 / 353.8 MB, free: 1.234 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.198e-05/0.09656, allocations: 4 kB / 353.9 MB, free: 1.23 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.699e-05/0.09664, allocations: 45.56 kB / 353.9 MB, free: 1.18 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.798e-06/0.09666, allocations: 4 kB / 353.9 MB, free: 1.176 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.472e-06/0.09667, allocations: 0 / 353.9 MB, free: 1.176 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.957e-06/0.09668, allocations: 0 / 353.9 MB, free: 1.176 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.129e-05/0.09672, allocations: 11.94 kB / 353.9 MB, free: 1.164 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001561/0.09688, allocations: 165.7 kB / 354.1 MB, free: 0.9531 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.837e-05/0.09695, allocations: 26.58 kB / 354.1 MB, free: 0.918 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.788e-06/0.09696, allocations: 4 kB / 354.1 MB, free: 0.9141 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.44e-05/0.09699, allocations: 38.5 kB / 354.1 MB, free: 0.8672 MB / 286.1 MB Notification: Performance of pre-optimization done (n=3): time 9.31e-07/0.097, allocations: 0 / 354.1 MB, free: 0.8672 MB / 286.1 MB Notification: Performance of matching and sorting (n=3): time 0.0001219/0.09712, allocations: 49.69 kB / 354.2 MB, free: 0.8125 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.689e-05/0.09716, allocations: 51.41 kB / 354.2 MB, free: 0.75 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.9e-05/0.09726, allocations: 110 kB / 354.3 MB, free: 0.6328 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.169e-05/0.09728, allocations: 25.7 kB / 354.4 MB, free: 0.6016 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.088e-05/0.09732, allocations: 80.14 kB / 354.5 MB, free: 0.5195 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.336e-05/0.09735, allocations: 11.89 kB / 354.5 MB, free: 0.5078 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.534e-06/0.09735, allocations: 0 / 354.5 MB, free: 0.5078 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001223/0.09748, allocations: 322.8 kB / 354.8 MB, free: 188 kB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.54e-05/0.0975, allocations: 8 kB / 354.8 MB, free: 180 kB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.883e-05/0.09754, allocations: 17.66 kB / 354.8 MB, free: 156 kB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.475e-05/0.09757, allocations: 11.98 kB / 354.8 MB, free: 144 kB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.09758, allocations: 0 / 354.8 MB, free: 144 kB / 286.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 7.525e-05/0.09766, allocations: 61.59 kB / 354.9 MB, free: 76 kB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.252e-05/0.09767, allocations: 4 kB / 354.9 MB, free: 72 kB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.038e-06/0.09768, allocations: 4.031 kB / 354.9 MB, free: 68 kB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.203e-05/0.0977, allocations: 0 / 354.9 MB, free: 68 kB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.599e-05/0.09778, allocations: 11.94 kB / 354.9 MB, free: 56 kB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.37e-06/0.09779, allocations: 0 / 354.9 MB, free: 56 kB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.893e-05/0.09782, allocations: 0 / 354.9 MB, free: 56 kB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.577e-06/0.09783, allocations: 4 kB / 354.9 MB, free: 52 kB / 286.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 () * 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.652e-05/0.09791, allocations: 113.8 kB / 355 MB, free: 15.93 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.507e-06/0.09792, allocations: 4 kB / 355 MB, free: 15.93 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.508e-05/0.09795, allocations: 7.484 kB / 355 MB, free: 15.91 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.303e-06/0.09796, allocations: 4 kB / 355 MB, free: 15.91 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.867e-06/0.09797, allocations: 0 / 355 MB, free: 15.91 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.637e-06/0.09798, allocations: 0 / 355 MB, free: 15.91 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.726e-05/0.09808, allocations: 169.5 kB / 355.2 MB, free: 15.69 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.51e-07/0.09809, allocations: 0 / 355.2 MB, free: 15.69 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.663e-05/0.09815, allocations: 4 kB / 355.2 MB, free: 15.69 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.553e-06/0.09816, allocations: 0 / 355.2 MB, free: 15.69 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.191e-06/0.09817, allocations: 0 / 355.2 MB, free: 15.69 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.945e-06/0.09818, allocations: 4 kB / 355.2 MB, free: 15.68 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.09818, allocations: 128 / 355.2 MB, free: 15.68 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001083/0.09829, allocations: 96.91 kB / 355.3 MB, free: 15.57 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.994e-05/0.09833, allocations: 77.11 kB / 355.4 MB, free: 15.48 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.151e-05/0.09835, allocations: 0 / 355.4 MB, free: 15.48 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.686e-05/0.09837, allocations: 0 / 355.4 MB, free: 15.48 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.043e-05/0.09839, allocations: 7.969 kB / 355.4 MB, free: 15.47 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.254e-06/0.0984, allocations: 0 / 355.4 MB, free: 15.47 MB / 302.1 MB Notification: Performance of sorting global known variables: time 3.493e-05/0.09844, allocations: 87.27 kB / 355.5 MB, free: 15.38 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.09845, allocations: 0 / 355.5 MB, free: 15.38 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002359/0.09869, allocations: 44 kB / 355.5 MB, free: 15.34 MB / 302.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 () * 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.000222/0.09892, allocations: 159.2 kB / 355.7 MB, free: 15.17 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 6.742e-05/0.09899, allocations: 15.94 kB / 355.7 MB, free: 15.16 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.893e-06/0.099, allocations: 0 / 355.7 MB, free: 15.16 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 1.57e-05/0.09902, allocations: 15.98 kB / 355.7 MB, free: 15.14 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.132e-05/0.09912, allocations: 10.64 kB / 355.7 MB, free: 15.13 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002121/0.09933, allocations: 131.6 kB / 355.8 MB, free: 14.98 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001792/0.09952, allocations: 0.6887 MB / 356.5 MB, free: 14.26 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 5.979e-05/0.09959, allocations: 4 kB / 356.5 MB, free: 14.26 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.377e-05/0.09961, allocations: 7.438 kB / 356.5 MB, free: 14.25 MB / 302.1 MB Notification: Performance of SimCode: time 2.31e-07/0.09962, allocations: 0 / 356.5 MB, free: 14.25 MB / 302.1 MB Notification: Performance of Templates: time 0.002929/0.1025, allocations: 1.076 MB / 357.6 MB, free: 13.18 MB / 302.1 MB make -j1 -f Modelica_4.0.0_Modelica.Math.Nonlinear.Examples.QuadratureLobatto3.makefile (rm -f Modelica_4.0.0_Modelica.Math.Nonlinear.Examples.QuadratureLobatto3.pipe ; mkfifo Modelica_4.0.0_Modelica.Math.Nonlinear.Examples.QuadratureLobatto3.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Math.Nonlinear.Examples.QuadratureLobatto3.pipe >> ../files/Modelica_4.0.0_Modelica.Math.Nonlinear.Examples.QuadratureLobatto3.sim & ./Modelica_4.0.0_Modelica.Math.Nonlinear.Examples.QuadratureLobatto3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Math.Nonlinear.Examples.QuadratureLobatto3.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_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_4.0.0_Modelica.Math.Nonlinear.Examples.QuadratureLobatto3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches