Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_cpp_Modelica.Math.Nonlinear.Examples.quadratureLobatto3.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/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.2_cpp_Modelica.Math.Nonlinear.Examples.quadratureLobatto3") Notification: Performance of loadModel(Modelica): time 1.913/1.913, allocations: 194.8 MB / 212.3 MB, free: 3.012 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003431/0.0003432, allocations: 8 kB / 264.5 MB, free: 13.63 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09392/0.09429, allocations: 44.51 MB / 309 MB, free: 1.051 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Math.Nonlinear.Examples.quadratureLobatto3): time 0.0007082/0.09505, allocations: 261.4 kB / 309.2 MB, free: 0.793 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.002438/0.09751, allocations: 1.429 MB / 310.7 MB, free: 15.34 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.592e-05/0.09755, allocations: 0 / 310.7 MB, free: 15.34 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 9.839e-06/0.09758, allocations: 3.938 kB / 310.7 MB, free: 15.34 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006144/0.0982, allocations: 127.5 kB / 310.8 MB, free: 15.21 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 2.77e-05/0.09824, allocations: 7.984 kB / 310.8 MB, free: 15.21 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 4.118e-05/0.0983, allocations: 7.984 kB / 310.8 MB, free: 15.2 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.554e-05/0.09834, allocations: 0 / 310.8 MB, free: 15.2 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.527e-05/0.0984, allocations: 8 kB / 310.8 MB, free: 15.19 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.706e-05/0.09847, allocations: 15.91 kB / 310.8 MB, free: 15.18 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.287e-05/0.09849, allocations: 0 / 310.8 MB, free: 15.18 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004797/0.09898, allocations: 211.7 kB / 311 MB, free: 14.97 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 1.417e-05/0.09901, allocations: 7.984 kB / 311.1 MB, free: 14.96 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 2.876e-05/0.09905, allocations: 25.7 kB / 311.1 MB, free: 14.93 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002714/0.09933, allocations: 119.7 kB / 311.2 MB, free: 14.82 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.885e-06/0.09935, allocations: 4 kB / 311.2 MB, free: 14.81 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.923e-06/0.09936, allocations: 3.938 kB / 311.2 MB, free: 14.81 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.927e-06/0.09937, allocations: 0 / 311.2 MB, free: 14.81 MB / 266.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.0004735/0.09985, allocations: 347.3 kB / 311.5 MB, free: 14.42 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.192e-05/0.09991, allocations: 8.031 kB / 311.5 MB, free: 14.41 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.19e-05/0.09995, allocations: 7.906 kB / 311.6 MB, free: 14.41 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001546/0.1001, allocations: 163 kB / 311.7 MB, free: 14.21 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.52e-05/0.1001, allocations: 4 kB / 311.7 MB, free: 14.2 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.463e-05/0.1002, allocations: 7.984 kB / 311.7 MB, free: 14.2 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001143/0.1003, allocations: 37.64 kB / 311.8 MB, free: 14.15 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.389e-05/0.1003, allocations: 7.938 kB / 311.8 MB, free: 14.14 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.764e-06/0.1003, allocations: 0 / 311.8 MB, free: 14.14 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.469e-06/0.1004, allocations: 0 / 311.8 MB, free: 14.14 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.402e-05/0.1004, allocations: 11.98 kB / 311.8 MB, free: 14.13 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002006/0.1006, allocations: 161.9 kB / 311.9 MB, free: 13.93 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.723e-05/0.1007, allocations: 34.58 kB / 312 MB, free: 13.88 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.195e-05/0.1008, allocations: 0 / 312 MB, free: 13.88 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.026e-05/0.1008, allocations: 38.58 kB / 312 MB, free: 13.84 MB / 266.7 MB Notification: Performance of pre-optimization done (n=3): time 1.363e-06/0.1008, allocations: 0 / 312 MB, free: 13.84 MB / 266.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001677/0.101, allocations: 45.69 kB / 312.1 MB, free: 13.79 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.563e-05/0.101, allocations: 55.41 kB / 312.1 MB, free: 13.72 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001016/0.1011, allocations: 97.86 kB / 312.2 MB, free: 13.61 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.575e-05/0.1012, allocations: 25.7 kB / 312.2 MB, free: 13.58 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.906e-05/0.1012, allocations: 158.6 kB / 312.4 MB, free: 13.43 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.213e-05/0.1013, allocations: 11.8 kB / 312.4 MB, free: 13.41 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.202e-06/0.1013, allocations: 4 kB / 312.4 MB, free: 13.41 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001248/0.1014, allocations: 314.8 kB / 312.7 MB, free: 13.09 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.396e-05/0.1015, allocations: 4 kB / 312.7 MB, free: 13.09 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.641e-05/0.1015, allocations: 25.64 kB / 312.7 MB, free: 13.06 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.197e-05/0.1016, allocations: 4.375 kB / 312.7 MB, free: 13.05 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.489e-06/0.1016, allocations: 7.953 kB / 312.8 MB, free: 13.05 MB / 266.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001107/0.1017, allocations: 53.69 kB / 312.8 MB, free: 12.99 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.495e-05/0.1017, allocations: 8 kB / 312.8 MB, free: 12.98 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.793e-06/0.1017, allocations: 48 / 312.8 MB, free: 12.98 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.37e-05/0.1018, allocations: 7.922 kB / 312.8 MB, free: 12.97 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.98e-05/0.1019, allocations: 11.94 kB / 312.8 MB, free: 12.96 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.192e-06/0.1019, allocations: 0 / 312.8 MB, free: 12.96 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.765e-05/0.1019, allocations: 0 / 312.8 MB, free: 12.96 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.488e-06/0.102, allocations: 4 kB / 312.8 MB, free: 12.96 MB / 266.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 8.618e-05/0.102, allocations: 113.9 kB / 312.9 MB, free: 12.84 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.191e-05/0.1021, allocations: 11.86 kB / 313 MB, free: 12.82 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.076e-05/0.1021, allocations: 7.484 kB / 313 MB, free: 12.81 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.327e-06/0.1021, allocations: 0 / 313 MB, free: 12.81 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.1021, allocations: 0 / 313 MB, free: 12.81 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.391e-05/0.1022, allocations: 77.11 kB / 313 MB, free: 12.72 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.471e-05/0.1022, allocations: 8 kB / 313 MB, free: 12.71 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.687e-05/0.1023, allocations: 0 / 313 MB, free: 12.71 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.77e-05/0.1023, allocations: 0 / 313 MB, free: 12.71 MB / 266.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002062/0.1025, allocations: 136.8 kB / 313.2 MB, free: 12.57 MB / 266.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0002202/0.1027, allocations: 222.7 kB / 313.4 MB, free: 12.34 MB / 266.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 3.021e-05/0.1028, allocations: 8.016 kB / 313.4 MB, free: 12.33 MB / 266.7 MB Notification: Performance of sorting global known variables: time 4.786e-05/0.1028, allocations: 83.28 kB / 313.5 MB, free: 12.25 MB / 266.7 MB Notification: Performance of Backend: time 5.41e-07/0.1029, allocations: 3.938 kB / 313.5 MB, free: 12.24 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0005349/0.1034, allocations: 150.4 kB / 313.6 MB, free: 12.09 MB / 266.7 MB Notification: Performance of SimCode: time 0.0004855/0.1039, allocations: 0.6033 MB / 314.2 MB, free: 11.43 MB / 266.7 MB 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! Error: Internal error GetVarIndexListByMapping: No Element for q found! [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:13946:9-13946: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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:13946:9-13946: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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:13946:9-13946: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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:13946:9-13946: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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:13946:9-13946: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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:13946:9-13946: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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:13946:9-13946: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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:13946:9-13946: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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:13946:9-13946:123:writable] Error: Internal error invalid return value from getVarIndexByMapping for index:3: ws (no alias) initial: 2.0 no arrCref index:(9) []