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.001701/0.001701, allocations: 115.2 kB / 17.06 MB, free: 6 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.001942/0.001942, allocations: 193.4 kB / 18 MB, free: 5.074 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.401/1.401, allocations: 222.9 MB / 241.7 MB, free: 15.14 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00141/0.00141, allocations: 47.94 kB / 350.8 MB, free: 3.754 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3104/0.3118, allocations: 49.44 MB / 400.2 MB, free: 8.406 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Math.Nonlinear.Examples.QuadratureLobatto3): time 0.001687/0.3136, allocations: 0.511 MB / 400.7 MB, free: 8.023 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002235/0.3158, allocations: 1.493 MB / 402.2 MB, free: 6.793 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.918e-05/0.3159, allocations: 0 / 402.2 MB, free: 6.793 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 1.9e-05/0.3159, allocations: 0 / 402.2 MB, free: 6.793 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006503/0.3165, allocations: 171 kB / 402.4 MB, free: 6.629 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 2.557e-05/0.3166, allocations: 11.94 kB / 402.4 MB, free: 6.617 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 5.247e-05/0.3166, allocations: 11.98 kB / 402.4 MB, free: 6.605 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.196e-05/0.3167, allocations: 7.984 kB / 402.4 MB, free: 6.598 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4e-05/0.3167, allocations: 4 kB / 402.4 MB, free: 6.594 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.021e-05/0.3168, allocations: 15.88 kB / 402.5 MB, free: 6.578 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.264e-05/0.3168, allocations: 3.938 kB / 402.5 MB, free: 6.574 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004875/0.3173, allocations: 235.7 kB / 402.7 MB, free: 6.344 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 1.803e-05/0.3173, allocations: 0 / 402.7 MB, free: 6.344 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 3.363e-05/0.3174, allocations: 19.86 kB / 402.7 MB, free: 6.324 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002917/0.3177, allocations: 166.6 kB / 402.9 MB, free: 6.164 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.718e-06/0.3177, allocations: 4 kB / 402.9 MB, free: 6.16 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.914e-06/0.3177, allocations: 0 / 402.9 MB, free: 6.16 MB / 318.1 MB Notification: Performance of Transformations before backend: time 4.839e-06/0.3177, allocations: 0 / 402.9 MB, free: 6.16 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.0005077/0.3182, allocations: 370.2 kB / 403.2 MB, free: 5.754 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.158e-05/0.3183, allocations: 8.031 kB / 403.2 MB, free: 5.746 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.979e-05/0.3184, allocations: 34.75 kB / 403.3 MB, free: 5.703 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.601e-05/0.3184, allocations: 0.9375 kB / 403.3 MB, free: 5.703 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002093/0.3186, allocations: 172.3 kB / 403.4 MB, free: 5.496 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.334e-05/0.3186, allocations: 384 / 403.4 MB, free: 5.496 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.17e-05/0.3187, allocations: 8.375 kB / 403.5 MB, free: 5.488 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.966e-05/0.3187, allocations: 41.81 kB / 403.5 MB, free: 5.441 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.264e-05/0.3188, allocations: 3.938 kB / 403.5 MB, free: 5.438 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.351e-06/0.3188, allocations: 0 / 403.5 MB, free: 5.438 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.628e-06/0.3188, allocations: 0 / 403.5 MB, free: 5.438 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.305e-05/0.3188, allocations: 7.984 kB / 403.5 MB, free: 5.43 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001983/0.319, allocations: 157.7 kB / 403.7 MB, free: 5.227 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.053e-05/0.3191, allocations: 30.58 kB / 403.7 MB, free: 5.188 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.884e-05/0.3192, allocations: 16.84 kB / 403.7 MB, free: 5.168 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.458e-05/0.3192, allocations: 4.078 kB / 403.7 MB, free: 5.164 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.615e-05/0.3192, allocations: 42.44 kB / 403.8 MB, free: 5.113 MB / 318.1 MB Notification: Performance of pre-optimization done (n=3): time 1.072e-06/0.3192, allocations: 0 / 403.8 MB, free: 5.113 MB / 318.1 MB Notification: Performance of matching and sorting (n=3): time 0.0001572/0.3194, allocations: 45.69 kB / 403.8 MB, free: 5.062 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.047e-05/0.3195, allocations: 51.41 kB / 403.9 MB, free: 5 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.539e-05/0.3196, allocations: 97.86 kB / 403.9 MB, free: 4.895 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.029e-05/0.3196, allocations: 37.64 kB / 404 MB, free: 4.852 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.387e-05/0.3197, allocations: 84.12 kB / 404.1 MB, free: 4.766 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.562e-05/0.3197, allocations: 11.91 kB / 404.1 MB, free: 4.754 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.194e-05/0.3197, allocations: 13.72 kB / 404.1 MB, free: 4.734 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001808/0.3199, allocations: 314.8 kB / 404.4 MB, free: 4.418 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.056e-05/0.32, allocations: 7.984 kB / 404.4 MB, free: 4.41 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.703e-05/0.32, allocations: 25.66 kB / 404.4 MB, free: 4.379 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.009e-05/0.3201, allocations: 25.72 kB / 404.5 MB, free: 4.348 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.452e-06/0.3201, allocations: 0 / 404.5 MB, free: 4.348 MB / 318.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001065/0.3202, allocations: 69.52 kB / 404.5 MB, free: 4.273 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.545e-05/0.3202, allocations: 4 kB / 404.5 MB, free: 4.27 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.619e-06/0.3202, allocations: 0 / 404.5 MB, free: 4.27 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.303e-05/0.3202, allocations: 0 / 404.5 MB, free: 4.27 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.534e-05/0.3203, allocations: 15.92 kB / 404.5 MB, free: 4.254 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.212e-06/0.3203, allocations: 0 / 404.5 MB, free: 4.254 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.162e-05/0.3204, allocations: 4 kB / 404.5 MB, free: 4.25 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.865e-06/0.3204, allocations: 8.016 kB / 404.6 MB, free: 4.242 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.562e-05/0.3205, allocations: 109.8 kB / 404.7 MB, free: 4.125 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.061e-05/0.3205, allocations: 7.938 kB / 404.7 MB, free: 4.117 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.436e-05/0.3205, allocations: 3.5 kB / 404.7 MB, free: 4.109 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.583e-06/0.3205, allocations: 0 / 404.7 MB, free: 4.109 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.533e-06/0.3205, allocations: 4.125 kB / 404.7 MB, free: 4.105 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.176e-06/0.3205, allocations: 0 / 404.7 MB, free: 4.105 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001626/0.3207, allocations: 157.7 kB / 404.8 MB, free: 3.902 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.61e-07/0.3207, allocations: 0 / 404.8 MB, free: 3.902 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.546e-05/0.3208, allocations: 19.86 kB / 404.9 MB, free: 3.883 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.533e-06/0.3208, allocations: 0 / 404.9 MB, free: 3.883 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.122e-05/0.3208, allocations: 4 kB / 404.9 MB, free: 3.879 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.272e-06/0.3208, allocations: 0 / 404.9 MB, free: 3.879 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.81e-07/0.3208, allocations: 0 / 404.9 MB, free: 3.879 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001463/0.321, allocations: 77.08 kB / 404.9 MB, free: 3.785 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.816e-05/0.321, allocations: 81.52 kB / 405 MB, free: 3.688 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.284e-05/0.321, allocations: 0 / 405 MB, free: 3.688 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.764e-05/0.3211, allocations: 12.08 kB / 405 MB, free: 3.676 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.445e-05/0.3211, allocations: 4 kB / 405 MB, free: 3.672 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.281e-06/0.3211, allocations: 0 / 405 MB, free: 3.672 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.000221/0.3213, allocations: 87.2 kB / 405.1 MB, free: 3.586 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3213, allocations: 0 / 405.1 MB, free: 3.586 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002551/0.3216, allocations: 55.8 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.0006755/0.3223, allocations: 0.6747 MB / 405.8 MB, free: 2.824 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 8.924e-05/0.3224, allocations: 16 kB / 405.9 MB, free: 2.809 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.3224, allocations: 3.938 kB / 405.9 MB, free: 2.805 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 1.474e-05/0.3224, allocations: 7.984 kB / 405.9 MB, free: 2.797 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001355/0.3225, allocations: 4 kB / 405.9 MB, free: 2.793 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001126/0.3237, allocations: 1.178 MB / 407 MB, free: 1.527 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003793/0.3241, allocations: 0.6883 MB / 407.7 MB, free: 0.8125 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0001007/0.3242, allocations: 7.984 kB / 407.7 MB, free: 0.8047 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.989e-05/0.3242, allocations: 7.438 kB / 407.8 MB, free: 0.7969 MB / 318.1 MB Notification: Performance of SimCode: time 3.31e-07/0.3242, allocations: 0 / 407.8 MB, free: 0.7969 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02494/0.3492, allocations: 2.002 MB / 409.8 MB, free: 14.88 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.8/8.149, allocations: 19.19 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