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.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 3.2.3+maint.om/package.mo", uses=false) 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.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_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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001385/0.001385, allocations: 99.02 kB / 17.58 MB, free: 5.418 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.001277/0.001277, allocations: 196 kB / 18.51 MB, free: 4.504 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.438/1.438, allocations: 205.1 MB / 224.4 MB, free: 12.31 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.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.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001643/0.001643, allocations: 59.91 kB / 280.7 MB, free: 3.07 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0973/0.09895, allocations: 46.63 MB / 327.4 MB, free: 4.367 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Math.Nonlinear.Examples.quadratureLobatto3): time 0.001783/0.1008, allocations: 0.5253 MB / 327.9 MB, free: 3.832 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.0021/0.1029, allocations: 1.514 MB / 329.4 MB, free: 2.301 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.244e-05/0.1029, allocations: 0 / 329.4 MB, free: 2.301 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 1.381e-05/0.103, allocations: 0 / 329.4 MB, free: 2.301 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006358/0.1036, allocations: 175.5 kB / 329.6 MB, free: 2.129 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 2.377e-05/0.1037, allocations: 3.984 kB / 329.6 MB, free: 2.125 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 5.017e-05/0.1037, allocations: 15.88 kB / 329.6 MB, free: 2.109 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.598e-05/0.1038, allocations: 4 kB / 329.6 MB, free: 2.105 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.72e-05/0.1038, allocations: 11.97 kB / 329.6 MB, free: 2.094 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.075e-05/0.1039, allocations: 7.938 kB / 329.6 MB, free: 2.086 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 1.133e-05/0.1039, allocations: 4 kB / 329.6 MB, free: 2.082 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003731/0.1042, allocations: 247.7 kB / 329.9 MB, free: 1.84 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 1.046e-05/0.1043, allocations: 0 / 329.9 MB, free: 1.84 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 2.62e-05/0.1043, allocations: 7.938 kB / 329.9 MB, free: 1.832 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002786/0.1046, allocations: 167.8 kB / 330.1 MB, free: 1.668 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.119e-06/0.1046, allocations: 0 / 330.1 MB, free: 1.668 MB / 270.1 MB Notification: Performance of FrontEnd: time 3.927e-06/0.1046, allocations: 0 / 330.1 MB, free: 1.668 MB / 270.1 MB Notification: Performance of Transformations before backend: time 1.263e-05/0.1046, allocations: 3.938 kB / 330.1 MB, free: 1.664 MB / 270.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.0005328/0.1052, allocations: 363.7 kB / 330.4 MB, free: 1.262 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.55e-05/0.1052, allocations: 12.03 kB / 330.4 MB, free: 1.25 MB / 270.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.89e-05/0.1053, allocations: 34.75 kB / 330.5 MB, free: 1.207 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.673e-05/0.1053, allocations: 12.86 kB / 330.5 MB, free: 1.195 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001496/0.1054, allocations: 160.4 kB / 330.6 MB, free: 1 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.01e-05/0.1055, allocations: 384 / 330.6 MB, free: 1 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.233e-05/0.1055, allocations: 8.281 kB / 330.6 MB, free: 0.9922 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.611e-05/0.1056, allocations: 41.81 kB / 330.7 MB, free: 0.9453 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.006e-05/0.1056, allocations: 0 / 330.7 MB, free: 0.9453 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.603e-06/0.1056, allocations: 0 / 330.7 MB, free: 0.9453 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.406e-06/0.1056, allocations: 0 / 330.7 MB, free: 0.9453 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.014e-05/0.1056, allocations: 8 kB / 330.7 MB, free: 0.9375 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001813/0.1058, allocations: 161.7 kB / 330.8 MB, free: 0.7305 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.765e-05/0.1059, allocations: 38.53 kB / 330.9 MB, free: 0.6836 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.333e-05/0.1059, allocations: 8.859 kB / 330.9 MB, free: 0.6719 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.598e-06/0.106, allocations: 0 / 330.9 MB, free: 0.6719 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.754e-05/0.106, allocations: 38.5 kB / 330.9 MB, free: 0.625 MB / 270.1 MB Notification: Performance of pre-optimization done (n=3): time 8.52e-07/0.106, allocations: 4 kB / 330.9 MB, free: 0.6211 MB / 270.1 MB Notification: Performance of matching and sorting (n=3): time 0.0001549/0.1062, allocations: 49.72 kB / 331 MB, free: 0.5664 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.654e-05/0.1062, allocations: 55.34 kB / 331 MB, free: 0.5 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.546e-05/0.1063, allocations: 105.8 kB / 331.1 MB, free: 396 kB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 1.664e-05/0.1063, allocations: 25.7 kB / 331.2 MB, free: 364 kB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.91e-05/0.1064, allocations: 84.14 kB / 331.2 MB, free: 276 kB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.888e-05/0.1064, allocations: 19.72 kB / 331.3 MB, free: 256 kB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.532e-05/0.1065, allocations: 17.72 kB / 331.3 MB, free: 232 kB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.00016/0.1066, allocations: 314.8 kB / 331.6 MB, free: 15.91 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.752e-05/0.1067, allocations: 8 kB / 331.6 MB, free: 15.9 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.6e-05/0.1067, allocations: 21.7 kB / 331.6 MB, free: 15.88 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.897e-05/0.1068, allocations: 29.66 kB / 331.6 MB, free: 15.84 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.1068, allocations: 0 / 331.6 MB, free: 15.84 MB / 286.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 9.197e-05/0.1069, allocations: 57.62 kB / 331.7 MB, free: 15.78 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.35e-05/0.1069, allocations: 4 kB / 331.7 MB, free: 15.77 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.028e-06/0.1069, allocations: 7.969 kB / 331.7 MB, free: 15.77 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.237e-05/0.1069, allocations: 0 / 331.7 MB, free: 15.77 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.062e-05/0.107, allocations: 12 kB / 331.7 MB, free: 15.75 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.54e-06/0.107, allocations: 3.938 kB / 331.7 MB, free: 15.75 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.153e-05/0.107, allocations: 4 kB / 331.7 MB, free: 15.75 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.838e-06/0.107, allocations: 0 / 331.7 MB, free: 15.75 MB / 286.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.75e-05/0.1071, allocations: 113.8 kB / 331.8 MB, free: 15.62 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.17e-05/0.1072, allocations: 3.938 kB / 331.8 MB, free: 15.62 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.951e-05/0.1072, allocations: 7.5 kB / 331.9 MB, free: 15.61 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.442e-06/0.1072, allocations: 4 kB / 331.9 MB, free: 15.6 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.339e-06/0.1072, allocations: 0 / 331.9 MB, free: 15.6 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.118e-06/0.1072, allocations: 4 kB / 331.9 MB, free: 15.6 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001359/0.1074, allocations: 157.6 kB / 332 MB, free: 15.39 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.1074, allocations: 0 / 332 MB, free: 15.39 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.058e-05/0.1074, allocations: 8.062 kB / 332 MB, free: 15.39 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.523e-06/0.1074, allocations: 0 / 332 MB, free: 15.39 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.046e-05/0.1075, allocations: 8 kB / 332 MB, free: 15.38 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.166e-06/0.1075, allocations: 3.984 kB / 332 MB, free: 15.38 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.1075, allocations: 0 / 332 MB, free: 15.38 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000128/0.1076, allocations: 81.48 kB / 332.1 MB, free: 15.28 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.404e-05/0.1077, allocations: 85.08 kB / 332.2 MB, free: 15.18 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.486e-05/0.1077, allocations: 4.031 kB / 332.2 MB, free: 15.17 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.767e-05/0.1077, allocations: 0 / 332.2 MB, free: 15.17 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.464e-05/0.1077, allocations: 0 / 332.2 MB, free: 15.17 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.919e-06/0.1077, allocations: 3.984 kB / 332.2 MB, free: 15.17 MB / 286.1 MB Notification: Performance of sorting global known variables: time 4.69e-05/0.1078, allocations: 79.28 kB / 332.3 MB, free: 15.09 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1078, allocations: 0 / 332.3 MB, free: 15.09 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0002573/0.1081, allocations: 56.05 kB / 332.3 MB, free: 15.04 MB / 286.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.0005637/0.1086, allocations: 0.6708 MB / 333 MB, free: 14.34 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 8.661e-05/0.1087, allocations: 19.98 kB / 333 MB, free: 14.32 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.1087, allocations: 0 / 333 MB, free: 14.32 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 1.518e-05/0.1088, allocations: 8.125 kB / 333 MB, free: 14.31 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001567/0.1089, allocations: 8 kB / 333 MB, free: 14.3 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001099/0.11, allocations: 1.183 MB / 334.2 MB, free: 13.03 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003221/0.1104, allocations: 0.6768 MB / 334.9 MB, free: 12.33 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 9.806e-05/0.1105, allocations: 4 kB / 334.9 MB, free: 12.32 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.95e-05/0.1105, allocations: 15.42 kB / 334.9 MB, free: 12.31 MB / 286.1 MB Notification: Performance of SimCode: time 2.61e-07/0.1105, allocations: 4 kB / 334.9 MB, free: 12.3 MB / 286.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02823/0.1388, allocations: 1.958 MB / 336.9 MB, free: 10.3 MB / 286.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.024/8.163, allocations: 11.67 kB / 336.9 MB, free: 10.29 MB / 286.1 MB (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.002 Modelica_3_2_3_Modelica_Math_Nonlinear_Examples_quadratureLobatto3.fmu > Modelica_3.2.3_Modelica.Math.Nonlinear.Examples.quadratureLobatto3.pipe 2>&1) 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) Reference file matches