Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_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.Inverse_sh_T,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|h1|s1",fileNamePrefix="Modelica_3.2.2_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T") Notification: Performance of loadModel(Modelica): time 1.902/1.902, allocations: 194.9 MB / 211.7 MB, free: 3.008 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003417/0.0003418, allocations: 8 kB / 264.6 MB, free: 12.95 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09075/0.09112, allocations: 44.5 MB / 309.1 MB, free: 380 kB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T): time 0.001725/0.0929, allocations: 1.031 MB / 310.1 MB, free: 15.33 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.5047/0.5976, allocations: 127.1 MB / 437.2 MB, free: 9.477 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.568e-05/0.5977, allocations: 0 / 437.2 MB, free: 9.477 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 2.488e-05/0.5978, allocations: 3.984 kB / 437.2 MB, free: 9.473 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000981/0.5988, allocations: 199.4 kB / 437.4 MB, free: 9.32 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001933/0.6007, allocations: 469.2 kB / 437.8 MB, free: 9.008 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001124/0.6009, allocations: 46.36 kB / 437.9 MB, free: 8.98 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.821e-05/0.6009, allocations: 1.656 kB / 437.9 MB, free: 8.98 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.358e-05/0.601, allocations: 18.69 kB / 437.9 MB, free: 8.973 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.82e-05/0.6011, allocations: 34.83 kB / 437.9 MB, free: 8.949 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 1.539e-05/0.6011, allocations: 1.656 kB / 437.9 MB, free: 8.949 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00204/0.6032, allocations: 0.6453 MB / 438.6 MB, free: 8.68 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 2.022e-05/0.6032, allocations: 6.859 kB / 438.6 MB, free: 8.676 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 5.133e-05/0.6033, allocations: 35.11 kB / 438.6 MB, free: 8.641 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009747/0.6043, allocations: 343.3 kB / 438.9 MB, free: 8.469 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.64e-06/0.6043, allocations: 0 / 438.9 MB, free: 8.469 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.924e-06/0.6043, allocations: 3.938 kB / 438.9 MB, free: 8.465 MB / 330.7 MB Notification: Performance of Transformations before backend: time 5.07e-06/0.6043, allocations: 0 / 438.9 MB, free: 8.465 MB / 330.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.0006713/0.605, allocations: 435.5 kB / 439.4 MB, free: 8.035 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.44e-05/0.605, allocations: 8.188 kB / 439.4 MB, free: 8.035 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001666/0.6067, allocations: 98.92 kB / 439.5 MB, free: 7.984 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003721/0.6071, allocations: 222.2 kB / 439.7 MB, free: 7.75 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.893e-05/0.6071, allocations: 0.6875 kB / 439.7 MB, free: 7.75 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.367e-05/0.6072, allocations: 2.344 kB / 439.7 MB, free: 7.75 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000298/0.6075, allocations: 93.33 kB / 439.8 MB, free: 7.664 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.987e-06/0.6075, allocations: 0 / 439.8 MB, free: 7.664 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.932e-05/0.6075, allocations: 1 kB / 439.8 MB, free: 7.664 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.931e-06/0.6076, allocations: 2.938 kB / 439.8 MB, free: 7.664 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002793/0.6079, allocations: 52.31 kB / 439.8 MB, free: 7.633 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003294/0.6082, allocations: 208.3 kB / 440 MB, free: 7.395 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007143/0.6089, allocations: 130.8 kB / 440.2 MB, free: 7.297 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000851/0.6098, allocations: 0.9703 MB / 441.1 MB, free: 6.141 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.203e-05/0.6098, allocations: 37.25 kB / 441.2 MB, free: 6.098 MB / 330.7 MB Notification: Performance of pre-optimization done (n=6): time 2.044e-06/0.6099, allocations: 0 / 441.2 MB, free: 6.098 MB / 330.7 MB Notification: Performance of matching and sorting (n=6): time 0.0007211/0.6106, allocations: 139.1 kB / 441.3 MB, free: 6.004 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.209e-05/0.6107, allocations: 77.11 kB / 441.4 MB, free: 5.91 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003288/0.611, allocations: 148.5 kB / 441.5 MB, free: 5.785 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 3.394e-05/0.611, allocations: 32.7 kB / 441.6 MB, free: 5.75 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.521e-05/0.6111, allocations: 84.12 kB / 441.6 MB, free: 5.664 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.297e-05/0.6112, allocations: 22.53 kB / 441.7 MB, free: 5.645 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.316e-05/0.6112, allocations: 0 / 441.7 MB, free: 5.645 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001337/0.6113, allocations: 329.3 kB / 442 MB, free: 5.316 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001646/0.6115, allocations: 20.39 kB / 442 MB, free: 5.309 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001904/0.6117, allocations: 51 kB / 442.1 MB, free: 5.262 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001861/0.6119, allocations: 36.06 kB / 442.1 MB, free: 5.242 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/0.6119, allocations: 4 kB / 442.1 MB, free: 5.238 MB / 330.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0005172/0.6125, allocations: 113.2 kB / 442.2 MB, free: 5.164 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.652e-05/0.6125, allocations: 5.219 kB / 442.2 MB, free: 5.164 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.933e-06/0.6125, allocations: 2.219 kB / 442.2 MB, free: 5.164 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.514e-05/0.6125, allocations: 2.875 kB / 442.2 MB, free: 5.164 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002336/0.6128, allocations: 29.03 kB / 442.2 MB, free: 5.148 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.204e-05/0.6128, allocations: 4.938 kB / 442.2 MB, free: 5.148 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003051/0.6131, allocations: 14.23 kB / 442.3 MB, free: 5.137 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.988e-05/0.6131, allocations: 9.281 kB / 442.3 MB, free: 5.133 MB / 330.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.0001146/0.6133, allocations: 120.7 kB / 442.4 MB, free: 5.008 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.579e-05/0.6133, allocations: 2.531 kB / 442.4 MB, free: 5.008 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008264/0.6142, allocations: 240.7 kB / 442.6 MB, free: 4.855 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.001e-06/0.6142, allocations: 0.5156 kB / 442.6 MB, free: 4.855 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.697e-06/0.6142, allocations: 2.344 kB / 442.6 MB, free: 4.855 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000104/0.6143, allocations: 93.98 kB / 442.7 MB, free: 4.75 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.166e-05/0.6144, allocations: 0 / 442.7 MB, free: 4.75 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003456/0.6147, allocations: 9.422 kB / 442.7 MB, free: 4.746 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.115e-05/0.6148, allocations: 17.89 kB / 442.7 MB, free: 4.73 MB / 330.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0008473/0.6157, allocations: 288.3 kB / 443 MB, free: 4.492 MB / 330.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0007558/0.6164, allocations: 398.6 kB / 443.4 MB, free: 4.102 MB / 330.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001869/0.6166, allocations: 36 kB / 443.5 MB, free: 4.066 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0002693/0.6169, allocations: 135.7 kB / 443.6 MB, free: 3.934 MB / 330.7 MB Notification: Performance of Backend: time 7.11e-07/0.6169, allocations: 0 / 443.6 MB, free: 3.934 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001741/0.6187, allocations: 406.9 kB / 444 MB, free: 3.531 MB / 330.7 MB Notification: Performance of SimCode: time 0.001112/0.6198, allocations: 0.8158 MB / 444.8 MB, free: 2.672 MB / 330.7 MB Notification: Performance of Templates: time 0.01617/0.636, allocations: 6.045 MB / 450.8 MB, free: 12.62 MB / 346.7 MB