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: translateModel(Modelica.Math.Nonlinear.Examples.QuadratureLobatto3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|q|qd",fileNamePrefix="Modelica_4.0.0_Modelica.Math.Nonlinear.Examples.QuadratureLobatto3") translateModel(Modelica.Math.Nonlinear.Examples.QuadratureLobatto3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|q|qd",fileNamePrefix="Modelica_4.0.0_Modelica.Math.Nonlinear.Examples.QuadratureLobatto3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00171/0.001711, allocations: 104 kB / 17.59 MB, free: 5.559 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.001836/0.001837, allocations: 191.5 kB / 18.51 MB, free: 4.641 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.454/1.454, allocations: 222.9 MB / 242.2 MB, free: 15.2 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009939/0.000994, allocations: 50.25 kB / 301.3 MB, free: 5.859 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09541/0.09642, allocations: 49.45 MB / 350.7 MB, free: 4.406 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Math.Nonlinear.Examples.QuadratureLobatto3): time 0.001987/0.09845, allocations: 0.5143 MB / 351.2 MB, free: 3.887 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.002029/0.1005, allocations: 1.483 MB / 352.7 MB, free: 2.387 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.107e-05/0.1006, allocations: 7.938 kB / 352.7 MB, free: 2.379 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 1.539e-05/0.1006, allocations: 0 / 352.7 MB, free: 2.379 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007003/0.1013, allocations: 163.5 kB / 352.9 MB, free: 2.219 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 3.053e-05/0.1014, allocations: 11.94 kB / 352.9 MB, free: 2.207 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 4.732e-05/0.1014, allocations: 7.984 kB / 352.9 MB, free: 2.199 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.171e-05/0.1015, allocations: 4 kB / 352.9 MB, free: 2.195 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.233e-05/0.1015, allocations: 15.92 kB / 352.9 MB, free: 2.18 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.669e-05/0.1016, allocations: 11.92 kB / 352.9 MB, free: 2.168 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.317e-05/0.1016, allocations: 4 kB / 352.9 MB, free: 2.164 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003968/0.102, allocations: 235.8 kB / 353.2 MB, free: 1.934 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 1.698e-05/0.102, allocations: 7.938 kB / 353.2 MB, free: 1.926 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 2.41e-05/0.1021, allocations: 7.922 kB / 353.2 MB, free: 1.918 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002936/0.1024, allocations: 171.7 kB / 353.4 MB, free: 1.75 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/0.1024, allocations: 0 / 353.4 MB, free: 1.75 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.1024, allocations: 0 / 353.4 MB, free: 1.75 MB / 286.1 MB Notification: Performance of Transformations before backend: time 5.029e-06/0.1024, allocations: 0 / 353.4 MB, free: 1.75 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.0004555/0.1029, allocations: 367.7 kB / 353.7 MB, free: 1.344 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.667e-05/0.1029, allocations: 12.03 kB / 353.7 MB, free: 1.332 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.259e-05/0.103, allocations: 0.9375 kB / 353.7 MB, free: 1.332 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001417/0.1031, allocations: 168.3 kB / 353.9 MB, free: 1.129 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.757e-05/0.1031, allocations: 384 / 353.9 MB, free: 1.129 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.441e-05/0.1032, allocations: 4.359 kB / 353.9 MB, free: 1.125 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.987e-05/0.1033, allocations: 42 kB / 353.9 MB, free: 1.078 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.849e-06/0.1033, allocations: 0 / 353.9 MB, free: 1.078 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.267e-06/0.1033, allocations: 0 / 353.9 MB, free: 1.078 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.5e-06/0.1033, allocations: 4 kB / 353.9 MB, free: 1.074 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.455e-05/0.1034, allocations: 15.92 kB / 354 MB, free: 1.059 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001717/0.1035, allocations: 157.7 kB / 354.1 MB, free: 0.8555 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.443e-05/0.1036, allocations: 34.58 kB / 354.1 MB, free: 0.8125 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.68e-05/0.1037, allocations: 16.94 kB / 354.2 MB, free: 0.793 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.12e-05/0.1037, allocations: 0 / 354.2 MB, free: 0.793 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.405e-05/0.1037, allocations: 34.5 kB / 354.2 MB, free: 0.75 MB / 286.1 MB Notification: Performance of pre-optimization done (n=3): time 2.274e-06/0.1037, allocations: 4 kB / 354.2 MB, free: 0.7461 MB / 286.1 MB Notification: Performance of matching and sorting (n=3): time 0.0001467/0.1039, allocations: 49.62 kB / 354.3 MB, free: 0.6914 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.349e-05/0.1039, allocations: 51.41 kB / 354.3 MB, free: 0.6289 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.511e-05/0.104, allocations: 109.8 kB / 354.4 MB, free: 0.5117 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.314e-05/0.104, allocations: 25.7 kB / 354.4 MB, free: 492 kB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.611e-05/0.1041, allocations: 80.14 kB / 354.5 MB, free: 408 kB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.33e-05/0.1041, allocations: 15.81 kB / 354.5 MB, free: 392 kB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.153e-05/0.1041, allocations: 17.66 kB / 354.5 MB, free: 368 kB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001251/0.1043, allocations: 322.8 kB / 354.9 MB, free: 36 kB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.951e-05/0.1043, allocations: 4 kB / 354.9 MB, free: 32 kB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.295e-05/0.1043, allocations: 21.72 kB / 354.9 MB, free: 4 kB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.174e-05/0.1044, allocations: 29.66 kB / 354.9 MB, free: 15.97 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.864e-06/0.1044, allocations: 0 / 354.9 MB, free: 15.97 MB / 302.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 8.906e-05/0.1045, allocations: 57.62 kB / 355 MB, free: 15.91 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.471e-05/0.1046, allocations: 11.97 kB / 355 MB, free: 15.89 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.831e-06/0.1046, allocations: 4 kB / 355 MB, free: 15.89 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.266e-05/0.1046, allocations: 0 / 355 MB, free: 15.89 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.333e-05/0.1047, allocations: 11.98 kB / 355 MB, free: 15.88 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.254e-06/0.1047, allocations: 3.984 kB / 355 MB, free: 15.88 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.323e-05/0.1047, allocations: 3.938 kB / 355 MB, free: 15.87 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.047e-06/0.1047, allocations: 0 / 355 MB, free: 15.87 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 7.596e-05/0.1048, allocations: 113.8 kB / 355.1 MB, free: 15.75 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.519e-05/0.1048, allocations: 8.266 kB / 355.1 MB, free: 15.74 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.657e-05/0.1049, allocations: 7.5 kB / 355.1 MB, free: 15.73 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.422e-06/0.1049, allocations: 4 kB / 355.1 MB, free: 15.72 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.148e-06/0.1049, allocations: 0 / 355.1 MB, free: 15.72 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.1e-06/0.1049, allocations: 7.969 kB / 355.1 MB, free: 15.71 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001116/0.105, allocations: 149.7 kB / 355.3 MB, free: 15.52 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.625e-06/0.105, allocations: 3.984 kB / 355.3 MB, free: 15.52 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.38e-05/0.1051, allocations: 8 kB / 355.3 MB, free: 15.51 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.641e-06/0.1051, allocations: 3.938 kB / 355.3 MB, free: 15.5 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.855e-06/0.1051, allocations: 3.938 kB / 355.3 MB, free: 15.5 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.1051, allocations: 0 / 355.3 MB, free: 15.5 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.1051, allocations: 0 / 355.3 MB, free: 15.5 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001215/0.1052, allocations: 77.12 kB / 355.4 MB, free: 15.41 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.558e-05/0.1053, allocations: 89.06 kB / 355.5 MB, free: 15.3 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.378e-05/0.1053, allocations: 0 / 355.5 MB, free: 15.3 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.771e-05/0.1053, allocations: 0 / 355.5 MB, free: 15.3 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.295e-05/0.1054, allocations: 0 / 355.5 MB, free: 15.3 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.622e-06/0.1054, allocations: 8 kB / 355.5 MB, free: 15.29 MB / 302.1 MB Notification: Performance of sorting global known variables: time 3.805e-05/0.1054, allocations: 79.28 kB / 355.6 MB, free: 15.21 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1054, allocations: 4.062 kB / 355.6 MB, free: 15.21 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002719/0.1057, allocations: 47.98 kB / 355.6 MB, free: 15.16 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.0002708/0.106, allocations: 155.1 kB / 355.8 MB, free: 15 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 8.747e-05/0.1061, allocations: 23.92 kB / 355.8 MB, free: 14.98 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.1061, allocations: 3.938 kB / 355.8 MB, free: 14.97 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 1.518e-05/0.1061, allocations: 4 kB / 355.8 MB, free: 14.97 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001472/0.1063, allocations: 11.5 kB / 355.8 MB, free: 14.96 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002999/0.1066, allocations: 167.9 kB / 356 MB, free: 14.77 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002759/0.1069, allocations: 0.6768 MB / 356.6 MB, free: 14.06 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.443e-05/0.1069, allocations: 11.44 kB / 356.7 MB, free: 14.05 MB / 302.1 MB Notification: Performance of SimCode: time 5.01e-07/0.1069, allocations: 0 / 356.7 MB, free: 14.05 MB / 302.1 MB Notification: Performance of Templates: time 0.003019/0.1099, allocations: 1.148 MB / 357.8 MB, free: 12.9 MB / 302.1 MB make -j1 -f Modelica_4.0.0_Modelica.Math.Nonlinear.Examples.QuadratureLobatto3.makefile (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 & ./Modelica_4.0.0_Modelica.Math.Nonlinear.Examples.QuadratureLobatto3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > 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