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: "" <> buildModelFMU(Modelica.Math.Nonlinear.Examples.QuadratureLobatto3,fileNamePrefix="Modelica_4_0_0_Modelica_Math_Nonlinear_Examples_QuadratureLobatto3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Math.Nonlinear.Examples.QuadratureLobatto3,fileNamePrefix="Modelica_4_0_0_Modelica_Math_Nonlinear_Examples_QuadratureLobatto3",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001733/0.001733, allocations: 108.8 kB / 17.06 MB, free: 6.016 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.00182/0.00182, allocations: 189.4 kB / 18 MB, free: 5.102 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.432/1.432, allocations: 222.9 MB / 241.7 MB, free: 15.16 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001438/0.001438, allocations: 51.91 kB / 350.8 MB, free: 3.762 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2575/0.2589, allocations: 49.44 MB / 400.2 MB, free: 8.422 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Math.Nonlinear.Examples.QuadratureLobatto3): time 0.00181/0.2608, allocations: 0.5109 MB / 400.7 MB, free: 8.039 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002059/0.2628, allocations: 1.485 MB / 402.2 MB, free: 6.801 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.963e-05/0.2629, allocations: 0 / 402.2 MB, free: 6.801 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 2.015e-05/0.2629, allocations: 0 / 402.2 MB, free: 6.801 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006242/0.2636, allocations: 185 kB / 402.4 MB, free: 6.625 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 2.235e-05/0.2636, allocations: 3.938 kB / 402.4 MB, free: 6.621 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 6.623e-05/0.2637, allocations: 15.98 kB / 402.4 MB, free: 6.605 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.621e-05/0.2637, allocations: 4 kB / 402.4 MB, free: 6.602 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.189e-05/0.2638, allocations: 7.938 kB / 402.4 MB, free: 6.594 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.208e-05/0.2638, allocations: 15.92 kB / 402.5 MB, free: 6.578 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.21e-05/0.2638, allocations: 0 / 402.5 MB, free: 6.578 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004054/0.2643, allocations: 235.7 kB / 402.7 MB, free: 6.348 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 1.132e-05/0.2643, allocations: 3.938 kB / 402.7 MB, free: 6.344 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 2.996e-05/0.2643, allocations: 15.94 kB / 402.7 MB, free: 6.328 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002912/0.2646, allocations: 166.6 kB / 402.9 MB, free: 6.168 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.2646, allocations: 0 / 402.9 MB, free: 6.168 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.552e-06/0.2646, allocations: 0 / 402.9 MB, free: 6.168 MB / 318.1 MB Notification: Performance of Transformations before backend: time 9.487e-06/0.2646, allocations: 0 / 402.9 MB, free: 6.168 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.0005037/0.2652, allocations: 371 kB / 403.2 MB, free: 5.758 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.205e-05/0.2652, allocations: 8.031 kB / 403.2 MB, free: 5.75 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.81e-05/0.2652, allocations: 30.75 kB / 403.3 MB, free: 5.711 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.646e-05/0.2653, allocations: 0.9375 kB / 403.3 MB, free: 5.711 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001802/0.2655, allocations: 176.3 kB / 403.4 MB, free: 5.5 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.315e-05/0.2655, allocations: 4.375 kB / 403.4 MB, free: 5.496 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.69e-05/0.2655, allocations: 8.359 kB / 403.5 MB, free: 5.488 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.62e-05/0.2656, allocations: 41.75 kB / 403.5 MB, free: 5.441 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.392e-05/0.2656, allocations: 4 kB / 403.5 MB, free: 5.438 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.347e-06/0.2657, allocations: 4 kB / 403.5 MB, free: 5.434 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.556e-06/0.2657, allocations: 0 / 403.5 MB, free: 5.434 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.502e-05/0.2657, allocations: 7.984 kB / 403.5 MB, free: 5.426 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002093/0.2659, allocations: 157.7 kB / 403.7 MB, free: 5.223 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.249e-05/0.266, allocations: 30.58 kB / 403.7 MB, free: 5.184 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.569e-05/0.2661, allocations: 8.953 kB / 403.7 MB, free: 5.172 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.742e-05/0.2661, allocations: 7.984 kB / 403.7 MB, free: 5.164 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.728e-05/0.2661, allocations: 42.44 kB / 403.8 MB, free: 5.113 MB / 318.1 MB Notification: Performance of pre-optimization done (n=3): time 1.032e-06/0.2661, allocations: 0 / 403.8 MB, free: 5.113 MB / 318.1 MB Notification: Performance of matching and sorting (n=3): time 0.0001491/0.2663, allocations: 45.69 kB / 403.8 MB, free: 5.062 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.367e-05/0.2663, allocations: 51.41 kB / 403.9 MB, free: 5 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.513e-05/0.2664, allocations: 105.8 kB / 404 MB, free: 4.887 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.944e-05/0.2665, allocations: 29.7 kB / 404 MB, free: 4.852 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.512e-05/0.2665, allocations: 84.12 kB / 404.1 MB, free: 4.766 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.811e-05/0.2665, allocations: 11.91 kB / 404.1 MB, free: 4.754 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.114e-05/0.2666, allocations: 13.72 kB / 404.1 MB, free: 4.734 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001603/0.2667, allocations: 314.8 kB / 404.4 MB, free: 4.418 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.063e-05/0.2668, allocations: 7.984 kB / 404.4 MB, free: 4.41 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.451e-05/0.2668, allocations: 29.66 kB / 404.4 MB, free: 4.375 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.676e-05/0.2669, allocations: 21.72 kB / 404.5 MB, free: 4.348 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.774e-06/0.2669, allocations: 0 / 404.5 MB, free: 4.348 MB / 318.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 9.514e-05/0.267, allocations: 69.52 kB / 404.5 MB, free: 4.273 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.273e-05/0.267, allocations: 4 kB / 404.5 MB, free: 4.27 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.598e-06/0.267, allocations: 0 / 404.5 MB, free: 4.27 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.191e-05/0.267, allocations: 432 / 404.5 MB, free: 4.27 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.367e-05/0.2671, allocations: 11.98 kB / 404.5 MB, free: 4.258 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.871e-06/0.2671, allocations: 0 / 404.5 MB, free: 4.258 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.137e-05/0.2671, allocations: 8.031 kB / 404.5 MB, free: 4.25 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.057e-06/0.2672, allocations: 0 / 404.5 MB, free: 4.25 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 9.204e-05/0.2672, allocations: 109.8 kB / 404.7 MB, free: 4.133 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.229e-05/0.2673, allocations: 7.938 kB / 404.7 MB, free: 4.125 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.681e-05/0.2673, allocations: 7.484 kB / 404.7 MB, free: 4.113 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.663e-06/0.2673, allocations: 0 / 404.7 MB, free: 4.113 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.739e-06/0.2673, allocations: 3.938 kB / 404.7 MB, free: 4.109 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.845e-06/0.2673, allocations: 0 / 404.7 MB, free: 4.109 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001474/0.2675, allocations: 161.7 kB / 404.8 MB, free: 3.902 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.91e-07/0.2675, allocations: 4 kB / 404.8 MB, free: 3.898 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.594e-05/0.2676, allocations: 15.86 kB / 404.9 MB, free: 3.883 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.423e-06/0.2676, allocations: 0 / 404.9 MB, free: 3.883 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.127e-06/0.2676, allocations: 4 kB / 404.9 MB, free: 3.879 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.2676, allocations: 0 / 404.9 MB, free: 3.879 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.92e-07/0.2676, allocations: 0 / 404.9 MB, free: 3.879 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001267/0.2677, allocations: 77.2 kB / 404.9 MB, free: 3.785 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.184e-05/0.2678, allocations: 85.05 kB / 405 MB, free: 3.684 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.51e-05/0.2678, allocations: 8.047 kB / 405 MB, free: 3.676 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.857e-05/0.2678, allocations: 4.031 kB / 405 MB, free: 3.672 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.261e-05/0.2679, allocations: 0 / 405 MB, free: 3.672 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.274e-06/0.2679, allocations: 3.938 kB / 405 MB, free: 3.668 MB / 318.1 MB Notification: Performance of sorting global known variables: time 5.198e-05/0.2679, allocations: 83.28 kB / 405.1 MB, free: 3.586 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.2679, allocations: 0 / 405.1 MB, free: 3.586 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002573/0.2682, allocations: 55.8 kB / 405.2 MB, free: 3.531 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.0006953/0.2689, allocations: 0.6747 MB / 405.8 MB, free: 2.824 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0001047/0.269, allocations: 19.94 kB / 405.9 MB, free: 2.805 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.269, allocations: 0 / 405.9 MB, free: 2.805 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 1.519e-05/0.269, allocations: 7.984 kB / 405.9 MB, free: 2.797 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001505/0.2692, allocations: 4 kB / 405.9 MB, free: 2.793 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001236/0.2704, allocations: 1.179 MB / 407 MB, free: 1.527 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003557/0.2708, allocations: 0.6844 MB / 407.7 MB, free: 0.8164 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0001036/0.2709, allocations: 8.078 kB / 407.7 MB, free: 0.8086 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.01e-05/0.271, allocations: 11.38 kB / 407.8 MB, free: 0.7969 MB / 318.1 MB Notification: Performance of SimCode: time 2.184e-06/0.271, allocations: 0 / 407.8 MB, free: 0.7969 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02539/0.2964, allocations: 2 MB / 409.8 MB, free: 14.88 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.94/8.236, allocations: 15.19 kB / 409.8 MB, free: 14.87 MB / 334.1 MB (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 & python3 -m fmpy simulate --output-file Modelica_4.0.0_Modelica.Math.Nonlinear.Examples.QuadratureLobatto3_res.csv --start-time 0 --stop-time 5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.002 Modelica_4_0_0_Modelica_Math_Nonlinear_Examples_QuadratureLobatto3.fmu > Modelica_4.0.0_Modelica.Math.Nonlinear.Examples.QuadratureLobatto3.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Math.Nonlinear.Examples.QuadratureLobatto3_res.csv","/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