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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008192/0.0008192, allocations: 76.08 kB / 20.67 MB, free: 3.891 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0007191/0.0007191, allocations: 149.1 kB / 23.93 MB, free: 0.6289 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.8856/0.8856, allocations: 173.4 MB / 200.4 MB, free: 9.43 MB / 186.7 MB " [Timeout remaining time 179] 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"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.833e-06/1.833e-06, allocations: 0 / 318.4 MB, free: 6.359 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.077e-05/2.26e-05, allocations: 8.609 kB / 318.4 MB, free: 6.352 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Math.Nonlinear.Examples.QuadratureLobatto3): time 0.00109/0.001113, allocations: 0.5048 MB / 318.9 MB, free: 5.844 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001406/0.002518, allocations: 1.406 MB / 320.3 MB, free: 4.422 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.747e-05/0.002546, allocations: 0 / 320.3 MB, free: 4.422 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 1.624e-05/0.002562, allocations: 3.938 kB / 320.4 MB, free: 4.418 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000506/0.003068, allocations: 183.3 kB / 320.5 MB, free: 4.238 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 1.576e-05/0.003084, allocations: 0 / 320.5 MB, free: 4.238 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 5.147e-05/0.003135, allocations: 19.92 kB / 320.5 MB, free: 4.219 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.495e-05/0.00318, allocations: 11.98 kB / 320.6 MB, free: 4.207 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.127e-05/0.003242, allocations: 11.94 kB / 320.6 MB, free: 4.195 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.535e-05/0.003297, allocations: 11.92 kB / 320.6 MB, free: 4.184 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.496e-05/0.003312, allocations: 0 / 320.6 MB, free: 4.184 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002425/0.003554, allocations: 223.7 kB / 320.8 MB, free: 3.965 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 1.114e-05/0.003566, allocations: 0 / 320.8 MB, free: 3.965 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 1.824e-05/0.003584, allocations: 15.97 kB / 320.8 MB, free: 3.949 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002258/0.00381, allocations: 211.5 kB / 321 MB, free: 3.742 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.425e-06/0.003812, allocations: 0 / 321 MB, free: 3.742 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.072e-06/0.003813, allocations: 0 / 321 MB, free: 3.742 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.949e-06/0.003818, allocations: 4 kB / 321 MB, free: 3.738 MB / 282.7 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.0003569/0.004175, allocations: 282 kB / 321.3 MB, free: 3.434 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.034e-05/0.004215, allocations: 8.922 kB / 321.3 MB, free: 3.426 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.823e-05/0.004243, allocations: 34.75 kB / 321.3 MB, free: 3.383 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.433e-05/0.004268, allocations: 12.89 kB / 321.4 MB, free: 3.371 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.078e-05/0.004359, allocations: 113.7 kB / 321.5 MB, free: 3.234 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.298e-06/0.004368, allocations: 4.375 kB / 321.5 MB, free: 3.23 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.662e-05/0.004384, allocations: 384 / 321.5 MB, free: 3.23 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.818e-05/0.004453, allocations: 34.27 kB / 321.5 MB, free: 3.191 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.456e-06/0.004461, allocations: 192 / 321.5 MB, free: 3.191 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.695e-06/0.004469, allocations: 8.125 kB / 321.5 MB, free: 3.184 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.038e-06/0.004473, allocations: 0 / 321.5 MB, free: 3.184 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.168e-05/0.004504, allocations: 11.92 kB / 321.5 MB, free: 3.172 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001236/0.004628, allocations: 124.8 kB / 321.6 MB, free: 3.008 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.035e-05/0.004688, allocations: 30.58 kB / 321.7 MB, free: 2.969 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.988e-05/0.004708, allocations: 12.86 kB / 321.7 MB, free: 2.953 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.247e-06/0.004718, allocations: 4.078 kB / 321.7 MB, free: 2.949 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.7e-05/0.004735, allocations: 34.56 kB / 321.7 MB, free: 2.906 MB / 282.7 MB Notification: Performance of pre-optimization done (n=3): time 6.51e-07/0.004735, allocations: 0 / 321.7 MB, free: 2.906 MB / 282.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001231/0.004858, allocations: 61.52 kB / 321.8 MB, free: 2.84 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.765e-05/0.004886, allocations: 51.41 kB / 321.8 MB, free: 2.777 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.178e-05/0.004948, allocations: 102 kB / 321.9 MB, free: 2.668 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 8.876e-06/0.004957, allocations: 25.7 kB / 322 MB, free: 2.637 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.719e-05/0.004984, allocations: 88.12 kB / 322.1 MB, free: 2.547 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.517e-05/0.005009, allocations: 7.953 kB / 322.1 MB, free: 2.539 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.476e-05/0.005034, allocations: 17.66 kB / 322.1 MB, free: 2.516 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0003398/0.005374, allocations: 318.8 kB / 322.4 MB, free: 2.195 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.455e-05/0.005388, allocations: 7.984 kB / 322.4 MB, free: 2.188 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.259e-05/0.005411, allocations: 21.72 kB / 322.4 MB, free: 2.16 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.756e-05/0.005448, allocations: 33.59 kB / 322.4 MB, free: 2.121 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.00545, allocations: 0 / 322.4 MB, free: 2.121 MB / 282.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 5.941e-05/0.005509, allocations: 57.64 kB / 322.5 MB, free: 2.059 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.121e-05/0.005521, allocations: 7.938 kB / 322.5 MB, free: 2.051 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.438e-06/0.005525, allocations: 0 / 322.5 MB, free: 2.051 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.281e-05/0.005538, allocations: 7.938 kB / 322.5 MB, free: 2.043 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.991e-05/0.005618, allocations: 7.984 kB / 322.5 MB, free: 2.035 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.679e-06/0.005622, allocations: 4 kB / 322.5 MB, free: 2.031 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.374e-05/0.005636, allocations: 4.031 kB / 322.5 MB, free: 2.027 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.747e-06/0.00564, allocations: 0 / 322.5 MB, free: 2.027 MB / 282.7 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.022e-05/0.00569, allocations: 113.8 kB / 322.6 MB, free: 1.906 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.539e-06/0.005695, allocations: 0 / 322.6 MB, free: 1.906 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.283e-05/0.005718, allocations: 3.688 kB / 322.7 MB, free: 1.898 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.776e-06/0.00572, allocations: 7.938 kB / 322.7 MB, free: 1.891 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.877e-06/0.005724, allocations: 0 / 322.7 MB, free: 1.891 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.645e-06/0.005727, allocations: 0 / 322.7 MB, free: 1.891 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.715e-05/0.005794, allocations: 124.8 kB / 322.8 MB, free: 1.727 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.51e-07/0.005795, allocations: 0 / 322.8 MB, free: 1.727 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.035e-05/0.005835, allocations: 12 kB / 322.8 MB, free: 1.715 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.423e-06/0.005836, allocations: 0 / 322.8 MB, free: 1.715 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.304e-06/0.005844, allocations: 128 / 322.8 MB, free: 1.715 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.597e-06/0.005847, allocations: 11.92 kB / 322.8 MB, free: 1.703 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.01e-07/0.005848, allocations: 0 / 322.8 MB, free: 1.703 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001051/0.005953, allocations: 85.02 kB / 322.9 MB, free: 1.602 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.823e-06/0.00596, allocations: 3.938 kB / 322.9 MB, free: 1.598 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.277e-06/0.005969, allocations: 0 / 322.9 MB, free: 1.598 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.867e-06/0.005978, allocations: 3.938 kB / 322.9 MB, free: 1.594 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.246e-05/0.005991, allocations: 8.016 kB / 322.9 MB, free: 1.586 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.493e-06/0.005992, allocations: 0 / 322.9 MB, free: 1.586 MB / 282.7 MB Notification: Performance of sorting global known variables: time 2.815e-05/0.00602, allocations: 87.34 kB / 323 MB, free: 1.5 MB / 282.7 MB Notification: Performance of sort global known variables: time 6e-08/0.00602, allocations: 0 / 323 MB, free: 1.5 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001755/0.006196, allocations: 51.86 kB / 323 MB, free: 1.449 MB / 282.7 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.0003702/0.006566, allocations: 0.6786 MB / 323.7 MB, free: 0.7383 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 6.855e-05/0.006635, allocations: 16.45 kB / 323.7 MB, free: 0.7227 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.333e-06/0.006636, allocations: 0 / 323.7 MB, free: 0.7227 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 1.11e-05/0.006647, allocations: 11.94 kB / 323.7 MB, free: 0.7109 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001157/0.006763, allocations: 14.89 kB / 323.8 MB, free: 0.6992 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006977/0.00746, allocations: 1.178 MB / 324.9 MB, free: 15.43 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.996e-05/0.0075, allocations: 63.34 kB / 325 MB, free: 15.35 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 7.881e-05/0.007579, allocations: 7.984 kB / 325 MB, free: 15.34 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.857e-05/0.007608, allocations: 8.5 kB / 325 MB, free: 15.33 MB / 298.7 MB Notification: Performance of SimCode: time 7.41e-07/0.007608, allocations: 0 / 325 MB, free: 15.33 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01727/0.02488, allocations: 2.656 MB / 327.7 MB, free: 12.79 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.774/6.799, allocations: 3.938 kB / 327.7 MB, free: 12.79 MB / 298.7 MB " [Timeout remaining time 653] (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.0009996 Modelica_4_0_0_Modelica_Math_Nonlinear_Examples_QuadratureLobatto3.fmu > Modelica_4.0.0_Modelica.Math.Nonlinear.Examples.QuadratureLobatto3.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Math.Nonlinear.Examples.QuadratureLobatto3_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Math/Nonlinear/Examples/QuadratureLobatto3/QuadratureLobatto3.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Math.Nonlinear.Examples.QuadratureLobatto3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 8.575373091734946]