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.001063/0.001063, allocations: 110.4 kB / 16.92 MB, free: 6.332 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.00101/0.00101, allocations: 191.4 kB / 17.85 MB, free: 5.414 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.6 MB, free: 15.29 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001036/0.001037, allocations: 47.05 kB / 300.7 MB, free: 5.801 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09569/0.09674, allocations: 49.43 MB / 350.2 MB, free: 4.359 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Math.Nonlinear.Examples.QuadratureLobatto3): time 0.002044/0.09884, allocations: 0.5183 MB / 350.7 MB, free: 3.836 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.002451/0.1013, allocations: 1.487 MB / 352.2 MB, free: 2.332 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.345e-05/0.1014, allocations: 0 / 352.2 MB, free: 2.332 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 2.082e-05/0.1015, allocations: 0 / 352.2 MB, free: 2.332 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008741/0.1023, allocations: 175.4 kB / 352.3 MB, free: 2.16 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 3.38e-05/0.1024, allocations: 15.88 kB / 352.3 MB, free: 2.145 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 5.724e-05/0.1024, allocations: 8 kB / 352.4 MB, free: 2.137 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.816e-05/0.1025, allocations: 4 kB / 352.4 MB, free: 2.133 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.829e-05/0.1026, allocations: 11.92 kB / 352.4 MB, free: 2.121 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.78e-05/0.1026, allocations: 7.938 kB / 352.4 MB, free: 2.113 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.336e-05/0.1027, allocations: 0 / 352.4 MB, free: 2.113 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003932/0.1031, allocations: 247.7 kB / 352.6 MB, free: 1.871 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 1.186e-05/0.1031, allocations: 0 / 352.6 MB, free: 1.871 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 2.163e-05/0.1031, allocations: 7.938 kB / 352.6 MB, free: 1.863 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002905/0.1034, allocations: 175.7 kB / 352.8 MB, free: 1.691 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.1034, allocations: 0 / 352.8 MB, free: 1.691 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.854e-06/0.1034, allocations: 0 / 352.8 MB, free: 1.691 MB / 286.1 MB Notification: Performance of Transformations before backend: time 4.608e-06/0.1034, allocations: 0 / 352.8 MB, free: 1.691 MB / 286.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.0004172/0.1039, allocations: 359.7 kB / 353.1 MB, free: 1.293 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.675e-05/0.1039, allocations: 12.03 kB / 353.2 MB, free: 1.281 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.574e-05/0.1039, allocations: 34.73 kB / 353.2 MB, free: 1.238 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.378e-05/0.104, allocations: 0.9375 kB / 353.2 MB, free: 1.238 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001298/0.1041, allocations: 172.3 kB / 353.4 MB, free: 1.031 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.071e-05/0.1041, allocations: 384 / 353.4 MB, free: 1.031 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.646e-05/0.1042, allocations: 4.375 kB / 353.4 MB, free: 1.027 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.62e-05/0.1042, allocations: 41.75 kB / 353.4 MB, free: 0.9805 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.122e-05/0.1043, allocations: 4 kB / 353.4 MB, free: 0.9766 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.793e-06/0.1043, allocations: 0 / 353.4 MB, free: 0.9766 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.476e-06/0.1043, allocations: 0 / 353.4 MB, free: 0.9766 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.137e-05/0.1043, allocations: 8 kB / 353.4 MB, free: 0.9688 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001737/0.1045, allocations: 153.7 kB / 353.6 MB, free: 0.7695 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.255e-05/0.1046, allocations: 42.61 kB / 353.6 MB, free: 0.7188 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.375e-05/0.1046, allocations: 8.859 kB / 353.6 MB, free: 0.707 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.151e-05/0.1046, allocations: 0 / 353.6 MB, free: 0.707 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.672e-05/0.1047, allocations: 38.44 kB / 353.7 MB, free: 0.6602 MB / 286.1 MB Notification: Performance of pre-optimization done (n=3): time 1.082e-06/0.1047, allocations: 0 / 353.7 MB, free: 0.6602 MB / 286.1 MB Notification: Performance of matching and sorting (n=3): time 0.0001635/0.1048, allocations: 49.78 kB / 353.7 MB, free: 0.6055 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.7e-05/0.1049, allocations: 55.39 kB / 353.8 MB, free: 0.5391 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001001/0.105, allocations: 102.2 kB / 353.9 MB, free: 440 kB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.697e-05/0.105, allocations: 25.7 kB / 353.9 MB, free: 408 kB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.504e-05/0.1051, allocations: 92.08 kB / 354 MB, free: 312 kB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.691e-05/0.1051, allocations: 15.73 kB / 354 MB, free: 296 kB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.153e-05/0.1052, allocations: 17.72 kB / 354 MB, free: 272 kB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001549/0.1053, allocations: 310.8 kB / 354.3 MB, free: 15.95 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.617e-05/0.1054, allocations: 8 kB / 354.3 MB, free: 15.95 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.456e-05/0.1054, allocations: 29.64 kB / 354.3 MB, free: 15.91 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.298e-05/0.1055, allocations: 29.75 kB / 354.4 MB, free: 15.88 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.1055, allocations: 4.062 kB / 354.4 MB, free: 15.87 MB / 302.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.000104/0.1056, allocations: 65.56 kB / 354.4 MB, free: 15.8 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.857e-05/0.1056, allocations: 8 kB / 354.5 MB, free: 15.79 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.681e-06/0.1056, allocations: 0 / 354.5 MB, free: 15.79 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.592e-05/0.1056, allocations: 0 / 354.5 MB, free: 15.79 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.333e-05/0.1057, allocations: 8 kB / 354.5 MB, free: 15.79 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.015e-06/0.1057, allocations: 4.031 kB / 354.5 MB, free: 15.78 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.22e-05/0.1058, allocations: 0 / 354.5 MB, free: 15.78 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.091e-05/0.1058, allocations: 7.984 kB / 354.5 MB, free: 15.77 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 8.913e-05/0.1059, allocations: 105.8 kB / 354.6 MB, free: 15.66 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.763e-05/0.1059, allocations: 11.84 kB / 354.6 MB, free: 15.65 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.573e-05/0.1059, allocations: 7.5 kB / 354.6 MB, free: 15.63 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.933e-06/0.106, allocations: 0 / 354.6 MB, free: 15.63 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.308e-06/0.106, allocations: 0 / 354.6 MB, free: 15.63 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.496e-06/0.106, allocations: 0 / 354.6 MB, free: 15.63 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001349/0.1061, allocations: 157.7 kB / 354.7 MB, free: 15.43 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.326e-06/0.1061, allocations: 4 kB / 354.8 MB, free: 15.43 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.685e-05/0.1062, allocations: 11.88 kB / 354.8 MB, free: 15.41 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.394e-06/0.1062, allocations: 0 / 354.8 MB, free: 15.41 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.497e-06/0.1062, allocations: 3.984 kB / 354.8 MB, free: 15.41 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.993e-06/0.1062, allocations: 0 / 354.8 MB, free: 15.41 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.035e-06/0.1062, allocations: 4 kB / 354.8 MB, free: 15.41 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001344/0.1064, allocations: 73.12 kB / 354.8 MB, free: 15.32 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.381e-05/0.1064, allocations: 81.05 kB / 354.9 MB, free: 15.22 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.232e-05/0.1065, allocations: 4.062 kB / 354.9 MB, free: 15.21 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.661e-05/0.1065, allocations: 0 / 354.9 MB, free: 15.21 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.278e-05/0.1065, allocations: 8.016 kB / 354.9 MB, free: 15.21 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.955e-06/0.1065, allocations: 0 / 354.9 MB, free: 15.21 MB / 302.1 MB Notification: Performance of sorting global known variables: time 4.744e-05/0.1066, allocations: 83.28 kB / 355 MB, free: 15.12 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1066, allocations: 3.938 kB / 355 MB, free: 15.12 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002777/0.1069, allocations: 51.98 kB / 355.1 MB, free: 15.07 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.0005308/0.1074, allocations: 0.6747 MB / 355.7 MB, free: 14.36 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 9.1e-05/0.1075, allocations: 27.92 kB / 355.8 MB, free: 14.34 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.1075, allocations: 0 / 355.8 MB, free: 14.34 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 1.425e-05/0.1076, allocations: 8.375 kB / 355.8 MB, free: 14.33 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001528/0.1077, allocations: 3.984 kB / 355.8 MB, free: 14.32 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00107/0.1088, allocations: 1.18 MB / 357 MB, free: 13.06 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002768/0.1091, allocations: 0.6807 MB / 357.6 MB, free: 12.35 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 8.441e-05/0.1092, allocations: 4 kB / 357.6 MB, free: 12.35 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.069e-05/0.1092, allocations: 19.36 kB / 357.7 MB, free: 12.33 MB / 302.1 MB Notification: Performance of SimCode: time 2.81e-07/0.1092, allocations: 0 / 357.7 MB, free: 12.33 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02101/0.1302, allocations: 1.975 MB / 359.6 MB, free: 10.43 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.612/7.742, allocations: 12.77 kB / 359.7 MB, free: 10.42 MB / 302.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