Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Math.Nonlinear.Examples.QuadratureLobatto3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Math.Nonlinear.Examples.QuadratureLobatto3,fileNamePrefix="Modelica_trunk_Modelica_Math_Nonlinear_Examples_QuadratureLobatto3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Math.Nonlinear.Examples.QuadratureLobatto3,fileNamePrefix="Modelica_trunk_Modelica_Math_Nonlinear_Examples_QuadratureLobatto3",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001406/0.001406, allocations: 104.4 kB / 17.63 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001723/0.001723, allocations: 216.5 kB / 18.58 MB, free: 4.406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.364/1.364, allocations: 227.4 MB / 246.8 MB, free: 10.56 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001418/0.001418, allocations: 60.38 kB / 307 MB, free: 0.5391 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09248/0.09392, allocations: 50.53 MB / 357.6 MB, free: 14.01 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Math.Nonlinear.Examples.QuadratureLobatto3): time 0.001745/0.09571, allocations: 0.5244 MB / 358.1 MB, free: 13.49 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002007/0.09774, allocations: 1.542 MB / 359.6 MB, free: 11.93 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.126e-05/0.09779, allocations: 0 / 359.6 MB, free: 11.93 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 1.251e-05/0.09784, allocations: 0 / 359.6 MB, free: 11.93 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007388/0.09858, allocations: 175.5 kB / 359.8 MB, free: 11.76 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 3.14e-05/0.09863, allocations: 7.984 kB / 359.8 MB, free: 11.75 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 5.69e-05/0.09869, allocations: 11.92 kB / 359.8 MB, free: 11.74 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.572e-05/0.09874, allocations: 8 kB / 359.8 MB, free: 11.73 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.411e-05/0.09879, allocations: 7.938 kB / 359.8 MB, free: 11.72 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.73e-05/0.09886, allocations: 7.984 kB / 359.9 MB, free: 11.71 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.381e-05/0.09888, allocations: 0 / 359.9 MB, free: 11.71 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004159/0.0993, allocations: 247.7 kB / 360.1 MB, free: 11.47 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 1.319e-05/0.09932, allocations: 3.938 kB / 360.1 MB, free: 11.47 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 3.586e-05/0.09937, allocations: 15.98 kB / 360.1 MB, free: 11.45 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003179/0.09969, allocations: 175.6 kB / 360.3 MB, free: 11.28 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.588e-06/0.09971, allocations: 0 / 360.3 MB, free: 11.28 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.393e-06/0.09971, allocations: 0 / 360.3 MB, free: 11.28 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.058e-05/0.09973, allocations: 3.938 kB / 360.3 MB, free: 11.28 MB / 302.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.0005051/0.1002, allocations: 359.7 kB / 360.6 MB, free: 10.88 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.856e-05/0.1003, allocations: 12.03 kB / 360.6 MB, free: 10.87 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.319e-05/0.1003, allocations: 38.73 kB / 360.7 MB, free: 10.82 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.453e-05/0.1004, allocations: 0.9375 kB / 360.7 MB, free: 10.82 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001562/0.1005, allocations: 172.3 kB / 360.9 MB, free: 10.61 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.46e-05/0.1006, allocations: 4.375 kB / 360.9 MB, free: 10.61 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.317e-05/0.1006, allocations: 4.375 kB / 360.9 MB, free: 10.61 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.697e-05/0.1007, allocations: 45.8 kB / 360.9 MB, free: 10.55 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.361e-05/0.1007, allocations: 0 / 360.9 MB, free: 10.55 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.688e-06/0.1007, allocations: 3.938 kB / 360.9 MB, free: 10.55 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.368e-06/0.1007, allocations: 0 / 360.9 MB, free: 10.55 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.659e-05/0.1008, allocations: 11.92 kB / 360.9 MB, free: 10.54 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001772/0.1009, allocations: 149.7 kB / 361.1 MB, free: 10.34 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.536e-05/0.101, allocations: 38.61 kB / 361.1 MB, free: 10.3 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.455e-05/0.1011, allocations: 12.86 kB / 361.1 MB, free: 10.28 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.161e-05/0.1011, allocations: 0 / 361.1 MB, free: 10.28 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.415e-05/0.1012, allocations: 38.5 kB / 361.2 MB, free: 10.23 MB / 302.1 MB Notification: Performance of pre-optimization done (n=3): time 1.242e-06/0.1012, allocations: 0 / 361.2 MB, free: 10.23 MB / 302.1 MB Notification: Performance of matching and sorting (n=3): time 0.0001705/0.1013, allocations: 49.72 kB / 361.2 MB, free: 10.18 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.635e-05/0.1014, allocations: 55.39 kB / 361.3 MB, free: 10.11 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001279/0.1015, allocations: 101.9 kB / 361.4 MB, free: 10 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.782e-05/0.1016, allocations: 25.7 kB / 361.4 MB, free: 9.973 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.796e-05/0.1016, allocations: 84.14 kB / 361.5 MB, free: 9.887 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.258e-05/0.1017, allocations: 19.73 kB / 361.5 MB, free: 9.867 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.743e-05/0.1017, allocations: 13.72 kB / 361.5 MB, free: 9.848 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001696/0.1019, allocations: 314.8 kB / 361.8 MB, free: 9.531 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.604e-05/0.102, allocations: 4 kB / 361.8 MB, free: 9.527 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.706e-05/0.102, allocations: 29.7 kB / 361.8 MB, free: 9.492 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.02e-05/0.1021, allocations: 25.66 kB / 361.9 MB, free: 9.461 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.1021, allocations: 0 / 361.9 MB, free: 9.461 MB / 302.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001098/0.1022, allocations: 65.56 kB / 361.9 MB, free: 9.391 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.843e-05/0.1022, allocations: 6.812 kB / 361.9 MB, free: 9.387 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.903e-06/0.1022, allocations: 0 / 361.9 MB, free: 9.387 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.397e-05/0.1022, allocations: 0 / 361.9 MB, free: 9.387 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.419e-05/0.1023, allocations: 8 kB / 361.9 MB, free: 9.379 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.263e-06/0.1023, allocations: 4.031 kB / 361.9 MB, free: 9.375 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.746e-05/0.1024, allocations: 7.984 kB / 362 MB, free: 9.367 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.629e-06/0.1024, allocations: 0 / 362 MB, free: 9.367 MB / 302.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 9.225e-05/0.1025, allocations: 114.9 kB / 362.1 MB, free: 9.246 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.002e-05/0.1025, allocations: 11.84 kB / 362.1 MB, free: 9.234 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.164e-05/0.1026, allocations: 3.5 kB / 362.1 MB, free: 9.223 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.394e-06/0.1026, allocations: 4.359 kB / 362.1 MB, free: 9.219 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.208e-06/0.1026, allocations: 0 / 362.1 MB, free: 9.219 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.906e-06/0.1026, allocations: 0 / 362.1 MB, free: 9.219 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001236/0.1027, allocations: 161.7 kB / 362.2 MB, free: 9.012 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.432e-06/0.1027, allocations: 3.938 kB / 362.3 MB, free: 9.008 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.266e-05/0.1028, allocations: 11.92 kB / 362.3 MB, free: 8.996 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.126e-06/0.1028, allocations: 0 / 362.3 MB, free: 8.996 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.235e-05/0.1028, allocations: 3.984 kB / 362.3 MB, free: 8.992 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.894e-06/0.1028, allocations: 8.062 kB / 362.3 MB, free: 8.984 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.635e-06/0.1028, allocations: 4 kB / 362.3 MB, free: 8.98 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001262/0.103, allocations: 73.12 kB / 362.3 MB, free: 8.891 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.054e-05/0.103, allocations: 89.02 kB / 362.4 MB, free: 8.785 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.349e-05/0.1031, allocations: 0 / 362.4 MB, free: 8.785 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.945e-05/0.1031, allocations: 0 / 362.4 MB, free: 8.785 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.751e-05/0.1031, allocations: 12.02 kB / 362.4 MB, free: 8.773 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.665e-06/0.1031, allocations: 0 / 362.4 MB, free: 8.773 MB / 302.1 MB Notification: Performance of sorting global known variables: time 4.229e-05/0.1032, allocations: 79.28 kB / 362.5 MB, free: 8.695 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1032, allocations: 0 / 362.5 MB, free: 8.695 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002848/0.1035, allocations: 55.98 kB / 362.6 MB, free: 8.641 MB / 302.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.000581/0.104, allocations: 0.6709 MB / 363.3 MB, free: 7.941 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001081/0.1042, allocations: 16 kB / 363.3 MB, free: 7.926 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.1042, allocations: 0 / 363.3 MB, free: 7.926 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 3.009e-05/0.1042, allocations: 15.92 kB / 363.3 MB, free: 7.91 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001477/0.1044, allocations: 4 kB / 363.3 MB, free: 7.906 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001119/0.1055, allocations: 1.171 MB / 364.5 MB, free: 6.648 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003026/0.1058, allocations: 0.6846 MB / 365.1 MB, free: 5.938 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001091/0.1059, allocations: 3.984 kB / 365.1 MB, free: 5.934 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.138e-05/0.106, allocations: 11.44 kB / 365.2 MB, free: 5.922 MB / 302.1 MB Notification: Performance of SimCode: time 2.5e-07/0.106, allocations: 0 / 365.2 MB, free: 5.922 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02028/0.1263, allocations: 2.036 MB / 367.2 MB, free: 3.953 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.303/7.429, allocations: 10.2 kB / 367.2 MB, free: 3.949 MB / 302.1 MB (rm -f Modelica_trunk_Modelica.Math.Nonlinear.Examples.QuadratureLobatto3.pipe ; mkfifo Modelica_trunk_Modelica.Math.Nonlinear.Examples.QuadratureLobatto3.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Math.Nonlinear.Examples.QuadratureLobatto3.pipe >> ../files/Modelica_trunk_Modelica.Math.Nonlinear.Examples.QuadratureLobatto3.sim & python3 -m fmpy simulate --output-file Modelica_trunk_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_trunk_Modelica_Math_Nonlinear_Examples_QuadratureLobatto3.fmu > Modelica_trunk_Modelica.Math.Nonlinear.Examples.QuadratureLobatto3.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Math.Nonlinear.Examples.QuadratureLobatto3_res.csv","/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_trunk_Modelica.Math.Nonlinear.Examples.QuadratureLobatto3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches