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.001096/0.001096, allocations: 114.8 kB / 17.75 MB, free: 5.355 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.00107/0.00107, allocations: 184.5 kB / 18.67 MB, free: 4.441 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.408/1.408, allocations: 222.9 MB / 242.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001095/0.001095, allocations: 48.02 kB / 352 MB, free: 3.258 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.26/0.2611, allocations: 49.44 MB / 401.4 MB, free: 8.75 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Math.Nonlinear.Examples.QuadratureLobatto3): time 0.001592/0.2628, allocations: 0.5225 MB / 401.9 MB, free: 8.355 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001721/0.2645, allocations: 1.481 MB / 403.4 MB, free: 6.867 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.607e-05/0.2645, allocations: 0 / 403.4 MB, free: 6.867 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 1.226e-05/0.2646, allocations: 0 / 403.4 MB, free: 6.867 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005813/0.2652, allocations: 175.4 kB / 403.6 MB, free: 6.695 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 2.19e-05/0.2652, allocations: 3.938 kB / 403.6 MB, free: 6.691 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 5.188e-05/0.2653, allocations: 15.98 kB / 403.6 MB, free: 6.676 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.871e-05/0.2653, allocations: 0 / 403.6 MB, free: 6.676 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.119e-05/0.2653, allocations: 4 kB / 403.6 MB, free: 6.672 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.641e-05/0.2654, allocations: 23.84 kB / 403.6 MB, free: 6.648 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.111e-05/0.2654, allocations: 4 kB / 403.6 MB, free: 6.645 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003421/0.2658, allocations: 235.8 kB / 403.9 MB, free: 6.414 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 1.203e-05/0.2658, allocations: 0 / 403.9 MB, free: 6.414 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 2.92e-05/0.2658, allocations: 19.86 kB / 403.9 MB, free: 6.395 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002476/0.2661, allocations: 163.7 kB / 404 MB, free: 6.234 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.2661, allocations: 0 / 404 MB, free: 6.234 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.383e-06/0.2661, allocations: 0 / 404 MB, free: 6.234 MB / 318.1 MB Notification: Performance of Transformations before backend: time 4.489e-06/0.2661, allocations: 0 / 404 MB, free: 6.234 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.0004226/0.2665, allocations: 360.8 kB / 404.4 MB, free: 5.836 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.229e-05/0.2666, allocations: 12.03 kB / 404.4 MB, free: 5.824 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.087e-05/0.2666, allocations: 8.781 kB / 404.4 MB, free: 5.816 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001298/0.2668, allocations: 176.2 kB / 404.6 MB, free: 5.609 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.169e-05/0.2668, allocations: 4.359 kB / 404.6 MB, free: 5.605 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.007e-05/0.2668, allocations: 4.375 kB / 404.6 MB, free: 5.602 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.424e-05/0.2669, allocations: 34.02 kB / 404.6 MB, free: 5.562 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.586e-06/0.2669, allocations: 0 / 404.6 MB, free: 5.562 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.172e-05/0.2669, allocations: 4 kB / 404.6 MB, free: 5.559 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.629e-06/0.2669, allocations: 0 / 404.6 MB, free: 5.559 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.957e-05/0.267, allocations: 15.92 kB / 404.6 MB, free: 5.543 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001626/0.2671, allocations: 157.7 kB / 404.8 MB, free: 5.34 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.958e-05/0.2672, allocations: 30.58 kB / 404.8 MB, free: 5.301 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.242e-05/0.2672, allocations: 12.94 kB / 404.8 MB, free: 5.285 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.138e-06/0.2672, allocations: 0 / 404.8 MB, free: 5.285 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.354e-05/0.2673, allocations: 38.5 kB / 404.9 MB, free: 5.238 MB / 318.1 MB Notification: Performance of pre-optimization done (n=3): time 1.012e-06/0.2673, allocations: 4 kB / 404.9 MB, free: 5.234 MB / 318.1 MB Notification: Performance of matching and sorting (n=3): time 0.000139/0.2674, allocations: 57.53 kB / 404.9 MB, free: 5.172 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.396e-05/0.2675, allocations: 51.41 kB / 405 MB, free: 5.109 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.009e-05/0.2675, allocations: 101.8 kB / 405.1 MB, free: 5 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.418e-05/0.2676, allocations: 25.7 kB / 405.1 MB, free: 4.969 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.472e-05/0.2676, allocations: 88.08 kB / 405.2 MB, free: 4.879 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.344e-05/0.2676, allocations: 3.906 kB / 405.2 MB, free: 4.875 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.952e-05/0.2677, allocations: 17.72 kB / 405.2 MB, free: 4.852 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 9.32e-05/0.2678, allocations: 318.8 kB / 405.5 MB, free: 4.531 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.572e-05/0.2678, allocations: 8 kB / 405.5 MB, free: 4.523 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.428e-05/0.2678, allocations: 21.72 kB / 405.6 MB, free: 4.496 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.676e-05/0.2679, allocations: 25.66 kB / 405.6 MB, free: 4.465 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.557e-06/0.2679, allocations: 3.984 kB / 405.6 MB, free: 4.461 MB / 318.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 8.547e-05/0.268, allocations: 61.55 kB / 405.7 MB, free: 4.395 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.39e-05/0.268, allocations: 7.938 kB / 405.7 MB, free: 4.387 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.52e-06/0.268, allocations: 3.984 kB / 405.7 MB, free: 4.383 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.099e-05/0.268, allocations: 4.453 kB / 405.7 MB, free: 4.379 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.226e-05/0.2681, allocations: 8 kB / 405.7 MB, free: 4.371 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.809e-06/0.2681, allocations: 0 / 405.7 MB, free: 4.371 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.154e-05/0.2681, allocations: 4 kB / 405.7 MB, free: 4.367 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.497e-06/0.2681, allocations: 0 / 405.7 MB, free: 4.367 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.626e-05/0.2682, allocations: 109.8 kB / 405.8 MB, free: 4.25 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.223e-05/0.2682, allocations: 7.938 kB / 405.8 MB, free: 4.242 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.809e-05/0.2683, allocations: 7.484 kB / 405.8 MB, free: 4.23 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.543e-06/0.2683, allocations: 0 / 405.8 MB, free: 4.23 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.889e-06/0.2683, allocations: 7.984 kB / 405.8 MB, free: 4.223 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.314e-06/0.2683, allocations: 0 / 405.8 MB, free: 4.223 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.862e-05/0.2684, allocations: 165.6 kB / 406 MB, free: 4.012 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.2684, allocations: 3.938 kB / 406 MB, free: 4.008 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.578e-05/0.2685, allocations: 4 kB / 406 MB, free: 4.004 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.286e-06/0.2685, allocations: 3.938 kB / 406 MB, free: 4 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.752e-06/0.2685, allocations: 0 / 406 MB, free: 4 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.274e-06/0.2685, allocations: 7.938 kB / 406 MB, free: 3.992 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.011e-06/0.2685, allocations: 0 / 406 MB, free: 3.992 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000107/0.2686, allocations: 81.03 kB / 406.1 MB, free: 3.895 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.121e-05/0.2686, allocations: 85.16 kB / 406.2 MB, free: 3.793 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.389e-05/0.2687, allocations: 4 kB / 406.2 MB, free: 3.789 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.714e-05/0.2687, allocations: 0 / 406.2 MB, free: 3.789 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.158e-05/0.2687, allocations: 4.031 kB / 406.2 MB, free: 3.785 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.385e-06/0.2687, allocations: 0 / 406.2 MB, free: 3.785 MB / 318.1 MB Notification: Performance of sorting global known variables: time 4.166e-05/0.2688, allocations: 83.28 kB / 406.2 MB, free: 3.703 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.2688, allocations: 3.938 kB / 406.2 MB, free: 3.699 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002495/0.269, allocations: 51.98 kB / 406.3 MB, free: 3.648 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.000234/0.2693, allocations: 151.2 kB / 406.4 MB, free: 3.488 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 8.279e-05/0.2694, allocations: 23.92 kB / 406.5 MB, free: 3.465 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.296e-06/0.2694, allocations: 4 kB / 406.5 MB, free: 3.461 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 1.186e-05/0.2694, allocations: 4 kB / 406.5 MB, free: 3.457 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000144/0.2695, allocations: 3.984 kB / 406.5 MB, free: 3.453 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002621/0.2698, allocations: 152.1 kB / 406.6 MB, free: 3.273 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002283/0.27, allocations: 0.6845 MB / 407.3 MB, free: 2.562 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.871e-05/0.2701, allocations: 15.38 kB / 407.3 MB, free: 2.547 MB / 318.1 MB Notification: Performance of SimCode: time 2.4e-07/0.2701, allocations: 0 / 407.3 MB, free: 2.547 MB / 318.1 MB Notification: Performance of Templates: time 0.002473/0.2725, allocations: 1.156 MB / 408.5 MB, free: 1.387 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Math/Nonlinear/Examples/QuadratureLobatto3/QuadratureLobatto3.csv","/var/lib/jenkins1/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