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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001321/0.001321, allocations: 112.1 kB / 21.19 MB, free: 0.7031 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001436/0.001436, allocations: 208.6 kB / 24.49 MB, free: 4.055 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.461/1.461, allocations: 207.6 MB / 235.3 MB, free: 10 MB / 190.1 MB " [Timeout remaining time 178] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.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.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001736/0.001736, allocations: 51.92 kB / 347.2 MB, free: 10.12 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2979/0.2997, allocations: 49.16 MB / 396.3 MB, free: 8.961 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Math.Nonlinear.Examples.quadratureLobatto3): time 0.001766/0.3014, allocations: 0.5449 MB / 396.9 MB, free: 8.648 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002135/0.3036, allocations: 1.527 MB / 398.4 MB, free: 7.547 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.672e-05/0.3036, allocations: 0 / 398.4 MB, free: 7.547 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 1.563e-05/0.3036, allocations: 0 / 398.4 MB, free: 7.547 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000686/0.3043, allocations: 176.5 kB / 398.6 MB, free: 7.477 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 2.42e-05/0.3043, allocations: 6.078 kB / 398.6 MB, free: 7.473 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 6.351e-05/0.3044, allocations: 22.14 kB / 398.6 MB, free: 7.461 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.846e-05/0.3044, allocations: 2.234 kB / 398.6 MB, free: 7.461 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.626e-05/0.3045, allocations: 4.734 kB / 398.6 MB, free: 7.461 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.117e-05/0.3045, allocations: 7.453 kB / 398.6 MB, free: 7.457 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.467e-05/0.3046, allocations: 1.406 kB / 398.6 MB, free: 7.457 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004444/0.305, allocations: 245.8 kB / 398.9 MB, free: 7.387 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 1.368e-05/0.305, allocations: 6.375 kB / 398.9 MB, free: 7.383 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 2.282e-05/0.305, allocations: 14.09 kB / 398.9 MB, free: 7.371 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003222/0.3054, allocations: 164.5 kB / 399.1 MB, free: 7.34 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.3054, allocations: 0 / 399.1 MB, free: 7.34 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.3054, allocations: 0 / 399.1 MB, free: 7.34 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.54e-06/0.3054, allocations: 1.156 kB / 399.1 MB, free: 7.34 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.0003838/0.3058, allocations: 290.1 kB / 399.3 MB, free: 7.051 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.395e-05/0.3058, allocations: 17.17 kB / 399.4 MB, free: 7.043 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.965e-05/0.3059, allocations: 39.44 kB / 399.4 MB, free: 6.996 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.299e-05/0.3059, allocations: 3.562 kB / 399.4 MB, free: 6.996 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001048/0.306, allocations: 110.6 kB / 399.5 MB, free: 6.867 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.231e-05/0.306, allocations: 7.453 kB / 399.5 MB, free: 6.863 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.462e-05/0.306, allocations: 5.766 kB / 399.5 MB, free: 6.859 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.866e-05/0.3061, allocations: 39.55 kB / 399.6 MB, free: 6.82 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.381e-05/0.3061, allocations: 0 / 399.6 MB, free: 6.82 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.488e-06/0.3061, allocations: 0.9375 kB / 399.6 MB, free: 6.82 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.859e-06/0.3061, allocations: 1.25 kB / 399.6 MB, free: 6.82 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.883e-05/0.3062, allocations: 14.77 kB / 399.6 MB, free: 6.812 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001367/0.3063, allocations: 125.8 kB / 399.7 MB, free: 6.656 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.036e-05/0.3064, allocations: 34.86 kB / 399.7 MB, free: 6.625 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.398e-05/0.3064, allocations: 13.83 kB / 399.7 MB, free: 6.613 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.743e-06/0.3064, allocations: 0 / 399.7 MB, free: 6.613 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.542e-05/0.3064, allocations: 36.89 kB / 399.8 MB, free: 6.57 MB / 318.1 MB Notification: Performance of pre-optimization done (n=3): time 1.693e-06/0.3064, allocations: 4 kB / 399.8 MB, free: 6.566 MB / 318.1 MB Notification: Performance of matching and sorting (n=3): time 0.0001371/0.3066, allocations: 49.94 kB / 399.8 MB, free: 6.527 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.042e-05/0.3066, allocations: 52.47 kB / 399.9 MB, free: 6.465 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.594e-05/0.3067, allocations: 102 kB / 400 MB, free: 6.363 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 8.686e-06/0.3067, allocations: 25.7 kB / 400 MB, free: 6.332 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.429e-05/0.3067, allocations: 82.33 kB / 400.1 MB, free: 6.25 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.128e-05/0.3067, allocations: 15.16 kB / 400.1 MB, free: 6.238 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.729e-05/0.3068, allocations: 13.19 kB / 400.1 MB, free: 6.223 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 4.903e-05/0.3068, allocations: 325.5 kB / 400.4 MB, free: 5.898 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.928e-05/0.3068, allocations: 4.984 kB / 400.4 MB, free: 5.898 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.567e-05/0.3068, allocations: 21.05 kB / 400.5 MB, free: 5.879 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.095e-05/0.3069, allocations: 33 kB / 400.5 MB, free: 5.852 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-06/0.3069, allocations: 0 / 400.5 MB, free: 5.852 MB / 318.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 7.795e-05/0.307, allocations: 54.88 kB / 400.5 MB, free: 5.812 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.332e-05/0.307, allocations: 5.219 kB / 400.6 MB, free: 5.812 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.047e-06/0.307, allocations: 4.031 kB / 400.6 MB, free: 5.809 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.865e-05/0.307, allocations: 6.984 kB / 400.6 MB, free: 5.805 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.175e-05/0.3071, allocations: 12.25 kB / 400.6 MB, free: 5.801 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.148e-06/0.3071, allocations: 1.188 kB / 400.6 MB, free: 5.801 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.08e-05/0.3071, allocations: 5.5 kB / 400.6 MB, free: 5.797 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.747e-06/0.3071, allocations: 1.5 kB / 400.6 MB, free: 5.797 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 4.51e-05/0.3071, allocations: 111.3 kB / 400.7 MB, free: 5.68 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.146e-05/0.3072, allocations: 10.64 kB / 400.7 MB, free: 5.672 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.353e-05/0.3072, allocations: 9.078 kB / 400.7 MB, free: 5.66 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.122e-06/0.3072, allocations: 4 kB / 400.7 MB, free: 5.656 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/0.3072, allocations: 1.156 kB / 400.7 MB, free: 5.656 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.397e-06/0.3072, allocations: 1.125 kB / 400.7 MB, free: 5.656 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.647e-05/0.3073, allocations: 125.9 kB / 400.8 MB, free: 5.5 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.542e-06/0.3073, allocations: 0.8906 kB / 400.8 MB, free: 5.5 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.639e-05/0.3073, allocations: 10.09 kB / 400.9 MB, free: 5.496 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.362e-06/0.3073, allocations: 0 / 400.9 MB, free: 5.496 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.326e-06/0.3073, allocations: 6.125 kB / 400.9 MB, free: 5.492 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.854e-06/0.3073, allocations: 0.9375 kB / 400.9 MB, free: 5.492 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.3073, allocations: 0 / 400.9 MB, free: 5.492 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001094/0.3074, allocations: 79.44 kB / 400.9 MB, free: 5.418 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.397e-06/0.3074, allocations: 13.42 kB / 400.9 MB, free: 5.406 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.237e-05/0.3075, allocations: 5.062 kB / 401 MB, free: 5.402 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.802e-05/0.3075, allocations: 4.781 kB / 401 MB, free: 5.398 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.364e-05/0.3075, allocations: 2.406 kB / 401 MB, free: 5.398 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.765e-06/0.3075, allocations: 1.312 kB / 401 MB, free: 5.398 MB / 318.1 MB Notification: Performance of sorting global known variables: time 2.834e-05/0.3075, allocations: 80.31 kB / 401 MB, free: 5.324 MB / 318.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3075, allocations: 0 / 401 MB, free: 5.324 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002837/0.3078, allocations: 59.16 kB / 401.1 MB, free: 5.309 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.0003654/0.3082, allocations: 0.6628 MB / 401.8 MB, free: 4.688 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 7.295e-05/0.3082, allocations: 18.02 kB / 401.8 MB, free: 4.684 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 1.393e-06/0.3082, allocations: 0 / 401.8 MB, free: 4.684 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 1.503e-05/0.3083, allocations: 7.469 kB / 401.8 MB, free: 4.684 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001159/0.3084, allocations: 5.734 kB / 401.8 MB, free: 4.68 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007177/0.3091, allocations: 1.189 MB / 403 MB, free: 3.516 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001042/0.3092, allocations: 0.679 MB / 403.7 MB, free: 2.82 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 6.295e-05/0.3093, allocations: 8.469 kB / 403.7 MB, free: 2.816 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.85e-05/0.3093, allocations: 9.891 kB / 403.7 MB, free: 2.809 MB / 318.1 MB Notification: Performance of SimCode: time 4e-07/0.3093, allocations: 0 / 403.7 MB, free: 2.809 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0316/0.3409, allocations: 2.112 MB / 405.8 MB, free: 2.211 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.83/11.17, allocations: 9.172 kB / 405.8 MB, free: 2.203 MB / 318.1 MB " [Timeout remaining time 649] (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.0009996 Modelica_3_2_3_Modelica_Math_Nonlinear_Examples_quadratureLobatto3.fmu > Modelica_3.2.3_Modelica.Math.Nonlinear.Examples.quadratureLobatto3.pipe 2>&1) [Timeout 52.5] 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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 13.654479700999218]