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.Inverse_sine.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.Inverse_sine,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|x_zero",fileNamePrefix="Modelica_3.2.1_cpp_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine") Notification: Performance of loadModel(Modelica): time 1.714/1.714, allocations: 171.1 MB / 187.3 MB, free: 1.141 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003515/0.0003515, allocations: 8 kB / 233.8 MB, free: 3.086 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08942/0.0898, allocations: 38.77 MB / 272.6 MB, free: 12.24 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine): time 0.003913/0.09377, allocations: 1.816 MB / 274.4 MB, free: 10.4 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.001898/0.09573, allocations: 0.6718 MB / 275 MB, free: 9.727 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.888e-05/0.09581, allocations: 0 / 275 MB, free: 9.727 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 7.895e-05/0.09591, allocations: 0 / 275 MB, free: 9.727 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001391/0.09606, allocations: 4 kB / 275 MB, free: 9.723 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001002/0.09708, allocations: 171.5 kB / 275.2 MB, free: 9.555 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 8.463e-05/0.09718, allocations: 15.98 kB / 275.2 MB, free: 9.539 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.546e-05/0.09724, allocations: 0 / 275.2 MB, free: 9.539 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.199e-05/0.09732, allocations: 11.92 kB / 275.2 MB, free: 9.527 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.548e-05/0.09743, allocations: 15.98 kB / 275.3 MB, free: 9.512 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 1.418e-05/0.09746, allocations: 0 / 275.3 MB, free: 9.512 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003948/0.09787, allocations: 115.8 kB / 275.4 MB, free: 9.398 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 1.947e-05/0.09791, allocations: 11.98 kB / 275.4 MB, free: 9.387 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 3.209e-05/0.09795, allocations: 25.7 kB / 275.4 MB, free: 9.355 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002964/0.09826, allocations: 75.88 kB / 275.5 MB, free: 9.281 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.126e-06/0.09829, allocations: 4 kB / 275.5 MB, free: 9.277 MB / 234.7 MB Notification: Performance of FrontEnd: time 2.384e-06/0.0983, allocations: 0 / 275.5 MB, free: 9.277 MB / 234.7 MB Notification: Performance of Transformations before backend: time 4.849e-06/0.09832, allocations: 0 / 275.5 MB, free: 9.277 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0005368/0.09887, allocations: 347.3 kB / 275.8 MB, free: 8.891 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.573e-05/0.09894, allocations: 8.031 kB / 275.8 MB, free: 8.883 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.608e-05/0.099, allocations: 7.891 kB / 275.8 MB, free: 8.875 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001894/0.0992, allocations: 171 kB / 276 MB, free: 8.668 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.792e-05/0.09923, allocations: 3.953 kB / 276 MB, free: 8.664 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.095e-05/0.09926, allocations: 3.938 kB / 276 MB, free: 8.66 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001229/0.0994, allocations: 37.69 kB / 276.1 MB, free: 8.617 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.548e-06/0.09942, allocations: 0 / 276.1 MB, free: 8.617 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.402e-05/0.09945, allocations: 0 / 276.1 MB, free: 8.617 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.18e-06/0.09947, allocations: 4 kB / 276.1 MB, free: 8.613 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.626e-05/0.09951, allocations: 4 kB / 276.1 MB, free: 8.609 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005177/0.1, allocations: 396 kB / 276.4 MB, free: 8.172 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001247/0.1002, allocations: 181.1 kB / 276.6 MB, free: 7.984 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.964e-05/0.1002, allocations: 79.28 kB / 276.7 MB, free: 7.906 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.01e-05/0.1003, allocations: 105.8 kB / 276.8 MB, free: 7.793 MB / 234.7 MB Notification: Performance of pre-optimization done (n=0): time 4.158e-06/0.1003, allocations: 3.984 kB / 276.8 MB, free: 7.789 MB / 234.7 MB Notification: Performance of matching and sorting (n=0): time 0.0001038/0.1005, allocations: 25.7 kB / 276.8 MB, free: 7.758 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.258e-05/0.1005, allocations: 77.11 kB / 276.9 MB, free: 7.664 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000173/0.1007, allocations: 126.1 kB / 277 MB, free: 7.531 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 2.251e-05/0.1008, allocations: 29.64 kB / 277.1 MB, free: 7.496 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001063/0.1009, allocations: 162.4 kB / 277.2 MB, free: 7.336 MB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.925e-06/0.1009, allocations: 0 / 277.2 MB, free: 7.336 MB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.727e-06/0.1009, allocations: 0 / 277.2 MB, free: 7.336 MB / 234.7 MB Notification: Performance of setup shared object (initialization): time 0.0001617/0.1011, allocations: 318.8 kB / 277.5 MB, free: 7.016 MB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.771e-05/0.1011, allocations: 0 / 277.5 MB, free: 7.016 MB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.327e-05/0.1012, allocations: 4 kB / 277.5 MB, free: 7.012 MB / 234.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.271e-05/0.1012, allocations: 7.953 kB / 277.5 MB, free: 7.004 MB / 234.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.1012, allocations: 8.094 kB / 277.6 MB, free: 6.996 MB / 234.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001611/0.1014, allocations: 33.69 kB / 277.6 MB, free: 6.957 MB / 234.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.885e-05/0.1014, allocations: 8 kB / 277.6 MB, free: 6.949 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.452e-06/0.1015, allocations: 320 / 277.6 MB, free: 6.949 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.541e-05/0.1015, allocations: 0 / 277.6 MB, free: 6.949 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.672e-05/0.1016, allocations: 0 / 277.6 MB, free: 6.949 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.941e-06/0.1016, allocations: 0 / 277.6 MB, free: 6.949 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.872e-05/0.1017, allocations: 4 kB / 277.6 MB, free: 6.945 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.7e-05/0.1017, allocations: 3.984 kB / 277.6 MB, free: 6.941 MB / 234.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.0001495/0.1019, allocations: 201 kB / 277.8 MB, free: 6.734 MB / 234.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001011/0.102, allocations: 109 kB / 277.9 MB, free: 6.621 MB / 234.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.715e-05/0.1021, allocations: 108.5 kB / 278 MB, free: 6.512 MB / 234.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.615e-05/0.1022, allocations: 180.2 kB / 278.2 MB, free: 6.328 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.472e-05/0.1022, allocations: 101 kB / 278.3 MB, free: 6.223 MB / 234.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001307/0.1024, allocations: 189.9 kB / 278.5 MB, free: 6.012 MB / 234.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001317/0.1025, allocations: 188.3 kB / 278.7 MB, free: 5.82 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001674/0.1027, allocations: 101 kB / 278.8 MB, free: 5.715 MB / 234.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.425e-05/0.1028, allocations: 180.2 kB / 278.9 MB, free: 5.531 MB / 234.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.00014/0.103, allocations: 263.5 kB / 279.2 MB, free: 5.266 MB / 234.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0002487/0.1032, allocations: 383 kB / 279.6 MB, free: 4.867 MB / 234.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 6.474e-05/0.1033, allocations: 108.9 kB / 279.7 MB, free: 4.754 MB / 234.7 MB Notification: Performance of sorting global known variables: time 9.62e-05/0.1034, allocations: 91.27 kB / 279.8 MB, free: 4.664 MB / 234.7 MB Notification: Performance of Backend: time 9.82e-07/0.1035, allocations: 0 / 279.8 MB, free: 4.664 MB / 234.7 MB Notification: Performance of simCode: created initialization part: time 0.0009756/0.1044, allocations: 177 kB / 279.9 MB, free: 4.492 MB / 234.7 MB Notification: Performance of SimCode: time 0.0007379/0.1052, allocations: 0.9435 MB / 280.9 MB, free: 3.488 MB / 234.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) []