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.001904/0.001904, allocations: 100.4 kB / 17.58 MB, free: 5.418 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.002048/0.002048, allocations: 192 kB / 18.51 MB, free: 4.508 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.68/2.68, allocations: 205.1 MB / 224.4 MB, free: 12.32 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.00236/0.00236, allocations: 52.56 kB / 280.7 MB, free: 3.086 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1443/0.1467, allocations: 46.64 MB / 327.4 MB, free: 4.379 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Math.Nonlinear.Examples.quadratureLobatto3): time 0.002405/0.1491, allocations: 0.5291 MB / 327.9 MB, free: 3.84 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.002675/0.1518, allocations: 1.51 MB / 329.4 MB, free: 2.312 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.686e-05/0.1519, allocations: 0 / 329.4 MB, free: 2.312 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 2.312e-05/0.1519, allocations: 3.938 kB / 329.4 MB, free: 2.309 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008591/0.1528, allocations: 167.5 kB / 329.6 MB, free: 2.145 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 3.969e-05/0.1528, allocations: 11.98 kB / 329.6 MB, free: 2.133 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 6.75e-05/0.1529, allocations: 7.938 kB / 329.6 MB, free: 2.125 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.529e-05/0.153, allocations: 4 kB / 329.6 MB, free: 2.121 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.226e-05/0.1531, allocations: 15.92 kB / 329.6 MB, free: 2.105 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.862e-05/0.1532, allocations: 11.92 kB / 329.6 MB, free: 2.094 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 1.573e-05/0.1532, allocations: 4 kB / 329.6 MB, free: 2.09 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005342/0.1537, allocations: 243.7 kB / 329.9 MB, free: 1.852 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 1.858e-05/0.1538, allocations: 4 kB / 329.9 MB, free: 1.848 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 2.996e-05/0.1538, allocations: 3.938 kB / 329.9 MB, free: 1.844 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003809/0.1542, allocations: 171.8 kB / 330.1 MB, free: 1.676 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.871e-06/0.1542, allocations: 3.938 kB / 330.1 MB, free: 1.672 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.783e-06/0.1542, allocations: 0 / 330.1 MB, free: 1.672 MB / 270.1 MB Notification: Performance of Transformations before backend: time 6.432e-06/0.1542, allocations: 0 / 330.1 MB, free: 1.672 MB / 270.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.0005845/0.1548, allocations: 363.7 kB / 330.4 MB, free: 1.27 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.286e-05/0.1549, allocations: 12.03 kB / 330.4 MB, free: 1.258 MB / 270.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.947e-05/0.155, allocations: 30.75 kB / 330.5 MB, free: 1.219 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.334e-05/0.155, allocations: 0.9375 kB / 330.5 MB, free: 1.219 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002014/0.1552, allocations: 168.4 kB / 330.6 MB, free: 1.016 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.883e-05/0.1552, allocations: 384 / 330.6 MB, free: 1.016 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.389e-05/0.1553, allocations: 8.219 kB / 330.6 MB, free: 1.008 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001193/0.1554, allocations: 41.81 kB / 330.7 MB, free: 0.9609 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.478e-05/0.1554, allocations: 0 / 330.7 MB, free: 0.9609 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.338e-06/0.1554, allocations: 4 kB / 330.7 MB, free: 0.957 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.451e-06/0.1554, allocations: 4 kB / 330.7 MB, free: 0.9531 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.905e-05/0.1555, allocations: 4 kB / 330.7 MB, free: 0.9492 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002535/0.1558, allocations: 157.7 kB / 330.8 MB, free: 0.7461 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001011/0.1559, allocations: 38.55 kB / 330.9 MB, free: 0.6992 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.443e-05/0.1559, allocations: 12.86 kB / 330.9 MB, free: 0.6836 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.432e-05/0.1559, allocations: 0 / 330.9 MB, free: 0.6836 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.751e-05/0.156, allocations: 34.5 kB / 330.9 MB, free: 0.6406 MB / 270.1 MB Notification: Performance of pre-optimization done (n=3): time 1.332e-06/0.156, allocations: 4 kB / 330.9 MB, free: 0.6367 MB / 270.1 MB Notification: Performance of matching and sorting (n=3): time 0.0002087/0.1562, allocations: 45.78 kB / 331 MB, free: 0.5859 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.091e-05/0.1563, allocations: 55.41 kB / 331 MB, free: 0.5195 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001531/0.1565, allocations: 102 kB / 331.1 MB, free: 420 kB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 2.917e-05/0.1565, allocations: 29.64 kB / 331.2 MB, free: 384 kB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.493e-05/0.1566, allocations: 84.08 kB / 331.2 MB, free: 296 kB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.155e-05/0.1566, allocations: 27.72 kB / 331.3 MB, free: 268 kB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.021e-05/0.1567, allocations: 17.72 kB / 331.3 MB, free: 244 kB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001756/0.1569, allocations: 314.8 kB / 331.6 MB, free: 15.92 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.403e-05/0.1569, allocations: 4 kB / 331.6 MB, free: 15.92 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.156e-05/0.157, allocations: 21.7 kB / 331.6 MB, free: 15.89 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.518e-05/0.157, allocations: 33.89 kB / 331.6 MB, free: 15.85 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.709e-06/0.157, allocations: 0 / 331.6 MB, free: 15.85 MB / 286.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.000116/0.1572, allocations: 61.5 kB / 331.7 MB, free: 15.79 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.018e-05/0.1572, allocations: 12.03 kB / 331.7 MB, free: 15.77 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.929e-06/0.1572, allocations: 3.984 kB / 331.7 MB, free: 15.77 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.806e-05/0.1572, allocations: 0 / 331.7 MB, free: 15.77 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001099/0.1574, allocations: 8 kB / 331.7 MB, free: 15.76 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.314e-06/0.1574, allocations: 0 / 331.7 MB, free: 15.76 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.79e-05/0.1574, allocations: 0 / 331.7 MB, free: 15.76 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.065e-05/0.1574, allocations: 8 kB / 331.7 MB, free: 15.75 MB / 286.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 0.0001155/0.1576, allocations: 113.8 kB / 331.8 MB, free: 15.63 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.752e-05/0.1576, allocations: 7.938 kB / 331.9 MB, free: 15.62 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.504e-05/0.1576, allocations: 11.5 kB / 331.9 MB, free: 15.61 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.485e-06/0.1576, allocations: 0 / 331.9 MB, free: 15.61 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.691e-06/0.1577, allocations: 0 / 331.9 MB, free: 15.61 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.84e-06/0.1577, allocations: 0 / 331.9 MB, free: 15.61 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001704/0.1578, allocations: 153.6 kB / 332 MB, free: 15.41 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.203e-06/0.1579, allocations: 0 / 332 MB, free: 15.41 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.587e-05/0.158, allocations: 15.94 kB / 332 MB, free: 15.39 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.044e-06/0.158, allocations: 0 / 332 MB, free: 15.39 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.977e-06/0.158, allocations: 0 / 332 MB, free: 15.39 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.723e-06/0.158, allocations: 0 / 332 MB, free: 15.39 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.907e-06/0.158, allocations: 3.984 kB / 332 MB, free: 15.39 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001822/0.1582, allocations: 77.12 kB / 332.1 MB, free: 15.29 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.321e-05/0.1583, allocations: 81.05 kB / 332.2 MB, free: 15.2 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.712e-05/0.1583, allocations: 8.125 kB / 332.2 MB, free: 15.19 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.198e-05/0.1583, allocations: 3.938 kB / 332.2 MB, free: 15.18 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.161e-05/0.1584, allocations: 4.031 kB / 332.2 MB, free: 15.18 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.551e-06/0.1584, allocations: 3.984 kB / 332.2 MB, free: 15.18 MB / 286.1 MB Notification: Performance of sorting global known variables: time 5.776e-05/0.1585, allocations: 79.28 kB / 332.3 MB, free: 15.1 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1585, allocations: 0 / 332.3 MB, free: 15.1 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0004006/0.1589, allocations: 56.05 kB / 332.3 MB, free: 15.04 MB / 286.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.0009301/0.1598, allocations: 0.6592 MB / 333 MB, free: 14.36 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0001366/0.16, allocations: 27.92 kB / 333 MB, free: 14.33 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 4.609e-06/0.16, allocations: 3.938 kB / 333 MB, free: 14.32 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 1.667e-05/0.16, allocations: 12.44 kB / 333 MB, free: 14.31 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002154/0.1602, allocations: 4 kB / 333 MB, free: 14.31 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001586/0.1618, allocations: 1.183 MB / 334.2 MB, free: 13.04 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003223/0.1622, allocations: 0.6807 MB / 334.9 MB, free: 12.33 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 0.0001341/0.1623, allocations: 4 kB / 334.9 MB, free: 12.33 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.509e-05/0.1624, allocations: 7.438 kB / 334.9 MB, free: 12.32 MB / 286.1 MB Notification: Performance of SimCode: time 3.5e-07/0.1624, allocations: 4 kB / 334.9 MB, free: 12.32 MB / 286.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03001/0.1924, allocations: 1.964 MB / 336.9 MB, free: 10.3 MB / 286.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.98/12.17, allocations: 8.234 kB / 336.9 MB, free: 10.29 MB / 286.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