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.Inverse_sine.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.Inverse_sine,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|x_zero",fileNamePrefix="Modelica_3.2.2_cpp_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine") Notification: Performance of loadModel(Modelica): time 1.894/1.894, allocations: 194.8 MB / 212.3 MB, free: 3.012 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003363/0.0003363, allocations: 8 kB / 264.5 MB, free: 13.64 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09478/0.09514, allocations: 44.51 MB / 309 MB, free: 1.059 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine): time 0.002916/0.09811, allocations: 1.812 MB / 310.8 MB, free: 15.23 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001473/0.09961, allocations: 0.6842 MB / 311.5 MB, free: 14.54 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.557e-05/0.09965, allocations: 0 / 311.5 MB, free: 14.54 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 6.953e-05/0.09974, allocations: 7.938 kB / 311.5 MB, free: 14.53 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000116/0.09986, allocations: 7.984 kB / 311.5 MB, free: 14.52 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007339/0.1006, allocations: 163.6 kB / 311.7 MB, free: 14.36 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 6.724e-05/0.1007, allocations: 19.97 kB / 311.7 MB, free: 14.34 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.539e-05/0.1007, allocations: 0 / 311.7 MB, free: 14.34 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.533e-05/0.1008, allocations: 11.94 kB / 311.7 MB, free: 14.33 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.472e-05/0.1009, allocations: 15.97 kB / 311.7 MB, free: 14.32 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.11e-05/0.1009, allocations: 0 / 311.7 MB, free: 14.32 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003051/0.1012, allocations: 119.8 kB / 311.8 MB, free: 14.2 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 1.044e-05/0.1012, allocations: 0 / 311.8 MB, free: 14.2 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 2.639e-05/0.1013, allocations: 29.7 kB / 311.8 MB, free: 14.16 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002293/0.1015, allocations: 79.86 kB / 311.9 MB, free: 14.09 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.1015, allocations: 0 / 311.9 MB, free: 14.09 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.543e-06/0.1015, allocations: 7.938 kB / 311.9 MB, free: 14.08 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.178e-06/0.1016, allocations: 0 / 311.9 MB, free: 14.08 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0003832/0.1019, allocations: 347.3 kB / 312.3 MB, free: 13.69 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.019e-05/0.102, allocations: 8.031 kB / 312.3 MB, free: 13.68 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.662e-05/0.102, allocations: 7.984 kB / 312.3 MB, free: 13.68 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001546/0.1022, allocations: 167 kB / 312.5 MB, free: 13.47 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.181e-05/0.1022, allocations: 0 / 312.5 MB, free: 13.47 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.151e-05/0.1023, allocations: 4 kB / 312.5 MB, free: 13.47 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.548e-05/0.1024, allocations: 37.69 kB / 312.5 MB, free: 13.43 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.294e-06/0.1024, allocations: 4 kB / 312.5 MB, free: 13.42 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.104e-05/0.1024, allocations: 0 / 312.5 MB, free: 13.42 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.509e-06/0.1024, allocations: 0 / 312.5 MB, free: 13.42 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.688e-05/0.1024, allocations: 4 kB / 312.5 MB, free: 13.42 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004036/0.1029, allocations: 408 kB / 312.9 MB, free: 12.96 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.325e-05/0.103, allocations: 173.1 kB / 313.1 MB, free: 12.79 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.21e-05/0.103, allocations: 75.28 kB / 313.1 MB, free: 12.71 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.811e-05/0.1031, allocations: 105.8 kB / 313.2 MB, free: 12.6 MB / 266.7 MB Notification: Performance of pre-optimization done (n=0): time 1.372e-06/0.1031, allocations: 0 / 313.2 MB, free: 12.6 MB / 266.7 MB Notification: Performance of matching and sorting (n=0): time 8.556e-05/0.1032, allocations: 33.61 kB / 313.3 MB, free: 12.56 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.709e-05/0.1032, allocations: 81.05 kB / 313.4 MB, free: 12.46 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001331/0.1034, allocations: 114.1 kB / 313.5 MB, free: 12.34 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.173e-05/0.1034, allocations: 29.7 kB / 313.5 MB, free: 12.3 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.007e-05/0.1035, allocations: 162.5 kB / 313.7 MB, free: 12.14 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.893e-06/0.1035, allocations: 0 / 313.7 MB, free: 12.14 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.006e-06/0.1035, allocations: 0 / 313.7 MB, free: 12.14 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001374/0.1037, allocations: 318.8 kB / 314 MB, free: 11.82 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.347e-05/0.1037, allocations: 0 / 314 MB, free: 11.82 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.704e-05/0.1037, allocations: 8 kB / 314 MB, free: 11.82 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.261e-05/0.1038, allocations: 4 kB / 314 MB, free: 11.81 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.1038, allocations: 0 / 314 MB, free: 11.81 MB / 266.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001161/0.1039, allocations: 41.78 kB / 314 MB, free: 11.77 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.654e-05/0.1039, allocations: 4 kB / 314 MB, free: 11.76 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.629e-06/0.104, allocations: 3.938 kB / 314 MB, free: 11.76 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.238e-05/0.104, allocations: 0 / 314 MB, free: 11.76 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.519e-05/0.104, allocations: 4 kB / 314 MB, free: 11.75 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.45e-06/0.1041, allocations: 3.938 kB / 314 MB, free: 11.75 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.268e-05/0.1041, allocations: 0 / 314 MB, free: 11.75 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.6e-05/0.1041, allocations: 0 / 314 MB, free: 11.75 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (1): * Single equations (assignments): 1 * 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.0001297/0.1043, allocations: 197.1 kB / 314.2 MB, free: 11.55 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.093e-05/0.1044, allocations: 112.9 kB / 314.3 MB, free: 11.43 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.65e-05/0.1045, allocations: 104.5 kB / 314.4 MB, free: 11.32 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.556e-05/0.1045, allocations: 180.2 kB / 314.6 MB, free: 11.14 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.931e-05/0.1046, allocations: 105 kB / 314.7 MB, free: 11.03 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001028/0.1047, allocations: 190 kB / 314.9 MB, free: 10.82 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.455e-05/0.1048, allocations: 176.3 kB / 315.1 MB, free: 10.64 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001255/0.105, allocations: 112.9 kB / 315.2 MB, free: 10.52 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.888e-05/0.105, allocations: 180.2 kB / 315.4 MB, free: 10.34 MB / 266.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001335/0.1052, allocations: 255.5 kB / 315.6 MB, free: 10.08 MB / 266.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0002062/0.1054, allocations: 383 kB / 316 MB, free: 9.684 MB / 266.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 5.424e-05/0.1055, allocations: 108.9 kB / 316.1 MB, free: 9.57 MB / 266.7 MB Notification: Performance of sorting global known variables: time 8.149e-05/0.1056, allocations: 95.27 kB / 316.2 MB, free: 9.477 MB / 266.7 MB Notification: Performance of Backend: time 5.41e-07/0.1056, allocations: 0 / 316.2 MB, free: 9.477 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0007671/0.1064, allocations: 186.3 kB / 316.4 MB, free: 9.301 MB / 266.7 MB Notification: Performance of SimCode: time 0.000605/0.107, allocations: 0.9434 MB / 317.3 MB, free: 8.305 MB / 266.7 MB Error: Internal error GetVarIndexListByMapping: No Element for x_zero found! Error: Internal error GetVarIndexListByMapping: No Element for A found! Error: Internal error GetVarIndexListByMapping: No Element for data.A found! Error: Internal error GetVarIndexListByMapping: No Element for data.w found! Error: Internal error GetVarIndexListByMapping: No Element for w found! Error: Internal error GetVarIndexListByMapping: No Element for x_max found! Error: Internal error GetVarIndexListByMapping: No Element for x_min found! Error: Internal error GetVarIndexListByMapping: No Element for y_zero found! Error: Internal error GetVarIndexListByMapping: No Element for x_zero 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_zero (no alias) initial: no arrCref index:(1) [] 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:(2) [] Error: Internal error GetVarIndexListByMapping: No Element for data.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:1: data.A (no alias) initial: no arrCref index:(3) [] Error: Internal error GetVarIndexListByMapping: No Element for data.w 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: data.w (no alias) initial: no arrCref index:(4) [] Error: Internal error GetVarIndexListByMapping: No Element for w 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: w (no alias) initial: 1.0 no arrCref index:(5) [] Error: Internal error GetVarIndexListByMapping: No Element for x_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:4: x_max (no alias) initial: 1.7 no arrCref index:(6) [] Error: Internal error GetVarIndexListByMapping: No Element for x_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:5: x_min (no alias) initial: -1.7 no arrCref index:(7) [] Error: Internal error GetVarIndexListByMapping: No Element for y_zero 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: y_zero (no alias) initial: 0.5 no arrCref index:(8) []