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.001293/0.001293, allocations: 110.4 kB / 16.92 MB, free: 6.332 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.001312/0.001312, allocations: 191.4 kB / 17.85 MB, free: 5.414 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.308/1.308, allocations: 222.9 MB / 241.5 MB, free: 15.3 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009425/0.0009425, allocations: 43.12 kB / 300.7 MB, free: 5.797 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09479/0.09575, allocations: 49.43 MB / 350.2 MB, free: 4.355 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Math.Nonlinear.Examples.QuadratureLobatto3): time 0.002017/0.09781, allocations: 0.5183 MB / 350.7 MB, free: 3.832 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.00187/0.0997, allocations: 1.483 MB / 352.2 MB, free: 2.332 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.56e-05/0.09974, allocations: 0 / 352.2 MB, free: 2.332 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 1.137e-05/0.09977, allocations: 0 / 352.2 MB, free: 2.332 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005479/0.1003, allocations: 180.5 kB / 352.3 MB, free: 2.156 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 2.22e-05/0.1004, allocations: 11.92 kB / 352.3 MB, free: 2.145 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 4.242e-05/0.1004, allocations: 12 kB / 352.4 MB, free: 2.133 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.881e-05/0.1005, allocations: 3.984 kB / 352.4 MB, free: 2.129 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.681e-05/0.1005, allocations: 7.938 kB / 352.4 MB, free: 2.121 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.872e-05/0.1006, allocations: 7.938 kB / 352.4 MB, free: 2.113 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.117e-05/0.1006, allocations: 4 kB / 352.4 MB, free: 2.109 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003438/0.1009, allocations: 239.7 kB / 352.6 MB, free: 1.875 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 1.207e-05/0.1009, allocations: 3.938 kB / 352.6 MB, free: 1.871 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 2.521e-05/0.101, allocations: 11.92 kB / 352.6 MB, free: 1.859 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002552/0.1012, allocations: 171.7 kB / 352.8 MB, free: 1.691 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.1012, allocations: 0 / 352.8 MB, free: 1.691 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.403e-06/0.1012, allocations: 0 / 352.8 MB, free: 1.691 MB / 286.1 MB Notification: Performance of Transformations before backend: time 4.138e-06/0.1013, allocations: 4 kB / 352.8 MB, free: 1.688 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.0004128/0.1017, allocations: 359.7 kB / 353.1 MB, free: 1.289 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.714e-05/0.1017, allocations: 12.03 kB / 353.2 MB, free: 1.277 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.943e-05/0.1018, allocations: 34.73 kB / 353.2 MB, free: 1.234 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.586e-05/0.1018, allocations: 4.938 kB / 353.2 MB, free: 1.23 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001242/0.1019, allocations: 164.3 kB / 353.4 MB, free: 1.031 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.281e-05/0.1019, allocations: 4.375 kB / 353.4 MB, free: 1.027 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.039e-05/0.102, allocations: 8.359 kB / 353.4 MB, free: 1.02 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.454e-05/0.1021, allocations: 41.75 kB / 353.4 MB, free: 0.9727 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.867e-06/0.1021, allocations: 0 / 353.4 MB, free: 0.9727 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.772e-06/0.1021, allocations: 0 / 353.4 MB, free: 0.9727 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.893e-06/0.1021, allocations: 0 / 353.4 MB, free: 0.9727 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.271e-05/0.1021, allocations: 19.98 kB / 353.4 MB, free: 0.9531 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001564/0.1023, allocations: 153.7 kB / 353.6 MB, free: 0.7539 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.788e-05/0.1024, allocations: 34.58 kB / 353.6 MB, free: 0.7109 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.032e-05/0.1024, allocations: 4.859 kB / 353.6 MB, free: 0.7031 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.047e-06/0.1024, allocations: 4 kB / 353.6 MB, free: 0.6992 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.53e-05/0.1025, allocations: 42.52 kB / 353.7 MB, free: 0.6484 MB / 286.1 MB Notification: Performance of pre-optimization done (n=3): time 1.072e-06/0.1025, allocations: 4 kB / 353.7 MB, free: 0.6445 MB / 286.1 MB Notification: Performance of matching and sorting (n=3): time 0.0001266/0.1026, allocations: 45.69 kB / 353.7 MB, free: 0.5938 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.38e-05/0.1026, allocations: 51.41 kB / 353.8 MB, free: 0.5312 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.321e-05/0.1027, allocations: 101.9 kB / 353.9 MB, free: 432 kB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.412e-05/0.1027, allocations: 25.7 kB / 353.9 MB, free: 400 kB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.555e-05/0.1028, allocations: 88.08 kB / 354 MB, free: 308 kB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.186e-05/0.1028, allocations: 15.73 kB / 354 MB, free: 292 kB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.842e-05/0.1028, allocations: 17.72 kB / 354 MB, free: 268 kB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001232/0.103, allocations: 318.8 kB / 354.3 MB, free: 15.94 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.8e-05/0.103, allocations: 8 kB / 354.3 MB, free: 15.93 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.647e-05/0.103, allocations: 21.64 kB / 354.3 MB, free: 15.91 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.349e-05/0.1031, allocations: 33.66 kB / 354.4 MB, free: 15.87 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.363e-06/0.1031, allocations: 128 / 354.4 MB, free: 15.87 MB / 302.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 9.118e-05/0.1032, allocations: 65.56 kB / 354.4 MB, free: 15.8 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.236e-05/0.1032, allocations: 4 kB / 354.4 MB, free: 15.79 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.477e-06/0.1032, allocations: 4.031 kB / 354.5 MB, free: 15.79 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.234e-05/0.1032, allocations: 4.422 kB / 354.5 MB, free: 15.79 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.028e-05/0.1033, allocations: 4 kB / 354.5 MB, free: 15.78 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.566e-06/0.1033, allocations: 7.984 kB / 354.5 MB, free: 15.77 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.965e-05/0.1033, allocations: 0 / 354.5 MB, free: 15.77 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.707e-06/0.1033, allocations: 0 / 354.5 MB, free: 15.77 MB / 302.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 6.15e-05/0.1034, allocations: 109.8 kB / 354.6 MB, free: 15.66 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.306e-05/0.1034, allocations: 7.844 kB / 354.6 MB, free: 15.65 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.602e-05/0.1035, allocations: 11.48 kB / 354.6 MB, free: 15.63 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.543e-06/0.1035, allocations: 4 kB / 354.6 MB, free: 15.62 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.417e-06/0.1035, allocations: 4 kB / 354.6 MB, free: 15.62 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.034e-06/0.1035, allocations: 0 / 354.6 MB, free: 15.62 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001039/0.1036, allocations: 153.7 kB / 354.8 MB, free: 15.42 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/0.1036, allocations: 0 / 354.8 MB, free: 15.42 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.565e-05/0.1037, allocations: 19.86 kB / 354.8 MB, free: 15.4 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.463e-06/0.1037, allocations: 0 / 354.8 MB, free: 15.4 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.362e-06/0.1037, allocations: 0 / 354.8 MB, free: 15.4 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.292e-06/0.1037, allocations: 0 / 354.8 MB, free: 15.4 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.1037, allocations: 0 / 354.8 MB, free: 15.4 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000129/0.1038, allocations: 77.12 kB / 354.8 MB, free: 15.31 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.426e-05/0.1039, allocations: 81.05 kB / 354.9 MB, free: 15.21 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.237e-05/0.1039, allocations: 4.031 kB / 354.9 MB, free: 15.21 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.726e-05/0.1039, allocations: 0 / 354.9 MB, free: 15.21 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.262e-05/0.1039, allocations: 3.984 kB / 354.9 MB, free: 15.2 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.345e-06/0.1039, allocations: 0 / 354.9 MB, free: 15.2 MB / 302.1 MB Notification: Performance of sorting global known variables: time 3.82e-05/0.104, allocations: 83.28 kB / 355 MB, free: 15.12 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.104, allocations: 3.938 kB / 355 MB, free: 15.12 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002482/0.1043, allocations: 60.05 kB / 355.1 MB, free: 15.06 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 (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.0004593/0.1047, allocations: 0.6669 MB / 355.7 MB, free: 14.36 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 7.801e-05/0.1048, allocations: 19.94 kB / 355.8 MB, free: 14.34 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.1048, allocations: 0 / 355.8 MB, free: 14.34 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 1.841e-05/0.1048, allocations: 15.98 kB / 355.8 MB, free: 14.32 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000137/0.105, allocations: 8.062 kB / 355.8 MB, free: 14.32 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009306/0.1059, allocations: 1.175 MB / 357 MB, free: 13.05 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002093/0.1061, allocations: 0.6768 MB / 357.6 MB, free: 12.35 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 8.514e-05/0.1062, allocations: 4 kB / 357.6 MB, free: 12.35 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.941e-05/0.1063, allocations: 19.42 kB / 357.7 MB, free: 12.33 MB / 302.1 MB Notification: Performance of SimCode: time 3.51e-07/0.1063, allocations: 7.938 kB / 357.7 MB, free: 12.32 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01939/0.1257, allocations: 1.969 MB / 359.6 MB, free: 10.42 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.771/7.896, allocations: 16.58 kB / 359.7 MB, free: 10.41 MB / 302.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