Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.1_cpp_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.conf.json Using package ModelicaServices with version 1.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 1.0/package.mo) Using package Modelica with version 3.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.1/package.mo) Running command: translateModel(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_cpp_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine") Notification: Performance of loadModel(Modelica): time 1.081/1.081, allocations: 111.1 MB / 127.3 MB, free: 6.145 MB / 106.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002608/0.000261, allocations: 4 kB / 158.9 MB, free: 15.23 MB / 138.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0546/0.05489, allocations: 25.17 MB / 184.1 MB, free: 6.012 MB / 154.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine): time 0.002967/0.05791, allocations: 1.754 MB / 185.8 MB, free: 4.254 MB / 154.7 MB Notification: Performance of NFInst.instExpressions: time 0.001333/0.05929, allocations: 0.5824 MB / 186.4 MB, free: 3.668 MB / 154.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.504e-05/0.05934, allocations: 4 kB / 186.4 MB, free: 3.664 MB / 154.7 MB Notification: Performance of NFTyping.typeComponents: time 7.214e-05/0.05945, allocations: 7.875 kB / 186.4 MB, free: 3.656 MB / 154.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001532/0.05961, allocations: 7.984 kB / 186.4 MB, free: 3.648 MB / 154.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007239/0.06035, allocations: 151.7 kB / 186.6 MB, free: 3.5 MB / 154.7 MB Notification: Performance of NFFlatten.flatten: time 7.093e-05/0.06043, allocations: 11.98 kB / 186.6 MB, free: 3.488 MB / 154.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.679e-05/0.06048, allocations: 0 / 186.6 MB, free: 3.488 MB / 154.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.361e-05/0.06053, allocations: 11.92 kB / 186.6 MB, free: 3.477 MB / 154.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.984e-05/0.06063, allocations: 19.92 kB / 186.6 MB, free: 3.457 MB / 154.7 MB Notification: Performance of NFPackage.collectConstants: time 1.274e-05/0.06065, allocations: 0 / 186.6 MB, free: 3.457 MB / 154.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002799/0.06094, allocations: 107.9 kB / 186.7 MB, free: 3.352 MB / 154.7 MB Notification: Performance of NFScalarize.scalarize: time 9.999e-06/0.06096, allocations: 3.938 kB / 186.7 MB, free: 3.348 MB / 154.7 MB Notification: Performance of NFVerifyModel.verify: time 3.123e-05/0.06101, allocations: 37.7 kB / 186.7 MB, free: 3.305 MB / 154.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002186/0.06124, allocations: 75.86 kB / 186.8 MB, free: 3.23 MB / 154.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.979e-06/0.06125, allocations: 3.938 kB / 186.8 MB, free: 3.227 MB / 154.7 MB Notification: Performance of FrontEnd: time 1.934e-06/0.06127, allocations: 3.938 kB / 186.8 MB, free: 3.223 MB / 154.7 MB Notification: Performance of Transformations before backend: time 4.158e-06/0.06128, allocations: 0 / 186.8 MB, free: 3.223 MB / 154.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.0003906/0.06168, allocations: 347.4 kB / 187.2 MB, free: 2.836 MB / 154.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.406e-05/0.06173, allocations: 8.031 kB / 187.2 MB, free: 2.828 MB / 154.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.063e-05/0.06178, allocations: 8 kB / 187.2 MB, free: 2.82 MB / 154.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001738/0.06196, allocations: 167.1 kB / 187.3 MB, free: 2.617 MB / 154.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.308e-05/0.06199, allocations: 8 kB / 187.4 MB, free: 2.609 MB / 154.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.396e-05/0.06201, allocations: 0 / 187.4 MB, free: 2.609 MB / 154.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.819e-05/0.06212, allocations: 29.7 kB / 187.4 MB, free: 2.574 MB / 154.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.075e-06/0.06214, allocations: 0 / 187.4 MB, free: 2.574 MB / 154.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.18e-05/0.06216, allocations: 0 / 187.4 MB, free: 2.574 MB / 154.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.167e-06/0.06218, allocations: 7.938 kB / 187.4 MB, free: 2.566 MB / 154.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.439e-05/0.06222, allocations: 4 kB / 187.4 MB, free: 2.562 MB / 154.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004398/0.06267, allocations: 403.9 kB / 187.8 MB, free: 2.117 MB / 154.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001341/0.06282, allocations: 165.1 kB / 188 MB, free: 1.945 MB / 154.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.059e-05/0.06288, allocations: 79.28 kB / 188 MB, free: 1.867 MB / 154.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.107e-05/0.06297, allocations: 105.8 kB / 188.1 MB, free: 1.754 MB / 154.7 MB Notification: Performance of pre-optimization done (n=0): time 1.854e-06/0.06298, allocations: 0 / 188.1 MB, free: 1.754 MB / 154.7 MB Notification: Performance of matching and sorting (n=0): time 0.0001053/0.0631, allocations: 49.48 kB / 188.2 MB, free: 1.699 MB / 154.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.506e-05/0.06318, allocations: 81.11 kB / 188.3 MB, free: 1.602 MB / 154.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001526/0.06335, allocations: 113.8 kB / 188.4 MB, free: 1.48 MB / 154.7 MB Notification: Performance of collectPreVariables (initialization): time 2.446e-05/0.06338, allocations: 25.7 kB / 188.4 MB, free: 1.449 MB / 154.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001298/0.06352, allocations: 154.6 kB / 188.5 MB, free: 1.297 MB / 154.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.705e-06/0.06354, allocations: 0 / 188.5 MB, free: 1.297 MB / 154.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.456e-06/0.06355, allocations: 0 / 188.5 MB, free: 1.297 MB / 154.7 MB Notification: Performance of setup shared object (initialization): time 0.0001536/0.06371, allocations: 314.8 kB / 188.9 MB, free: 0.9805 MB / 154.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.408e-05/0.06373, allocations: 0 / 188.9 MB, free: 0.9805 MB / 154.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.638e-05/0.06377, allocations: 11.98 kB / 188.9 MB, free: 0.9688 MB / 154.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.418e-05/0.06381, allocations: 4 kB / 188.9 MB, free: 0.9648 MB / 154.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.06382, allocations: 0 / 188.9 MB, free: 0.9648 MB / 154.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.00012/0.06395, allocations: 37.7 kB / 188.9 MB, free: 0.9219 MB / 154.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.693e-05/0.06398, allocations: 11.88 kB / 188.9 MB, free: 0.9102 MB / 154.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.92e-06/0.06399, allocations: 0 / 188.9 MB, free: 0.9102 MB / 154.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.993e-05/0.06402, allocations: 3.953 kB / 188.9 MB, free: 0.9062 MB / 154.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.143e-05/0.06409, allocations: 7.984 kB / 188.9 MB, free: 0.8984 MB / 154.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.478e-06/0.06411, allocations: 0 / 188.9 MB, free: 0.8984 MB / 154.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.222e-05/0.06417, allocations: 128 / 188.9 MB, free: 0.8984 MB / 154.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.102e-05/0.0642, allocations: 4.312 kB / 188.9 MB, free: 0.8945 MB / 154.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.0001238/0.06434, allocations: 193 kB / 189.1 MB, free: 0.6953 MB / 154.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.159e-05/0.06443, allocations: 112.9 kB / 189.2 MB, free: 0.5781 MB / 154.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.534e-05/0.06451, allocations: 116.4 kB / 189.3 MB, free: 468 kB / 154.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.147e-05/0.0646, allocations: 176.3 kB / 189.5 MB, free: 284 kB / 154.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.906e-05/0.06466, allocations: 104.9 kB / 189.6 MB, free: 172 kB / 154.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001273/0.0648, allocations: 190 kB / 189.8 MB, free: 15.96 MB / 170.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.366e-05/0.0649, allocations: 180.2 kB / 190 MB, free: 15.77 MB / 170.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001349/0.06505, allocations: 112.9 kB / 190.1 MB, free: 15.66 MB / 170.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.836e-05/0.06515, allocations: 176.3 kB / 190.3 MB, free: 15.48 MB / 170.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001104/0.06527, allocations: 251.5 kB / 190.5 MB, free: 15.22 MB / 170.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0002042/0.06549, allocations: 391 kB / 190.9 MB, free: 14.82 MB / 170.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 5.377e-05/0.06555, allocations: 108.9 kB / 191 MB, free: 14.7 MB / 170.7 MB Notification: Performance of sorting global known variables: time 8.345e-05/0.06565, allocations: 95.25 kB / 191.1 MB, free: 14.61 MB / 170.7 MB Notification: Performance of Backend: time 6.52e-07/0.06566, allocations: 0 / 191.1 MB, free: 14.61 MB / 170.7 MB Notification: Performance of simCode: created initialization part: time 0.0007729/0.06644, allocations: 179.7 kB / 191.3 MB, free: 14.44 MB / 170.7 MB Notification: Performance of SimCode: time 0.0006292/0.06709, allocations: 0.9435 MB / 192.2 MB, free: 13.43 MB / 170.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) []