Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_cpp_Modelica.Math.Nonlinear.Examples.QuadratureLobatto3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: translateModel(Modelica.Math.Nonlinear.Examples.QuadratureLobatto3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|q|qd",fileNamePrefix="Modelica_trunk_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_trunk_cpp_Modelica.Math.Nonlinear.Examples.QuadratureLobatto3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001959/0.001959, allocations: 200.5 kB / 18.05 MB, free: 3.633 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 2.028/2.028, allocations: 226.5 MB / 245.3 MB, free: 8.176 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001369/0.00137, allocations: 94.5 kB / 297.4 MB, free: 6.906 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004512/0.0004512, allocations: 8 kB / 357.4 MB, free: 10.93 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5125/0.513, allocations: 51.31 MB / 408.7 MB, free: 27.73 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Math.Nonlinear.Examples.QuadratureLobatto3): time 0.0009141/0.514, allocations: 253.5 kB / 408.9 MB, free: 27.48 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001938/0.516, allocations: 1.475 MB / 410.4 MB, free: 26 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.544e-05/0.516, allocations: 1.594 kB / 410.4 MB, free: 26 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 2.669e-05/0.5161, allocations: 0 / 410.4 MB, free: 26 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008018/0.5169, allocations: 121.1 kB / 410.5 MB, free: 25.88 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 2.722e-05/0.5169, allocations: 0 / 410.5 MB, free: 25.88 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 7.104e-05/0.517, allocations: 21.8 kB / 410.6 MB, free: 25.86 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.461e-05/0.5171, allocations: 4 kB / 410.6 MB, free: 25.86 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.507e-05/0.5172, allocations: 11.92 kB / 410.6 MB, free: 25.84 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.59e-05/0.5173, allocations: 4 kB / 410.6 MB, free: 25.84 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.019e-05/0.5173, allocations: 4 kB / 410.6 MB, free: 25.84 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004214/0.5177, allocations: 236.2 kB / 410.8 MB, free: 25.61 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 1.594e-05/0.5178, allocations: 4.688 kB / 410.8 MB, free: 25.6 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 4.157e-05/0.5178, allocations: 29.7 kB / 410.8 MB, free: 25.57 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002462/0.5181, allocations: 124.8 kB / 411 MB, free: 25.45 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.357e-06/0.5181, allocations: 0 / 411 MB, free: 25.45 MB / 298.7 MB Notification: Performance of FrontEnd: time 4.298e-06/0.5181, allocations: 0.75 kB / 411 MB, free: 25.45 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.35e-05/0.5181, allocations: 0 / 411 MB, free: 25.45 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.0005805/0.5187, allocations: 360.4 kB / 411.3 MB, free: 25.05 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.105e-05/0.5188, allocations: 12.02 kB / 411.3 MB, free: 25.04 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.938e-05/0.5188, allocations: 1.688 kB / 411.3 MB, free: 25.04 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001822/0.519, allocations: 169.3 kB / 411.5 MB, free: 24.83 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.11e-05/0.5191, allocations: 4.375 kB / 411.5 MB, free: 24.83 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.173e-05/0.5191, allocations: 4.375 kB / 411.5 MB, free: 24.82 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001177/0.5192, allocations: 42 kB / 411.5 MB, free: 24.78 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.506e-05/0.5193, allocations: 0 / 411.5 MB, free: 24.78 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.298e-05/0.5193, allocations: 0 / 411.5 MB, free: 24.78 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.223e-06/0.5193, allocations: 0 / 411.5 MB, free: 24.78 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.865e-05/0.5194, allocations: 7.984 kB / 411.6 MB, free: 24.77 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002086/0.5196, allocations: 157.6 kB / 411.7 MB, free: 24.57 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.322e-05/0.5197, allocations: 42.55 kB / 411.7 MB, free: 24.52 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.652e-05/0.5197, allocations: 8.859 kB / 411.8 MB, free: 24.5 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.489e-05/0.5197, allocations: 0 / 411.8 MB, free: 24.5 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.425e-05/0.5198, allocations: 34.5 kB / 411.8 MB, free: 24.46 MB / 298.7 MB Notification: Performance of pre-optimization done (n=3): time 1.403e-06/0.5198, allocations: 0 / 411.8 MB, free: 24.46 MB / 298.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001865/0.52, allocations: 57.62 kB / 411.8 MB, free: 24.4 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.59e-05/0.52, allocations: 55.39 kB / 411.9 MB, free: 24.33 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.082e-05/0.5201, allocations: 101.9 kB / 412 MB, free: 24.22 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.062e-05/0.5201, allocations: 25.7 kB / 412 MB, free: 24.19 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.528e-05/0.5201, allocations: 88.14 kB / 412.1 MB, free: 24.1 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.666e-05/0.5202, allocations: 7.891 kB / 412.1 MB, free: 24.09 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.705e-06/0.5202, allocations: 0 / 412.1 MB, free: 24.09 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 6.98e-05/0.5203, allocations: 314.8 kB / 412.4 MB, free: 23.78 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.558e-05/0.5203, allocations: 4 kB / 412.4 MB, free: 23.77 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.808e-05/0.5203, allocations: 25.7 kB / 412.5 MB, free: 23.74 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.438e-05/0.5204, allocations: 30.08 kB / 412.5 MB, free: 23.71 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.5204, allocations: 0 / 412.5 MB, free: 23.71 MB / 298.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 7.734e-05/0.5205, allocations: 61.53 kB / 412.5 MB, free: 23.64 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.055e-05/0.5205, allocations: 15.88 kB / 412.6 MB, free: 23.62 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.552e-06/0.5205, allocations: 0 / 412.6 MB, free: 23.62 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.553e-05/0.5205, allocations: 0 / 412.6 MB, free: 23.62 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.821e-05/0.5206, allocations: 8 kB / 412.6 MB, free: 23.62 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.078e-05/0.5207, allocations: 3.938 kB / 412.6 MB, free: 23.61 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.989e-05/0.5207, allocations: 7.969 kB / 412.6 MB, free: 23.61 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.021e-06/0.5207, allocations: 4 kB / 412.6 MB, free: 23.6 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 6.913e-05/0.5208, allocations: 109.8 kB / 412.7 MB, free: 23.48 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.899e-06/0.5208, allocations: 11.92 kB / 412.7 MB, free: 23.47 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.365e-05/0.5208, allocations: 3.5 kB / 412.7 MB, free: 23.46 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.967e-06/0.5208, allocations: 0 / 412.7 MB, free: 23.46 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.72e-07/0.5208, allocations: 0 / 412.7 MB, free: 23.46 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.534e-05/0.5209, allocations: 81.02 kB / 412.8 MB, free: 23.36 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.552e-05/0.5209, allocations: 4 kB / 412.8 MB, free: 23.36 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.789e-05/0.5209, allocations: 4 kB / 412.8 MB, free: 23.36 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.995e-05/0.521, allocations: 7.984 kB / 412.8 MB, free: 23.35 MB / 298.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001462/0.5211, allocations: 121 kB / 412.9 MB, free: 23.22 MB / 298.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0001691/0.5213, allocations: 226.7 kB / 413.1 MB, free: 22.98 MB / 298.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 2.654e-05/0.5213, allocations: 12.02 kB / 413.2 MB, free: 22.97 MB / 298.7 MB Notification: Performance of sorting global known variables: time 3.042e-05/0.5214, allocations: 79.28 kB / 413.2 MB, free: 22.89 MB / 298.7 MB Notification: Performance of Backend: time 1.8e-07/0.5214, allocations: 4.062 kB / 413.2 MB, free: 22.89 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0005476/0.5219, allocations: 144.8 kB / 413.4 MB, free: 22.74 MB / 298.7 MB Notification: Performance of SimCode: time 0.0004437/0.5224, allocations: 0.6072 MB / 414 MB, free: 22.08 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!