Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3_2_3_Modelica_Math_Nonlinear_Examples_quadratureLobatto3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Math.Nonlinear.Examples.quadratureLobatto3,fileNamePrefix="Modelica_3_2_3_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.001271/0.001271, allocations: 114.5 kB / 17.73 MB, free: 5.312 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.001333/0.001333, allocations: 187 kB / 18.66 MB, free: 4.387 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.428/1.428, allocations: 205.1 MB / 224.6 MB, free: 12.21 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002438/0.002438, allocations: 48.36 kB / 328 MB, free: 3.805 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0982/0.1007, allocations: 46.63 MB / 374.7 MB, free: 5.062 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Math.Nonlinear.Examples.quadratureLobatto3): time 0.001635/0.1023, allocations: 0.5265 MB / 375.2 MB, free: 4.539 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002023/0.1044, allocations: 1.524 MB / 376.7 MB, free: 2.996 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.576e-05/0.1044, allocations: 0 / 376.7 MB, free: 2.996 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 1.649e-05/0.1044, allocations: 0 / 376.7 MB, free: 2.996 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005821/0.105, allocations: 171.5 kB / 376.9 MB, free: 2.828 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 1.981e-05/0.1051, allocations: 4 kB / 376.9 MB, free: 2.824 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 5.069e-05/0.1051, allocations: 15.88 kB / 376.9 MB, free: 2.809 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.176e-05/0.1052, allocations: 11.97 kB / 376.9 MB, free: 2.797 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.379e-05/0.1052, allocations: 4 kB / 376.9 MB, free: 2.793 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.616e-05/0.1053, allocations: 7.938 kB / 376.9 MB, free: 2.785 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.158e-05/0.1053, allocations: 0 / 376.9 MB, free: 2.785 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003887/0.1057, allocations: 243.7 kB / 377.2 MB, free: 2.547 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 1.418e-05/0.1057, allocations: 8 kB / 377.2 MB, free: 2.539 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 1.992e-05/0.1057, allocations: 3.938 kB / 377.2 MB, free: 2.535 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002665/0.106, allocations: 167.6 kB / 377.3 MB, free: 2.371 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.386e-06/0.106, allocations: 8 kB / 377.3 MB, free: 2.363 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.252e-06/0.106, allocations: 0 / 377.3 MB, free: 2.363 MB / 318.1 MB Notification: Performance of Transformations before backend: time 9.107e-06/0.106, allocations: 0 / 377.3 MB, free: 2.363 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.0004516/0.1065, allocations: 367 kB / 377.7 MB, free: 1.957 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.477e-05/0.1065, allocations: 8.031 kB / 377.7 MB, free: 1.949 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.828e-05/0.1066, allocations: 34.69 kB / 377.7 MB, free: 1.906 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.317e-05/0.1066, allocations: 4.938 kB / 377.7 MB, free: 1.902 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001484/0.1068, allocations: 164.4 kB / 377.9 MB, free: 1.703 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.006e-05/0.1068, allocations: 4.375 kB / 377.9 MB, free: 1.699 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.662e-05/0.1068, allocations: 12.27 kB / 377.9 MB, free: 1.688 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.236e-05/0.1069, allocations: 41.81 kB / 378 MB, free: 1.641 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.123e-05/0.1069, allocations: 0 / 378 MB, free: 1.641 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.808e-06/0.1069, allocations: 3.984 kB / 378 MB, free: 1.637 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.639e-06/0.107, allocations: 0 / 378 MB, free: 1.637 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.901e-05/0.107, allocations: 15.98 kB / 378 MB, free: 1.621 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001754/0.1072, allocations: 153.7 kB / 378.1 MB, free: 1.422 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.947e-05/0.1073, allocations: 34.52 kB / 378.2 MB, free: 1.379 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.456e-05/0.1073, allocations: 16.86 kB / 378.2 MB, free: 1.359 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.048e-05/0.1073, allocations: 96 / 378.2 MB, free: 1.359 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.368e-05/0.1074, allocations: 38.48 kB / 378.2 MB, free: 1.312 MB / 318.1 MB Notification: Performance of pre-optimization done (n=3): time 8.12e-07/0.1074, allocations: 0 / 378.2 MB, free: 1.312 MB / 318.1 MB Notification: Performance of matching and sorting (n=3): time 0.0001469/0.1075, allocations: 49.62 kB / 378.3 MB, free: 1.258 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.045e-05/0.1076, allocations: 51.41 kB / 378.3 MB, free: 1.195 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001004/0.1077, allocations: 101.9 kB / 378.4 MB, free: 1.086 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.541e-05/0.1077, allocations: 29.7 kB / 378.4 MB, free: 1.051 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.991e-05/0.1077, allocations: 80.14 kB / 378.5 MB, free: 0.9688 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.578e-05/0.1078, allocations: 23.83 kB / 378.5 MB, free: 0.9453 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.056e-05/0.1078, allocations: 13.72 kB / 378.6 MB, free: 0.9258 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001389/0.108, allocations: 318.8 kB / 378.9 MB, free: 0.6055 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.568e-05/0.108, allocations: 11.98 kB / 378.9 MB, free: 0.5938 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.695e-05/0.108, allocations: 14.56 kB / 378.9 MB, free: 0.5742 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.438e-05/0.1081, allocations: 37.66 kB / 378.9 MB, free: 0.5312 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.1081, allocations: 0 / 378.9 MB, free: 0.5312 MB / 318.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 8.861e-05/0.1082, allocations: 53.62 kB / 379 MB, free: 484 kB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.242e-05/0.1082, allocations: 4 kB / 379 MB, free: 480 kB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.396e-06/0.1082, allocations: 4 kB / 379 MB, free: 476 kB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.261e-05/0.1082, allocations: 3.938 kB / 379 MB, free: 472 kB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.689e-05/0.1083, allocations: 15.92 kB / 379 MB, free: 456 kB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.709e-06/0.1084, allocations: 0 / 379 MB, free: 456 kB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.223e-05/0.1084, allocations: 4 kB / 379 MB, free: 452 kB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.398e-06/0.1084, allocations: 4.031 kB / 379 MB, free: 448 kB / 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 7.887e-05/0.1085, allocations: 113.8 kB / 379.1 MB, free: 324 kB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.294e-05/0.1085, allocations: 7.891 kB / 379.1 MB, free: 316 kB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.521e-05/0.1085, allocations: 7.5 kB / 379.1 MB, free: 308 kB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.453e-06/0.1085, allocations: 4 kB / 379.2 MB, free: 304 kB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.767e-06/0.1085, allocations: 0 / 379.2 MB, free: 304 kB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.056e-06/0.1085, allocations: 432 / 379.2 MB, free: 304 kB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001297/0.1087, allocations: 153.7 kB / 379.3 MB, free: 100 kB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.81e-07/0.1087, allocations: 0 / 379.3 MB, free: 100 kB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.3e-05/0.1088, allocations: 19.92 kB / 379.3 MB, free: 80 kB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.583e-06/0.1088, allocations: 0 / 379.3 MB, free: 80 kB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.993e-06/0.1088, allocations: 3.938 kB / 379.3 MB, free: 76 kB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.1088, allocations: 0 / 379.3 MB, free: 76 kB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.1088, allocations: 0 / 379.3 MB, free: 76 kB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1632/0.272, allocations: 76.86 kB / 379.4 MB, free: 12.83 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.482e-05/0.272, allocations: 84.81 kB / 379.5 MB, free: 12.74 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.756e-05/0.272, allocations: 3.156 kB / 379.5 MB, free: 12.74 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.214e-05/0.2721, allocations: 2.25 kB / 379.5 MB, free: 12.74 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.184e-05/0.2721, allocations: 1.656 kB / 379.5 MB, free: 12.74 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.53e-06/0.2721, allocations: 3.688 kB / 379.5 MB, free: 12.74 MB / 318.1 MB Notification: Performance of sorting global known variables: time 3.257e-05/0.2721, allocations: 82.92 kB / 379.6 MB, free: 12.66 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2722, allocations: 0 / 379.6 MB, free: 12.66 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0003041/0.2725, allocations: 54.34 kB / 379.6 MB, free: 12.66 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.0003877/0.2729, allocations: 0.6629 MB / 380.3 MB, free: 12.07 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 8.886e-05/0.273, allocations: 21.48 kB / 380.3 MB, free: 12.07 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.273, allocations: 0 / 380.3 MB, free: 12.07 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 1.463e-05/0.273, allocations: 6.766 kB / 380.3 MB, free: 12.07 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001386/0.2731, allocations: 4.125 kB / 380.3 MB, free: 12.07 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006812/0.2738, allocations: 1.186 MB / 381.5 MB, free: 10.98 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.643e-05/0.2739, allocations: 0.6793 MB / 382.2 MB, free: 10.29 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0001019/0.274, allocations: 4.188 kB / 382.2 MB, free: 10.29 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.404e-05/0.2741, allocations: 9.688 kB / 382.2 MB, free: 10.28 MB / 318.1 MB Notification: Performance of SimCode: time 7.21e-07/0.2741, allocations: 0 / 382.2 MB, free: 10.28 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02432/0.2984, allocations: 2 MB / 384.2 MB, free: 9.801 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.089/8.387, allocations: 9.297 kB / 384.2 MB, free: 9.793 MB / 318.1 MB (rm -f Modelica_3.2.3_Modelica.Math.Nonlinear.Examples.quadratureLobatto3.pipe ; mkfifo Modelica_3.2.3_Modelica.Math.Nonlinear.Examples.quadratureLobatto3.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Math.Nonlinear.Examples.quadratureLobatto3.pipe >> ../files/Modelica_3.2.3_Modelica.Math.Nonlinear.Examples.quadratureLobatto3.sim & python3 -m fmpy simulate --output-file Modelica_3.2.3_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_3_2_3_Modelica_Math_Nonlinear_Examples_quadratureLobatto3.fmu > Modelica_3.2.3_Modelica.Math.Nonlinear.Examples.quadratureLobatto3.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Math.Nonlinear.Examples.quadratureLobatto3_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Math/Nonlinear/Examples/quadratureLobatto3/quadratureLobatto3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Math.Nonlinear.Examples.quadratureLobatto3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches