Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Math.Nonlinear.Examples.quadratureLobatto3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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_3.2.3_cpp_Modelica.Math.Nonlinear.Examples.quadratureLobatto3") translateModel(Modelica.Math.Nonlinear.Examples.quadratureLobatto3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|q|qd",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Math.Nonlinear.Examples.quadratureLobatto3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002144/0.002144, allocations: 178.1 kB / 17.39 MB, free: 4.422 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.657/2.657, allocations: 205.4 MB / 223.5 MB, free: 9.012 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001155/0.001155, allocations: 90.38 kB / 271.9 MB, free: 8.25 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005571/0.0005571, allocations: 8 kB / 328.2 MB, free: 15.9 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4959/0.4965, allocations: 47.57 MB / 375.7 MB, free: 45.43 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Math.Nonlinear.Examples.quadratureLobatto3): time 0.001138/0.4977, allocations: 265.2 kB / 376 MB, free: 45.23 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.002873/0.5006, allocations: 1.445 MB / 377.4 MB, free: 44.07 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.01e-05/0.5007, allocations: 0 / 377.4 MB, free: 44.07 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 2.217e-05/0.5008, allocations: 7.875 kB / 377.5 MB, free: 44.07 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008081/0.5016, allocations: 127.8 kB / 377.6 MB, free: 43.99 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 2.673e-05/0.5016, allocations: 5.109 kB / 377.6 MB, free: 43.98 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 7.796e-05/0.5017, allocations: 21.3 kB / 377.6 MB, free: 43.97 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.775e-05/0.5018, allocations: 1.25 kB / 377.6 MB, free: 43.97 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.855e-05/0.5018, allocations: 8.844 kB / 377.6 MB, free: 43.96 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.671e-05/0.5019, allocations: 6.359 kB / 377.6 MB, free: 43.96 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.854e-05/0.502, allocations: 0 / 377.6 MB, free: 43.96 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004944/0.5025, allocations: 227.9 kB / 377.8 MB, free: 43.85 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 1.888e-05/0.5025, allocations: 5.188 kB / 377.8 MB, free: 43.84 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 5.627e-05/0.5026, allocations: 40.03 kB / 377.9 MB, free: 43.8 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002993/0.5029, allocations: 122.3 kB / 378 MB, free: 43.74 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.017e-05/0.5029, allocations: 0 / 378 MB, free: 43.74 MB / 298.7 MB Notification: Performance of FrontEnd: time 3.186e-06/0.5029, allocations: 0 / 378 MB, free: 43.74 MB / 298.7 MB Notification: Performance of Transformations before backend: time 7.514e-06/0.5029, allocations: 0 / 378 MB, free: 43.74 MB / 298.7 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.0006322/0.5036, allocations: 346.3 kB / 378.3 MB, free: 43.37 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 8.183e-05/0.5036, allocations: 9 kB / 378.4 MB, free: 43.37 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.463e-05/0.5037, allocations: 5.688 kB / 378.4 MB, free: 43.36 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002048/0.5039, allocations: 176.9 kB / 378.5 MB, free: 43.16 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.405e-05/0.504, allocations: 4.375 kB / 378.5 MB, free: 43.15 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.279e-05/0.504, allocations: 5.719 kB / 378.5 MB, free: 43.15 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001302/0.5041, allocations: 38.25 kB / 378.6 MB, free: 43.11 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.606e-05/0.5042, allocations: 0 / 378.6 MB, free: 43.11 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.527e-05/0.5042, allocations: 1 kB / 378.6 MB, free: 43.11 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.704e-06/0.5042, allocations: 0 / 378.6 MB, free: 43.11 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.324e-05/0.5043, allocations: 9.406 kB / 378.6 MB, free: 43.11 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002357/0.5045, allocations: 158.1 kB / 378.7 MB, free: 42.91 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001032/0.5046, allocations: 41.39 kB / 378.8 MB, free: 42.87 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.584e-05/0.5047, allocations: 8.359 kB / 378.8 MB, free: 42.86 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.703e-05/0.5047, allocations: 1.281 kB / 378.8 MB, free: 42.86 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.07e-05/0.5047, allocations: 39.69 kB / 378.8 MB, free: 42.81 MB / 298.7 MB Notification: Performance of pre-optimization done (n=3): time 1.242e-06/0.5047, allocations: 0 / 378.8 MB, free: 42.81 MB / 298.7 MB Notification: Performance of matching and sorting (n=3): time 0.0002455/0.505, allocations: 49.66 kB / 378.9 MB, free: 42.77 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.948e-05/0.505, allocations: 52.69 kB / 378.9 MB, free: 42.71 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001275/0.5052, allocations: 104.1 kB / 379 MB, free: 42.6 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.142e-05/0.5052, allocations: 29.7 kB / 379.1 MB, free: 42.57 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.667e-05/0.5053, allocations: 81.77 kB / 379.1 MB, free: 42.48 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.567e-05/0.5053, allocations: 12.98 kB / 379.2 MB, free: 42.47 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.82e-06/0.5053, allocations: 4 kB / 379.2 MB, free: 42.47 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001365/0.5055, allocations: 315.9 kB / 379.5 MB, free: 42.15 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.171e-05/0.5055, allocations: 3.406 kB / 379.5 MB, free: 42.15 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.244e-05/0.5055, allocations: 19.94 kB / 379.5 MB, free: 42.13 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.604e-05/0.5056, allocations: 43.33 kB / 379.5 MB, free: 42.09 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.354e-06/0.5056, allocations: 0 / 379.5 MB, free: 42.09 MB / 298.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001001/0.5057, allocations: 58.19 kB / 379.6 MB, free: 42.05 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.804e-05/0.5058, allocations: 9.531 kB / 379.6 MB, free: 42.04 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.878e-06/0.5058, allocations: 0.9688 kB / 379.6 MB, free: 42.04 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.264e-05/0.5058, allocations: 1.297 kB / 379.6 MB, free: 42.04 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001292/0.506, allocations: 10.86 kB / 379.6 MB, free: 42.04 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.976e-06/0.506, allocations: 0 / 379.6 MB, free: 42.04 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.064e-05/0.506, allocations: 5.219 kB / 379.6 MB, free: 42.04 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.097e-05/0.506, allocations: 6.094 kB / 379.6 MB, free: 42.03 MB / 298.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.697e-05/0.5061, allocations: 111 kB / 379.7 MB, free: 41.91 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.152e-05/0.5061, allocations: 6.312 kB / 379.7 MB, free: 41.91 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.127e-05/0.5062, allocations: 11.48 kB / 379.7 MB, free: 41.89 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.37e-06/0.5062, allocations: 1.219 kB / 379.7 MB, free: 41.89 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.5062, allocations: 0 / 379.7 MB, free: 41.89 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.538e-05/0.5063, allocations: 78.27 kB / 379.8 MB, free: 41.8 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.024e-05/0.5063, allocations: 1.062 kB / 379.8 MB, free: 41.8 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.829e-05/0.5063, allocations: 4 kB / 379.8 MB, free: 41.8 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.681e-05/0.5064, allocations: 1.031 kB / 379.8 MB, free: 41.8 MB / 298.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001879/0.5065, allocations: 129.6 kB / 380 MB, free: 41.68 MB / 298.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0002094/0.5068, allocations: 231.6 kB / 380.2 MB, free: 41.45 MB / 298.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 3.288e-05/0.5068, allocations: 7.297 kB / 380.2 MB, free: 41.45 MB / 298.7 MB Notification: Performance of sorting global known variables: time 3.803e-05/0.5069, allocations: 83.72 kB / 380.3 MB, free: 41.37 MB / 298.7 MB Notification: Performance of Backend: time 3.21e-07/0.5069, allocations: 4.062 kB / 380.3 MB, free: 41.36 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0006553/0.5075, allocations: 137.2 kB / 380.4 MB, free: 41.28 MB / 298.7 MB Notification: Performance of SimCode: time 0.0005412/0.5081, allocations: 0.6127 MB / 381 MB, free: 40.64 MB / 298.7 MB Error: Internal error GetVarIndexListByMapping: No Element for q found! [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:14198:9-14198:123:writable] Error: Internal error invalid return value from getVarIndexByMapping for index:0: q (no alias) initial: 1.0 no arrCref index:(1) [] Error: Internal error GetVarIndexListByMapping: No Element for qd found! [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:14198:9-14198:123:writable] Error: Internal error invalid return value from getVarIndexByMapping for index:1: qd (no alias) initial: 0.0 no arrCref index:(2) [] Error: Internal error GetVarIndexListByMapping: No Element for $DER.q found! [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:14198:9-14198:123:writable] Error: Internal error invalid return value from getVarIndexByMapping for index:0: $DER.q (no alias) initial: no arrCref index:(3) [] Error: Internal error GetVarIndexListByMapping: No Element for $DER.qd found! [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:14198:9-14198:123:writable] Error: Internal error invalid return value from getVarIndexByMapping for index:1: $DER.qd (no alias) initial: no arrCref index:(4) [] Error: Internal error GetVarIndexListByMapping: No Element for x found! [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:14198:9-14198:123:writable] Error: Internal error invalid return value from getVarIndexByMapping for index:0: x (no alias) initial: no arrCref index:(5) [] Error: Internal error GetVarIndexListByMapping: No Element for A found! [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:14198:9-14198:123:writable] Error: Internal error invalid return value from getVarIndexByMapping for index:0: A (no alias) initial: 1.0 no arrCref index:(6) [] Error: Internal error GetVarIndexListByMapping: No Element for s found! [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:14198:9-14198:123:writable] Error: Internal error invalid return value from getVarIndexByMapping for index:1: s (no alias) initial: no arrCref index:(7) [] Error: Internal error GetVarIndexListByMapping: No Element for wq found! [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:14198:9-14198:123:writable] Error: Internal error invalid return value from getVarIndexByMapping for index:2: wq (no alias) initial: 3.0 no arrCref index:(8) [] Error: Internal error GetVarIndexListByMapping: No Element for ws found! [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:14198:9-14198:123:writable] Error: Internal error invalid return value from getVarIndexByMapping for index:3: ws (no alias) initial: 2.0 no arrCref index:(9) [] Error: Internal error GetVarIndexListByMapping: No Element for q found! Error: Internal error GetVarIndexListByMapping: No Element for qd found! Error: Internal error GetVarIndexListByMapping: No Element for $DER.q found! Error: Internal error GetVarIndexListByMapping: No Element for $DER.qd found! Error: Internal error GetVarIndexListByMapping: No Element for x found! Error: Internal error GetVarIndexListByMapping: No Element for A found! Error: Internal error GetVarIndexListByMapping: No Element for s found! Error: Internal error GetVarIndexListByMapping: No Element for wq found! Error: Internal error GetVarIndexListByMapping: No Element for ws found!