Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.1_cpp_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.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.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|h1|s1",fileNamePrefix="Modelica_3.2.1_cpp_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T") Notification: Performance of loadModel(Modelica): time 1.694/1.694, allocations: 171.2 MB / 187.3 MB, free: 1.145 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003452/0.0003453, allocations: 8 kB / 233.8 MB, free: 3.094 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08458/0.08495, allocations: 38.78 MB / 272.6 MB, free: 12.23 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T): time 0.001691/0.0867, allocations: 1.027 MB / 273.6 MB, free: 11.19 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.009897/0.09662, allocations: 5.308 MB / 278.9 MB, free: 5.863 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.883e-05/0.09673, allocations: 0 / 278.9 MB, free: 5.863 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 2.656e-05/0.09678, allocations: 0 / 278.9 MB, free: 5.863 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001186/0.09797, allocations: 227.3 kB / 279.1 MB, free: 5.641 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002054/0.1, allocations: 0.5182 MB / 279.6 MB, free: 5.121 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 9.93e-05/0.1002, allocations: 35.94 kB / 279.7 MB, free: 5.086 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.774e-05/0.1002, allocations: 4 kB / 279.7 MB, free: 5.082 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00014/0.1004, allocations: 35.89 kB / 279.7 MB, free: 5.047 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001112/0.1015, allocations: 355.5 kB / 280.1 MB, free: 4.699 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 1.939e-05/0.1015, allocations: 7.938 kB / 280.1 MB, free: 4.691 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001631/0.1032, allocations: 0.5355 MB / 280.6 MB, free: 4.156 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 1.308e-05/0.1032, allocations: 3.938 kB / 280.6 MB, free: 4.152 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 3.359e-05/0.1033, allocations: 29.7 kB / 280.6 MB, free: 4.117 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009806/0.1042, allocations: 315.7 kB / 280.9 MB, free: 3.809 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.926e-06/0.1043, allocations: 0 / 280.9 MB, free: 3.809 MB / 234.7 MB Notification: Performance of FrontEnd: time 2.194e-06/0.1043, allocations: 4 kB / 280.9 MB, free: 3.805 MB / 234.7 MB Notification: Performance of Transformations before backend: time 5.34e-06/0.1043, allocations: 4 kB / 280.9 MB, free: 3.801 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0007092/0.105, allocations: 443 kB / 281.4 MB, free: 3.32 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.744e-05/0.1051, allocations: 8.031 kB / 281.4 MB, free: 3.312 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.293e-05/0.1051, allocations: 4 kB / 281.4 MB, free: 3.309 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002634/0.1054, allocations: 198.9 kB / 281.6 MB, free: 3.074 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.637e-05/0.1054, allocations: 0 / 281.6 MB, free: 3.074 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.205e-05/0.1055, allocations: 11.89 kB / 281.6 MB, free: 3.062 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001869/0.1057, allocations: 55.41 kB / 281.7 MB, free: 2.996 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.849e-06/0.1057, allocations: 0 / 281.7 MB, free: 2.996 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.832e-05/0.1057, allocations: 11.98 kB / 281.7 MB, free: 2.984 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.4e-06/0.1057, allocations: 3.938 kB / 281.7 MB, free: 2.98 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001273/0.1059, allocations: 19.92 kB / 281.7 MB, free: 2.961 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002493/0.1061, allocations: 170.5 kB / 281.9 MB, free: 2.742 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003926/0.1065, allocations: 89.19 kB / 281.9 MB, free: 2.637 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001296/0.1079, allocations: 1.449 MB / 283.4 MB, free: 0.8555 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.93e-05/0.1079, allocations: 30.56 kB / 283.4 MB, free: 0.8164 MB / 234.7 MB Notification: Performance of pre-optimization done (n=6): time 3.126e-06/0.1079, allocations: 0 / 283.4 MB, free: 0.8164 MB / 234.7 MB Notification: Performance of matching and sorting (n=6): time 0.0004302/0.1084, allocations: 85.59 kB / 283.5 MB, free: 0.7266 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.435e-05/0.1084, allocations: 77.11 kB / 283.6 MB, free: 0.6328 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001177/0.1085, allocations: 113.8 kB / 283.7 MB, free: 0.5117 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 1.829e-05/0.1086, allocations: 25.7 kB / 283.7 MB, free: 492 kB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.334e-05/0.1086, allocations: 150.6 kB / 283.9 MB, free: 340 kB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.824e-05/0.1087, allocations: 27.64 kB / 283.9 MB, free: 312 kB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.821e-06/0.1087, allocations: 0 / 283.9 MB, free: 312 kB / 234.7 MB Notification: Performance of setup shared object (initialization): time 0.0001438/0.1089, allocations: 314.8 kB / 284.2 MB, free: 15.99 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.413e-05/0.109, allocations: 19.92 kB / 284.2 MB, free: 15.97 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001145/0.1091, allocations: 43.41 kB / 284.3 MB, free: 15.91 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001078/0.1092, allocations: 15.94 kB / 284.3 MB, free: 15.9 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.88e-06/0.1092, allocations: 3.953 kB / 284.3 MB, free: 15.89 MB / 250.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002933/0.1096, allocations: 89.56 kB / 284.4 MB, free: 15.8 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.109e-05/0.1096, allocations: 8 kB / 284.4 MB, free: 15.79 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.131e-06/0.1096, allocations: 0 / 284.4 MB, free: 15.79 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.592e-05/0.1096, allocations: 4 kB / 284.4 MB, free: 15.79 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001274/0.1098, allocations: 15.98 kB / 284.4 MB, free: 15.77 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.993e-06/0.1098, allocations: 0 / 284.4 MB, free: 15.77 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.413e-05/0.1099, allocations: 4 kB / 284.4 MB, free: 15.77 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.844e-05/0.1099, allocations: 4 kB / 284.4 MB, free: 15.77 MB / 250.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 9.494e-05/0.11, allocations: 113.8 kB / 284.5 MB, free: 15.64 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.066e-05/0.11, allocations: 11.95 kB / 284.5 MB, free: 15.63 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004802/0.1105, allocations: 117.4 kB / 284.6 MB, free: 15.52 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.185e-06/0.1105, allocations: 4 kB / 284.6 MB, free: 15.51 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.687e-06/0.1106, allocations: 0 / 284.6 MB, free: 15.51 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.297e-05/0.1107, allocations: 93.03 kB / 284.7 MB, free: 15.4 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.646e-05/0.1107, allocations: 4 kB / 284.7 MB, free: 15.4 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.3e-05/0.1108, allocations: 8 kB / 284.7 MB, free: 15.39 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.782e-05/0.1108, allocations: 8.547 kB / 284.8 MB, free: 15.38 MB / 250.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0006733/0.1115, allocations: 268 kB / 285 MB, free: 15.11 MB / 250.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0005546/0.1121, allocations: 362 kB / 285.4 MB, free: 14.74 MB / 250.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001242/0.1122, allocations: 31.95 kB / 285.4 MB, free: 14.71 MB / 250.7 MB Notification: Performance of sorting global known variables: time 6.531e-05/0.1123, allocations: 87.81 kB / 285.5 MB, free: 14.62 MB / 250.7 MB Notification: Performance of Backend: time 7.31e-07/0.1123, allocations: 0 / 285.5 MB, free: 14.62 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.00152/0.1138, allocations: 385.7 kB / 285.9 MB, free: 14.25 MB / 250.7 MB Notification: Performance of SimCode: time 0.0009735/0.1148, allocations: 0.8044 MB / 286.7 MB, free: 13.39 MB / 250.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) []