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.001512/0.001512, allocations: 108.5 kB / 17.06 MB, free: 6.023 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.001825/0.001825, allocations: 192 kB / 18 MB, free: 5.105 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.382/1.382, allocations: 222.9 MB / 241.7 MB, free: 15.15 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00097/0.00097, allocations: 43.92 kB / 351.3 MB, free: 3.27 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2617/0.2627, allocations: 49.44 MB / 400.7 MB, free: 8.977 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Math.Nonlinear.Examples.QuadratureLobatto3): time 0.001625/0.2643, allocations: 0.5288 MB / 401.2 MB, free: 8.527 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001872/0.2662, allocations: 1.48 MB / 402.7 MB, free: 7.031 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.026e-05/0.2663, allocations: 4 kB / 402.7 MB, free: 7.027 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 1.569e-05/0.2663, allocations: 3.938 kB / 402.7 MB, free: 7.023 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000622/0.267, allocations: 175.4 kB / 402.9 MB, free: 6.852 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 2.951e-05/0.267, allocations: 7.938 kB / 402.9 MB, free: 6.844 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 4.948e-05/0.267, allocations: 8 kB / 402.9 MB, free: 6.836 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.994e-05/0.2671, allocations: 7.984 kB / 402.9 MB, free: 6.828 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.329e-05/0.2671, allocations: 7.938 kB / 402.9 MB, free: 6.82 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.647e-05/0.2672, allocations: 7.922 kB / 402.9 MB, free: 6.812 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.161e-05/0.2672, allocations: 4 kB / 402.9 MB, free: 6.809 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003563/0.2676, allocations: 239.7 kB / 403.2 MB, free: 6.574 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 1.278e-05/0.2676, allocations: 7.938 kB / 403.2 MB, free: 6.566 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 2.345e-05/0.2676, allocations: 11.94 kB / 403.2 MB, free: 6.555 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002674/0.2679, allocations: 171.7 kB / 403.4 MB, free: 6.387 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.2679, allocations: 0 / 403.4 MB, free: 6.387 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.062e-06/0.2679, allocations: 0 / 403.4 MB, free: 6.387 MB / 318.1 MB Notification: Performance of Transformations before backend: time 4.558e-06/0.2679, allocations: 0 / 403.4 MB, free: 6.387 MB / 318.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.0004081/0.2683, allocations: 356.8 kB / 403.7 MB, free: 5.992 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.919e-05/0.2684, allocations: 12.03 kB / 403.7 MB, free: 5.98 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.316e-05/0.2684, allocations: 4.844 kB / 403.7 MB, free: 5.977 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001276/0.2686, allocations: 164.3 kB / 403.9 MB, free: 5.777 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.095e-05/0.2686, allocations: 8.375 kB / 403.9 MB, free: 5.77 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.811e-05/0.2686, allocations: 4.375 kB / 403.9 MB, free: 5.766 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.847e-05/0.2687, allocations: 38 kB / 403.9 MB, free: 5.723 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.768e-06/0.2687, allocations: 0 / 403.9 MB, free: 5.723 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.105e-06/0.2687, allocations: 0 / 403.9 MB, free: 5.723 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.981e-06/0.2687, allocations: 0 / 403.9 MB, free: 5.723 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.413e-05/0.2688, allocations: 19.92 kB / 404 MB, free: 5.703 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001557/0.2689, allocations: 149.7 kB / 404.1 MB, free: 5.508 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.451e-05/0.269, allocations: 38.61 kB / 404.1 MB, free: 5.461 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.355e-05/0.269, allocations: 12.84 kB / 404.2 MB, free: 5.445 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.963e-06/0.269, allocations: 0 / 404.2 MB, free: 5.445 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.479e-05/0.2691, allocations: 34.5 kB / 404.2 MB, free: 5.402 MB / 318.1 MB Notification: Performance of pre-optimization done (n=3): time 2.435e-06/0.2691, allocations: 0 / 404.2 MB, free: 5.402 MB / 318.1 MB Notification: Performance of matching and sorting (n=3): time 0.0001393/0.2692, allocations: 53.62 kB / 404.2 MB, free: 5.344 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.757e-05/0.2693, allocations: 55.39 kB / 404.3 MB, free: 5.277 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.846e-05/0.2694, allocations: 105.9 kB / 404.4 MB, free: 5.164 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.055e-05/0.2694, allocations: 25.7 kB / 404.4 MB, free: 5.133 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.305e-05/0.2694, allocations: 84.14 kB / 404.5 MB, free: 5.047 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.914e-05/0.2695, allocations: 11.89 kB / 404.5 MB, free: 5.035 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.545e-05/0.2695, allocations: 17.72 kB / 404.5 MB, free: 5.012 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001033/0.2696, allocations: 314.8 kB / 404.8 MB, free: 4.695 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.01e-05/0.2696, allocations: 11.94 kB / 404.9 MB, free: 4.684 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.798e-05/0.2697, allocations: 21.7 kB / 404.9 MB, free: 4.656 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.443e-05/0.2697, allocations: 33.66 kB / 404.9 MB, free: 4.617 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.2697, allocations: 0 / 404.9 MB, free: 4.617 MB / 318.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 9.025e-05/0.2698, allocations: 61.53 kB / 405 MB, free: 4.551 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.307e-05/0.2699, allocations: 7.938 kB / 405 MB, free: 4.543 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.881e-06/0.2699, allocations: 4 kB / 405 MB, free: 4.539 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.162e-05/0.2699, allocations: 0 / 405 MB, free: 4.539 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.312e-05/0.27, allocations: 8 kB / 405 MB, free: 4.531 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.408e-06/0.27, allocations: 0 / 405 MB, free: 4.531 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.243e-05/0.27, allocations: 8.016 kB / 405 MB, free: 4.523 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.837e-06/0.27, allocations: 0 / 405 MB, free: 4.523 MB / 318.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.918e-05/0.2701, allocations: 109.8 kB / 405.1 MB, free: 4.406 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.234e-05/0.2701, allocations: 3.938 kB / 405.1 MB, free: 4.402 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.587e-05/0.2701, allocations: 7.5 kB / 405.1 MB, free: 4.391 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.204e-06/0.2701, allocations: 4 kB / 405.1 MB, free: 4.387 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.516e-06/0.2701, allocations: 0 / 405.1 MB, free: 4.387 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.295e-06/0.2701, allocations: 0 / 405.1 MB, free: 4.387 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001012/0.2703, allocations: 157.8 kB / 405.3 MB, free: 4.184 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.615e-06/0.2703, allocations: 8 kB / 405.3 MB, free: 4.176 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.107e-05/0.2703, allocations: 8 kB / 405.3 MB, free: 4.168 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.909e-06/0.2703, allocations: 3.938 kB / 405.3 MB, free: 4.164 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.037e-05/0.2704, allocations: 7.922 kB / 405.3 MB, free: 4.156 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.343e-06/0.2704, allocations: 0 / 405.3 MB, free: 4.156 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.442e-06/0.2704, allocations: 0 / 405.3 MB, free: 4.156 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001168/0.2705, allocations: 77.03 kB / 405.4 MB, free: 4.062 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.557e-05/0.2705, allocations: 89.48 kB / 405.5 MB, free: 3.957 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.268e-05/0.2706, allocations: 0 / 405.5 MB, free: 3.957 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.79e-05/0.2706, allocations: 4.062 kB / 405.5 MB, free: 3.953 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.323e-05/0.2706, allocations: 3.984 kB / 405.5 MB, free: 3.949 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.178e-06/0.2706, allocations: 4 kB / 405.5 MB, free: 3.945 MB / 318.1 MB Notification: Performance of sorting global known variables: time 4.354e-05/0.2707, allocations: 87.27 kB / 405.6 MB, free: 3.859 MB / 318.1 MB Notification: Performance of sort global known variables: time 2.01e-07/0.2707, allocations: 0 / 405.6 MB, free: 3.859 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002524/0.2709, allocations: 51.98 kB / 405.6 MB, free: 3.809 MB / 318.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002409/0.2712, allocations: 147.1 kB / 405.8 MB, free: 3.652 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 8.195e-05/0.2713, allocations: 27.92 kB / 405.8 MB, free: 3.625 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 1.684e-06/0.2713, allocations: 0 / 405.8 MB, free: 3.625 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 1.394e-05/0.2713, allocations: 8 kB / 405.8 MB, free: 3.617 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001395/0.2714, allocations: 4 kB / 405.8 MB, free: 3.613 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002422/0.2717, allocations: 126.4 kB / 405.9 MB, free: 3.465 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002141/0.2719, allocations: 0.6882 MB / 406.6 MB, free: 2.75 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 7.811e-05/0.272, allocations: 7.984 kB / 406.6 MB, free: 2.742 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.894e-05/0.272, allocations: 11.5 kB / 406.6 MB, free: 2.73 MB / 318.1 MB Notification: Performance of SimCode: time 2.4e-07/0.272, allocations: 0 / 406.6 MB, free: 2.73 MB / 318.1 MB Notification: Performance of Templates: time 0.003273/0.2753, allocations: 1.066 MB / 407.7 MB, free: 1.664 MB / 318.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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Math.Nonlinear.Examples.QuadratureLobatto3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches