Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_cpp_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.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.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|h1|s1",fileNamePrefix="Modelica_3.2.2_cpp_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T") Notification: Performance of loadModel(Modelica): time 2.075/2.075, allocations: 194.8 MB / 212.3 MB, free: 3.02 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003661/0.0003661, allocations: 12 kB / 264.5 MB, free: 13.64 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09809/0.09848, allocations: 44.5 MB / 309 MB, free: 1.07 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T): time 0.0018/0.1003, allocations: 1.035 MB / 310 MB, free: 24 kB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0101/0.1105, allocations: 5.328 MB / 315.3 MB, free: 10.67 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.915e-05/0.1106, allocations: 0 / 315.3 MB, free: 10.67 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 2.054e-05/0.1106, allocations: 0 / 315.3 MB, free: 10.67 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001255/0.1119, allocations: 239.3 kB / 315.6 MB, free: 10.44 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002039/0.1139, allocations: 0.5066 MB / 316.1 MB, free: 9.93 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 8.607e-05/0.1141, allocations: 39.88 kB / 316.1 MB, free: 9.891 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.378e-05/0.1141, allocations: 7.984 kB / 316.1 MB, free: 9.883 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001309/0.1143, allocations: 31.91 kB / 316.2 MB, free: 9.852 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001155/0.1154, allocations: 379.5 kB / 316.5 MB, free: 9.48 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.469e-05/0.1155, allocations: 0 / 316.5 MB, free: 9.48 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001601/0.1171, allocations: 0.5382 MB / 317.1 MB, free: 8.941 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 2.193e-05/0.1171, allocations: 11.92 kB / 317.1 MB, free: 8.93 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 3.586e-05/0.1172, allocations: 33.7 kB / 317.1 MB, free: 8.891 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009422/0.1181, allocations: 311.7 kB / 317.4 MB, free: 8.586 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.835e-06/0.1181, allocations: 4 kB / 317.4 MB, free: 8.582 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.245e-06/0.1181, allocations: 0 / 317.4 MB, free: 8.582 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.158e-06/0.1182, allocations: 0 / 317.4 MB, free: 8.582 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0007114/0.1189, allocations: 443.1 kB / 317.9 MB, free: 8.102 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.959e-05/0.1189, allocations: 8.031 kB / 317.9 MB, free: 8.094 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.874e-05/0.119, allocations: 19.8 kB / 317.9 MB, free: 8.074 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002664/0.1193, allocations: 182.9 kB / 318.1 MB, free: 7.855 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.437e-05/0.1193, allocations: 4 kB / 318.1 MB, free: 7.852 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.288e-05/0.1194, allocations: 4 kB / 318.1 MB, free: 7.848 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000205/0.1196, allocations: 63.39 kB / 318.1 MB, free: 7.773 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.03e-05/0.1196, allocations: 0 / 318.1 MB, free: 7.773 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.1e-05/0.1196, allocations: 0 / 318.1 MB, free: 7.773 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.626e-06/0.1196, allocations: 4 kB / 318.1 MB, free: 7.77 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001245/0.1198, allocations: 23.86 kB / 318.2 MB, free: 7.746 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002353/0.12, allocations: 170.6 kB / 318.3 MB, free: 7.527 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004115/0.1204, allocations: 85.19 kB / 318.4 MB, free: 7.426 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001322/0.1218, allocations: 1.453 MB / 319.9 MB, free: 5.641 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.658e-05/0.1218, allocations: 38.56 kB / 319.9 MB, free: 5.594 MB / 266.7 MB Notification: Performance of pre-optimization done (n=6): time 2.544e-06/0.1218, allocations: 4 kB / 319.9 MB, free: 5.59 MB / 266.7 MB Notification: Performance of matching and sorting (n=6): time 0.0004326/0.1223, allocations: 81.5 kB / 320 MB, free: 5.504 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.894e-05/0.1224, allocations: 85.09 kB / 320.1 MB, free: 5.402 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001226/0.1225, allocations: 105.8 kB / 320.2 MB, free: 5.289 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.103e-05/0.1225, allocations: 29.7 kB / 320.2 MB, free: 5.254 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.098e-05/0.1226, allocations: 154.6 kB / 320.3 MB, free: 5.102 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.209e-05/0.1227, allocations: 15.67 kB / 320.4 MB, free: 5.086 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.875e-06/0.1227, allocations: 8 kB / 320.4 MB, free: 5.078 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001505/0.1228, allocations: 318.8 kB / 320.7 MB, free: 4.758 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.338e-05/0.1229, allocations: 15.98 kB / 320.7 MB, free: 4.742 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001106/0.1231, allocations: 35.44 kB / 320.7 MB, free: 4.695 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001105/0.1232, allocations: 19.98 kB / 320.7 MB, free: 4.676 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.104e-06/0.1232, allocations: 0 / 320.7 MB, free: 4.676 MB / 266.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002812/0.1235, allocations: 85.48 kB / 320.8 MB, free: 4.586 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.879e-05/0.1235, allocations: 9.875 kB / 320.8 MB, free: 4.578 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.632e-06/0.1236, allocations: 0 / 320.8 MB, free: 4.578 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.859e-05/0.1236, allocations: 4 kB / 320.8 MB, free: 4.574 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001342/0.1237, allocations: 15.98 kB / 320.9 MB, free: 4.559 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.324e-06/0.1237, allocations: 0 / 320.9 MB, free: 4.559 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.57e-05/0.1238, allocations: 4 kB / 320.9 MB, free: 4.555 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.863e-05/0.1239, allocations: 3.984 kB / 320.9 MB, free: 4.551 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (8): * Single equations (assignments): 8 * 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.0001059/0.124, allocations: 125.8 kB / 321 MB, free: 4.418 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.448e-05/0.124, allocations: 7.906 kB / 321 MB, free: 4.41 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000501/0.1245, allocations: 117.9 kB / 321.1 MB, free: 4.289 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.59e-06/0.1245, allocations: 0 / 321.1 MB, free: 4.289 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.637e-06/0.1245, allocations: 0 / 321.1 MB, free: 4.289 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.497e-05/0.1246, allocations: 101 kB / 321.2 MB, free: 4.172 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.957e-05/0.1247, allocations: 8 kB / 321.2 MB, free: 4.164 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.066e-05/0.1248, allocations: 3.953 kB / 321.2 MB, free: 4.16 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.371e-05/0.1248, allocations: 12.02 kB / 321.2 MB, free: 4.148 MB / 266.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0006709/0.1255, allocations: 252.1 kB / 321.5 MB, free: 3.895 MB / 266.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0005571/0.1261, allocations: 373.9 kB / 321.8 MB, free: 3.512 MB / 266.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001273/0.1262, allocations: 28 kB / 321.9 MB, free: 3.484 MB / 266.7 MB Notification: Performance of sorting global known variables: time 6.84e-05/0.1263, allocations: 87.83 kB / 322 MB, free: 3.398 MB / 266.7 MB Notification: Performance of Backend: time 7.12e-07/0.1263, allocations: 0 / 322 MB, free: 3.398 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.001599/0.1279, allocations: 386.3 kB / 322.3 MB, free: 3.02 MB / 266.7 MB Notification: Performance of SimCode: time 0.001035/0.129, allocations: 0.8121 MB / 323.2 MB, free: 2.152 MB / 266.7 MB Error: Internal error GetVarIndexListByMapping: No Element for h1 found! Error: Internal error GetVarIndexListByMapping: No Element for s1 found! Error: Internal error GetVarIndexListByMapping: No Element for $DER.h1 found! Error: Internal error GetVarIndexListByMapping: No Element for $DER.s1 found! Error: Internal error GetVarIndexListByMapping: No Element for Th found! Error: Internal error GetVarIndexListByMapping: No Element for Ts found! Error: Internal error GetVarIndexListByMapping: No Element for h2 found! Error: Internal error GetVarIndexListByMapping: No Element for s2 found! Error: Internal error GetVarIndexListByMapping: No Element for T_max found! Error: Internal error GetVarIndexListByMapping: No Element for T_min found! Error: Internal error GetVarIndexListByMapping: No Element for h_max found! Error: Internal error GetVarIndexListByMapping: No Element for h_min found! Error: Internal error GetVarIndexListByMapping: No Element for p found! Error: Internal error GetVarIndexListByMapping: No Element for s_max found! Error: Internal error GetVarIndexListByMapping: No Element for s_min found! Error: Internal error GetVarIndexListByMapping: No Element for h1 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: h1 (no alias) initial: -105128.3414337788 no arrCref index:(1) [] Error: Internal error GetVarIndexListByMapping: No Element for s1 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: s1 (no alias) initial: s_min no arrCref index:(2) [] Error: Internal error GetVarIndexListByMapping: No Element for $DER.h1 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.h1 (no alias) initial: no arrCref index:(3) [] Error: Internal error GetVarIndexListByMapping: No Element for $DER.s1 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.s1 (no alias) initial: no arrCref index:(4) [] Error: Internal error GetVarIndexListByMapping: No Element for Th 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: Th (no alias) initial: 288.15 no arrCref index:(5) [] Error: Internal error GetVarIndexListByMapping: No Element for Ts 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: Ts (no alias) initial: 288.15 no arrCref index:(6) [] Error: Internal error GetVarIndexListByMapping: No Element for h2 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: h2 (no alias) initial: no arrCref index:(7) [] Error: Internal error GetVarIndexListByMapping: No Element for s2 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: s2 (no alias) initial: no arrCref index:(8) [] Error: Internal error GetVarIndexListByMapping: No Element for T_max 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: T_max (no alias) initial: 373.15 no arrCref index:(9) [] Error: Internal error GetVarIndexListByMapping: No Element for T_min 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: T_min (no alias) initial: 243.15 no arrCref index:(10) [] Error: Internal error GetVarIndexListByMapping: No Element for h_max 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: h_max (no alias) initial: 372336.2861385947 no arrCref index:(11) [] Error: Internal error GetVarIndexListByMapping: No Element for h_min 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: h_min (no alias) initial: -105128.3414337788 no arrCref index:(12) [] Error: Internal error GetVarIndexListByMapping: No Element for p 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:4: p (no alias) initial: 100000.0 no arrCref index:(13) [] Error: Internal error GetVarIndexListByMapping: No Element for s_max 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:5: s_max (no alias) initial: no arrCref index:(14) [] Error: Internal error GetVarIndexListByMapping: No Element for s_min 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:6: s_min (no alias) initial: no arrCref index:(15) []