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.001249/0.001249, allocations: 111.5 kB / 17.06 MB, free: 6.102 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.001171/0.001171, allocations: 200 kB / 18 MB, free: 5.18 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.295/1.295, allocations: 222.9 MB / 241.7 MB, free: 15.07 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001097/0.001097, allocations: 47.88 kB / 350.8 MB, free: 3.738 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2782/0.2793, allocations: 49.44 MB / 400.2 MB, free: 8.402 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Math.Nonlinear.Examples.QuadratureLobatto3): time 0.001753/0.2811, allocations: 0.5228 MB / 400.8 MB, free: 8.008 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.00214/0.2832, allocations: 1.481 MB / 402.2 MB, free: 6.793 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.027e-05/0.2833, allocations: 0 / 402.2 MB, free: 6.793 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 1.752e-05/0.2833, allocations: 3.938 kB / 402.2 MB, free: 6.789 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007266/0.2841, allocations: 175.5 kB / 402.4 MB, free: 6.617 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 2.431e-05/0.2841, allocations: 0 / 402.4 MB, free: 6.617 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 5.605e-05/0.2842, allocations: 11.98 kB / 402.4 MB, free: 6.605 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.552e-05/0.2842, allocations: 7.922 kB / 402.4 MB, free: 6.598 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.266e-05/0.2843, allocations: 12 kB / 402.4 MB, free: 6.586 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.973e-05/0.2843, allocations: 11.92 kB / 402.5 MB, free: 6.574 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.199e-05/0.2843, allocations: 0 / 402.5 MB, free: 6.574 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004424/0.2848, allocations: 239.7 kB / 402.7 MB, free: 6.34 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 1.363e-05/0.2848, allocations: 3.984 kB / 402.7 MB, free: 6.336 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 2.406e-05/0.2848, allocations: 7.938 kB / 402.7 MB, free: 6.328 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003198/0.2852, allocations: 167.7 kB / 402.9 MB, free: 6.164 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.316e-06/0.2852, allocations: 0 / 402.9 MB, free: 6.164 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.162e-06/0.2852, allocations: 0 / 402.9 MB, free: 6.164 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.851e-06/0.2852, allocations: 0 / 402.9 MB, free: 6.164 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.000456/0.2857, allocations: 369.2 kB / 403.2 MB, free: 5.758 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.957e-05/0.2857, allocations: 8.031 kB / 403.2 MB, free: 5.75 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.671e-05/0.2858, allocations: 34.69 kB / 403.3 MB, free: 5.707 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.476e-05/0.2858, allocations: 0.9375 kB / 403.3 MB, free: 5.707 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001527/0.2859, allocations: 176.3 kB / 403.4 MB, free: 5.496 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.019e-05/0.286, allocations: 4.312 kB / 403.4 MB, free: 5.492 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.699e-05/0.286, allocations: 4.375 kB / 403.4 MB, free: 5.488 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.279e-05/0.2861, allocations: 37.83 kB / 403.5 MB, free: 5.445 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.301e-05/0.2861, allocations: 7.984 kB / 403.5 MB, free: 5.438 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.875e-06/0.2861, allocations: 0 / 403.5 MB, free: 5.438 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.21e-06/0.2861, allocations: 0 / 403.5 MB, free: 5.438 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.712e-05/0.2862, allocations: 4 kB / 403.5 MB, free: 5.434 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000189/0.2864, allocations: 161.7 kB / 403.7 MB, free: 5.227 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.019e-05/0.2864, allocations: 34.55 kB / 403.7 MB, free: 5.184 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.52e-05/0.2865, allocations: 12.84 kB / 403.7 MB, free: 5.168 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.233e-06/0.2865, allocations: 0 / 403.7 MB, free: 5.168 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.032e-05/0.2865, allocations: 42.5 kB / 403.7 MB, free: 5.117 MB / 318.1 MB Notification: Performance of pre-optimization done (n=3): time 9.11e-07/0.2865, allocations: 0 / 403.7 MB, free: 5.117 MB / 318.1 MB Notification: Performance of matching and sorting (n=3): time 0.0001612/0.2867, allocations: 49.69 kB / 403.8 MB, free: 5.062 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.083e-05/0.2867, allocations: 51.41 kB / 403.8 MB, free: 5 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001104/0.2869, allocations: 105.8 kB / 403.9 MB, free: 4.887 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.356e-05/0.2869, allocations: 33.64 kB / 404 MB, free: 4.848 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.405e-05/0.2869, allocations: 84.14 kB / 404.1 MB, free: 4.762 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.984e-05/0.287, allocations: 3.906 kB / 404.1 MB, free: 4.758 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.484e-05/0.287, allocations: 21.72 kB / 404.1 MB, free: 4.73 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001203/0.2871, allocations: 314.8 kB / 404.4 MB, free: 4.414 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.79e-05/0.2872, allocations: 8 kB / 404.4 MB, free: 4.406 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.679e-05/0.2872, allocations: 21.72 kB / 404.4 MB, free: 4.379 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.96e-05/0.2873, allocations: 29.7 kB / 404.4 MB, free: 4.344 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.2873, allocations: 0 / 404.4 MB, free: 4.344 MB / 318.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001019/0.2874, allocations: 69.47 kB / 404.5 MB, free: 4.27 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.565e-05/0.2874, allocations: 4 kB / 404.5 MB, free: 4.266 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.899e-06/0.2874, allocations: 0 / 404.5 MB, free: 4.266 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.35e-05/0.2874, allocations: 0 / 404.5 MB, free: 4.266 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.434e-05/0.2875, allocations: 8 kB / 404.5 MB, free: 4.258 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.574e-06/0.2875, allocations: 0 / 404.5 MB, free: 4.258 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.556e-05/0.2876, allocations: 8 kB / 404.5 MB, free: 4.25 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.879e-06/0.2876, allocations: 0 / 404.5 MB, free: 4.25 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 8.571e-05/0.2877, allocations: 113.8 kB / 404.6 MB, free: 4.129 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.264e-05/0.2877, allocations: 7.969 kB / 404.7 MB, free: 4.121 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.119e-05/0.2877, allocations: 11.48 kB / 404.7 MB, free: 4.105 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.993e-06/0.2877, allocations: 0 / 404.7 MB, free: 4.105 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.098e-06/0.2877, allocations: 0 / 404.7 MB, free: 4.105 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.866e-06/0.2877, allocations: 0 / 404.7 MB, free: 4.105 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001261/0.2879, allocations: 165.5 kB / 404.8 MB, free: 3.895 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-06/0.2879, allocations: 0 / 404.8 MB, free: 3.895 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.437e-05/0.288, allocations: 7.938 kB / 404.8 MB, free: 3.887 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.715e-06/0.288, allocations: 0 / 404.8 MB, free: 3.887 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.995e-06/0.288, allocations: 4 kB / 404.8 MB, free: 3.883 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.288, allocations: 0 / 404.8 MB, free: 3.883 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.288, allocations: 4 kB / 404.8 MB, free: 3.879 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001434/0.2881, allocations: 81.02 kB / 404.9 MB, free: 3.781 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.808e-05/0.2882, allocations: 85.45 kB / 405 MB, free: 3.68 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.429e-05/0.2882, allocations: 0 / 405 MB, free: 3.68 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.729e-05/0.2882, allocations: 4.031 kB / 405 MB, free: 3.676 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.244e-05/0.2883, allocations: 0 / 405 MB, free: 3.676 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.831e-06/0.2883, allocations: 0 / 405 MB, free: 3.676 MB / 318.1 MB Notification: Performance of sorting global known variables: time 4.624e-05/0.2883, allocations: 95.25 kB / 405.1 MB, free: 3.582 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.2883, allocations: 0 / 405.1 MB, free: 3.582 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.000283/0.2886, allocations: 52 kB / 405.2 MB, free: 3.531 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.0005616/0.2892, allocations: 0.6633 MB / 405.8 MB, free: 2.836 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 9.027e-05/0.2893, allocations: 23.92 kB / 405.8 MB, free: 2.812 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.2893, allocations: 4.125 kB / 405.8 MB, free: 2.809 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 1.313e-05/0.2893, allocations: 4 kB / 405.8 MB, free: 2.805 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001429/0.2895, allocations: 10.66 kB / 405.9 MB, free: 2.797 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001035/0.2905, allocations: 1.186 MB / 407 MB, free: 1.523 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002561/0.2908, allocations: 0.6805 MB / 407.7 MB, free: 0.8164 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 5.954e-05/0.2908, allocations: 4 kB / 407.7 MB, free: 0.8125 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.315e-05/0.2909, allocations: 19.44 kB / 407.7 MB, free: 0.793 MB / 318.1 MB Notification: Performance of SimCode: time 3.31e-07/0.2909, allocations: 96 / 407.7 MB, free: 0.793 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01986/0.3108, allocations: 2.01 MB / 409.8 MB, free: 14.87 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.388/7.699, allocations: 15.12 kB / 409.8 MB, free: 14.86 MB / 334.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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Math.Nonlinear.Examples.QuadratureLobatto3_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Math_Nonlinear_Examples_QuadratureLobatto3_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 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.mat","/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