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.001198/0.001198, allocations: 105.9 kB / 17.16 MB, free: 6.082 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.001184/0.001184, allocations: 194.9 kB / 18.08 MB, free: 5.285 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.369/1.369, allocations: 222.9 MB / 241.8 MB, free: 13.75 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001135/0.001135, allocations: 52.3 kB / 300.6 MB, free: 6.07 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1029/0.1041, allocations: 49.44 MB / 350.1 MB, free: 4.625 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Math.Nonlinear.Examples.QuadratureLobatto3): time 0.002157/0.1063, allocations: 0.5791 MB / 350.6 MB, free: 4.043 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.002321/0.1086, allocations: 1.53 MB / 352.2 MB, free: 2.496 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.41e-05/0.1087, allocations: 0 / 352.2 MB, free: 2.496 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 2.142e-05/0.1087, allocations: 4 kB / 352.2 MB, free: 2.492 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006129/0.1093, allocations: 125.8 kB / 352.3 MB, free: 2.371 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 3.333e-05/0.1094, allocations: 11.98 kB / 352.3 MB, free: 2.359 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 4.561e-05/0.1094, allocations: 7.984 kB / 352.3 MB, free: 2.352 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.151e-05/0.1095, allocations: 4 kB / 352.3 MB, free: 2.348 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.446e-05/0.1095, allocations: 15.88 kB / 352.3 MB, free: 2.332 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.517e-05/0.1096, allocations: 4 kB / 352.3 MB, free: 2.328 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.43e-05/0.1096, allocations: 4 kB / 352.3 MB, free: 2.324 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004348/0.1101, allocations: 239.7 kB / 352.6 MB, free: 2.09 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 2.248e-05/0.1101, allocations: 7.922 kB / 352.6 MB, free: 2.082 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 2.397e-05/0.1101, allocations: 8 kB / 352.6 MB, free: 2.074 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002274/0.1104, allocations: 123.8 kB / 352.7 MB, free: 1.953 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/0.1104, allocations: 0 / 352.7 MB, free: 1.953 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.042e-06/0.1104, allocations: 0 / 352.7 MB, free: 1.953 MB / 286.1 MB Notification: Performance of Transformations before backend: time 4.378e-06/0.1104, allocations: 0 / 352.7 MB, free: 1.953 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.000482/0.1109, allocations: 359.5 kB / 353.1 MB, free: 1.555 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.466e-05/0.1109, allocations: 8.031 kB / 353.1 MB, free: 1.547 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.103e-05/0.111, allocations: 8.938 kB / 353.1 MB, free: 1.539 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001558/0.1111, allocations: 168.5 kB / 353.2 MB, free: 1.336 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.414e-05/0.1112, allocations: 4.375 kB / 353.2 MB, free: 1.332 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.042e-05/0.1112, allocations: 384 / 353.2 MB, free: 1.332 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001001/0.1113, allocations: 42 kB / 353.3 MB, free: 1.285 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.182e-05/0.1113, allocations: 0 / 353.3 MB, free: 1.285 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.274e-05/0.1113, allocations: 3.938 kB / 353.3 MB, free: 1.281 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.458e-06/0.1113, allocations: 3.938 kB / 353.3 MB, free: 1.277 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.861e-05/0.1114, allocations: 15.98 kB / 353.3 MB, free: 1.262 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002174/0.1116, allocations: 153.7 kB / 353.5 MB, free: 1.062 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.817e-05/0.1117, allocations: 34.58 kB / 353.5 MB, free: 1.02 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.961e-05/0.1117, allocations: 16.94 kB / 353.5 MB, free: 1 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.376e-06/0.1117, allocations: 0 / 353.5 MB, free: 1 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.88e-05/0.1118, allocations: 34.5 kB / 353.5 MB, free: 0.957 MB / 286.1 MB Notification: Performance of pre-optimization done (n=3): time 2.514e-06/0.1118, allocations: 11.92 kB / 353.6 MB, free: 0.9453 MB / 286.1 MB Notification: Performance of matching and sorting (n=3): time 0.0001589/0.1119, allocations: 45.69 kB / 353.6 MB, free: 0.8945 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.33e-05/0.112, allocations: 51.41 kB / 353.6 MB, free: 0.832 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.158e-05/0.1121, allocations: 101.9 kB / 353.7 MB, free: 0.7227 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.324e-05/0.1121, allocations: 25.7 kB / 353.8 MB, free: 0.6914 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.584e-05/0.1122, allocations: 88.11 kB / 353.9 MB, free: 0.6016 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.158e-05/0.1122, allocations: 11.81 kB / 353.9 MB, free: 0.5898 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.868e-05/0.1122, allocations: 13.72 kB / 353.9 MB, free: 0.5703 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001201/0.1124, allocations: 322.8 kB / 354.2 MB, free: 252 kB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.003e-05/0.1124, allocations: 7.984 kB / 354.2 MB, free: 244 kB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.074e-05/0.1124, allocations: 17.72 kB / 354.2 MB, free: 220 kB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.792e-05/0.1125, allocations: 29.66 kB / 354.3 MB, free: 184 kB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.076e-06/0.1125, allocations: 0 / 354.3 MB, free: 184 kB / 286.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 8.671e-05/0.1126, allocations: 61.56 kB / 354.3 MB, free: 116 kB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.406e-05/0.1126, allocations: 7.938 kB / 354.3 MB, free: 108 kB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.509e-06/0.1126, allocations: 4.031 kB / 354.3 MB, free: 104 kB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.345e-05/0.1126, allocations: 4 kB / 354.3 MB, free: 100 kB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.628e-05/0.1127, allocations: 7.984 kB / 354.3 MB, free: 92 kB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.325e-06/0.1127, allocations: 4 kB / 354.3 MB, free: 88 kB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.122e-05/0.1128, allocations: 0 / 354.3 MB, free: 88 kB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.811e-06/0.1128, allocations: 3.984 kB / 354.3 MB, free: 84 kB / 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 9.829e-05/0.1129, allocations: 113.9 kB / 354.5 MB, free: 15.96 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.513e-05/0.1129, allocations: 7.844 kB / 354.5 MB, free: 15.95 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.801e-05/0.1129, allocations: 3.5 kB / 354.5 MB, free: 15.94 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.727e-06/0.113, allocations: 8 kB / 354.5 MB, free: 15.93 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.879e-06/0.113, allocations: 0 / 354.5 MB, free: 15.93 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.715e-06/0.113, allocations: 0 / 354.5 MB, free: 15.93 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001129/0.1131, allocations: 157.6 kB / 354.6 MB, free: 15.73 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.1131, allocations: 0 / 354.6 MB, free: 15.73 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.879e-05/0.1132, allocations: 11.98 kB / 354.6 MB, free: 15.71 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.008e-06/0.1132, allocations: 7.875 kB / 354.6 MB, free: 15.71 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.818e-06/0.1132, allocations: 4.125 kB / 354.7 MB, free: 15.7 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.674e-06/0.1132, allocations: 0 / 354.7 MB, free: 15.7 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.1132, allocations: 0 / 354.7 MB, free: 15.7 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001275/0.1133, allocations: 81.06 kB / 354.7 MB, free: 15.61 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.767e-05/0.1134, allocations: 81.05 kB / 354.8 MB, free: 15.51 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.575e-05/0.1134, allocations: 8.016 kB / 354.8 MB, free: 15.5 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.875e-05/0.1134, allocations: 0 / 354.8 MB, free: 15.5 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.42e-05/0.1135, allocations: 4.469 kB / 354.8 MB, free: 15.5 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.745e-06/0.1135, allocations: 0 / 354.8 MB, free: 15.5 MB / 302.1 MB Notification: Performance of sorting global known variables: time 6.547e-05/0.1135, allocations: 83.27 kB / 354.9 MB, free: 15.41 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.41e-07/0.1135, allocations: 0 / 354.9 MB, free: 15.41 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003061/0.1139, allocations: 60.05 kB / 355 MB, free: 15.36 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.000278/0.1141, allocations: 151.1 kB / 355.1 MB, free: 15.2 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 8.319e-05/0.1142, allocations: 23.92 kB / 355.1 MB, free: 15.18 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.436e-06/0.1143, allocations: 0 / 355.1 MB, free: 15.18 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 1.349e-05/0.1143, allocations: 7.938 kB / 355.1 MB, free: 15.17 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001543/0.1144, allocations: 4 kB / 355.1 MB, free: 15.16 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003015/0.1147, allocations: 161.7 kB / 355.3 MB, free: 14.97 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002569/0.115, allocations: 0.6809 MB / 356 MB, free: 14.27 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.165e-05/0.115, allocations: 15.44 kB / 356 MB, free: 14.25 MB / 302.1 MB Notification: Performance of SimCode: time 3.91e-07/0.115, allocations: 0 / 356 MB, free: 14.25 MB / 302.1 MB Notification: Performance of Templates: time 0.002894/0.1179, allocations: 1.139 MB / 357.1 MB, free: 13.11 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