Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.1_cpp_Modelica.Math.Nonlinear.Examples.quadratureLobatto3.conf.json Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/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.1_cpp_Modelica.Math.Nonlinear.Examples.quadratureLobatto3") Notification: Performance of loadModel(Modelica): time 1.761/1.761, allocations: 171.1 MB / 187.3 MB, free: 1.145 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003488/0.0003488, allocations: 8 kB / 233.8 MB, free: 3.09 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1023/0.1026, allocations: 38.78 MB / 272.6 MB, free: 12.23 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Math.Nonlinear.Examples.quadratureLobatto3): time 0.0007911/0.1035, allocations: 244.5 kB / 272.8 MB, free: 11.98 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.006738/0.1102, allocations: 1.433 MB / 274.2 MB, free: 10.54 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.308e-05/0.1104, allocations: 0 / 274.2 MB, free: 10.54 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 1.841e-05/0.1104, allocations: 4 kB / 274.2 MB, free: 10.53 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001126/0.1116, allocations: 119.7 kB / 274.4 MB, free: 10.41 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 3.35e-05/0.1116, allocations: 0 / 274.4 MB, free: 10.41 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 7.68e-05/0.1117, allocations: 15.92 kB / 274.4 MB, free: 10.4 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.887e-05/0.1118, allocations: 7.984 kB / 274.4 MB, free: 10.39 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.338e-05/0.1119, allocations: 4 kB / 274.4 MB, free: 10.39 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.478e-05/0.112, allocations: 7.938 kB / 274.4 MB, free: 10.38 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 1.944e-05/0.112, allocations: 3.984 kB / 274.4 MB, free: 10.38 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006671/0.1187, allocations: 219.7 kB / 274.6 MB, free: 10.16 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 1.357e-05/0.1187, allocations: 0 / 274.6 MB, free: 10.16 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 3.905e-05/0.1188, allocations: 33.64 kB / 274.6 MB, free: 10.12 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003652/0.1192, allocations: 115.8 kB / 274.8 MB, free: 10.01 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.577e-06/0.1192, allocations: 0 / 274.8 MB, free: 10.01 MB / 234.7 MB Notification: Performance of FrontEnd: time 2.194e-06/0.1192, allocations: 0 / 274.8 MB, free: 10.01 MB / 234.7 MB Notification: Performance of Transformations before backend: time 5.3e-06/0.1192, allocations: 0 / 274.8 MB, free: 10.01 MB / 234.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.0005707/0.1198, allocations: 355.3 kB / 275.1 MB, free: 9.613 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.61e-05/0.1199, allocations: 12.02 kB / 275.1 MB, free: 9.602 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.581e-05/0.1199, allocations: 3.938 kB / 275.1 MB, free: 9.598 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001854/0.1201, allocations: 167.1 kB / 275.3 MB, free: 9.395 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.644e-05/0.1202, allocations: 3.953 kB / 275.3 MB, free: 9.391 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.998e-05/0.1202, allocations: 7.906 kB / 275.3 MB, free: 9.383 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001049/0.1203, allocations: 37.69 kB / 275.3 MB, free: 9.34 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.258e-05/0.1204, allocations: 0 / 275.3 MB, free: 9.34 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.208e-06/0.1204, allocations: 0 / 275.3 MB, free: 9.34 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.22e-06/0.1204, allocations: 0 / 275.3 MB, free: 9.34 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.182e-05/0.1205, allocations: 15.92 kB / 275.3 MB, free: 9.324 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002398/0.1207, allocations: 157.9 kB / 275.5 MB, free: 9.121 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.664e-05/0.1208, allocations: 34.61 kB / 275.5 MB, free: 9.078 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.482e-05/0.1209, allocations: 3.953 kB / 275.5 MB, free: 9.074 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.797e-05/0.1209, allocations: 34.56 kB / 275.6 MB, free: 9.031 MB / 234.7 MB Notification: Performance of pre-optimization done (n=3): time 1.843e-06/0.1209, allocations: 0 / 275.6 MB, free: 9.031 MB / 234.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001896/0.1211, allocations: 57.7 kB / 275.6 MB, free: 8.969 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.119e-05/0.1212, allocations: 55.34 kB / 275.7 MB, free: 8.902 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001165/0.1213, allocations: 101.8 kB / 275.8 MB, free: 8.793 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 1.877e-05/0.1213, allocations: 25.7 kB / 275.8 MB, free: 8.762 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.581e-05/0.1214, allocations: 154.6 kB / 276 MB, free: 8.609 MB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.356e-05/0.1215, allocations: 7.812 kB / 276 MB, free: 8.602 MB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.044e-06/0.1215, allocations: 4 kB / 276 MB, free: 8.598 MB / 234.7 MB Notification: Performance of setup shared object (initialization): time 0.0003452/0.1219, allocations: 314.8 kB / 276.3 MB, free: 8.281 MB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.765e-05/0.1219, allocations: 4 kB / 276.3 MB, free: 8.277 MB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.047e-05/0.122, allocations: 25.72 kB / 276.3 MB, free: 8.246 MB / 234.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.462e-05/0.1221, allocations: 8 kB / 276.3 MB, free: 8.238 MB / 234.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.825e-06/0.1221, allocations: 0 / 276.3 MB, free: 8.238 MB / 234.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001735/0.1223, allocations: 53.62 kB / 276.4 MB, free: 8.18 MB / 234.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.53e-05/0.1223, allocations: 9.984 kB / 276.4 MB, free: 8.172 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.508e-06/0.1223, allocations: 4 kB / 276.4 MB, free: 8.168 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.62e-05/0.1224, allocations: 0 / 276.4 MB, free: 8.168 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001537/0.1225, allocations: 11.98 kB / 276.4 MB, free: 8.156 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.926e-06/0.1226, allocations: 4.031 kB / 276.4 MB, free: 8.152 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.419e-05/0.1227, allocations: 4 kB / 276.4 MB, free: 8.148 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.035e-06/0.1227, allocations: 0 / 276.4 MB, free: 8.148 MB / 234.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 0.0001226/0.1228, allocations: 113.8 kB / 276.5 MB, free: 8.027 MB / 234.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.886e-05/0.1229, allocations: 0 / 276.5 MB, free: 8.027 MB / 234.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.124e-05/0.1229, allocations: 15.45 kB / 276.5 MB, free: 8.008 MB / 234.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.468e-06/0.1229, allocations: 0 / 276.5 MB, free: 8.008 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.655e-06/0.123, allocations: 0 / 276.5 MB, free: 8.008 MB / 234.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.496e-05/0.123, allocations: 85 kB / 276.6 MB, free: 7.906 MB / 234.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.639e-05/0.1231, allocations: 4 kB / 276.6 MB, free: 7.902 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.3e-05/0.1232, allocations: 0 / 276.6 MB, free: 7.902 MB / 234.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.737e-05/0.1232, allocations: 7.938 kB / 276.6 MB, free: 7.895 MB / 234.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002941/0.1235, allocations: 121 kB / 276.7 MB, free: 7.77 MB / 234.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0003366/0.1239, allocations: 234.8 kB / 277 MB, free: 7.523 MB / 234.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 4.701e-05/0.1239, allocations: 4.031 kB / 277 MB, free: 7.52 MB / 234.7 MB Notification: Performance of sorting global known variables: time 8.179e-05/0.124, allocations: 91.84 kB / 277.1 MB, free: 7.43 MB / 234.7 MB Notification: Performance of Backend: time 1.192e-06/0.1241, allocations: 0 / 277.1 MB, free: 7.43 MB / 234.7 MB Notification: Performance of simCode: created initialization part: time 0.007227/0.1313, allocations: 146.2 kB / 277.2 MB, free: 7.281 MB / 234.7 MB Notification: Performance of SimCode: time 0.002838/0.1342, allocations: 0.6111 MB / 277.8 MB, free: 6.613 MB / 234.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) []