Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(IDEAS.Utilities.Math.Functions.Examples.InverseXDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Functions.Examples.InverseXDerivativeCheck") translateModel(IDEAS.Utilities.Math.Functions.Examples.InverseXDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Functions.Examples.InverseXDerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006489/0.006489, allocations: 101.6 kB / 15.73 MB, free: 5.98 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001365/0.001365, allocations: 190.5 kB / 16.67 MB, free: 5.918 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.398/1.398, allocations: 222.9 MB / 240.4 MB, free: 4.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7581/0.7581, allocations: 132.2 MB / 422.7 MB, free: 1.684 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001235/0.001236, allocations: 60.69 kB / 0.5814 GB, free: 0.8359 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1872/0.1885, allocations: 80.2 MB / 0.6597 GB, free: 13.45 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.InverseXDerivativeCheck): time 0.001859/0.1904, allocations: 0.6059 MB / 0.6603 GB, free: 12.85 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.002151/0.1925, allocations: 1.453 MB / 0.6617 GB, free: 11.38 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.458e-05/0.1926, allocations: 0 / 0.6617 GB, free: 11.38 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.696e-05/0.1926, allocations: 7.938 kB / 0.6617 GB, free: 11.37 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 3.484e-05/0.1927, allocations: 0 / 0.6617 GB, free: 11.37 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.000671/0.1934, allocations: 147.4 kB / 0.6619 GB, free: 11.23 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 7.995e-05/0.1935, allocations: 27.97 kB / 0.6619 GB, free: 11.2 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 5.379e-05/0.1935, allocations: 4 kB / 0.6619 GB, free: 11.2 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 5.29e-05/0.1936, allocations: 15.92 kB / 0.6619 GB, free: 11.18 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 8.986e-05/0.1937, allocations: 23.97 kB / 0.6619 GB, free: 11.16 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.624e-05/0.1937, allocations: 4 kB / 0.6619 GB, free: 11.15 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004876/0.1942, allocations: 315.3 kB / 0.6622 GB, free: 10.84 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 2.425e-05/0.1942, allocations: 15.92 kB / 0.6623 GB, free: 10.83 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.166e-05/0.1943, allocations: 3.984 kB / 0.6623 GB, free: 10.82 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0004534/0.1947, allocations: 195.6 kB / 0.6625 GB, free: 10.63 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.34e-06/0.1947, allocations: 0 / 0.6625 GB, free: 10.63 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.833e-06/0.1948, allocations: 0 / 0.6625 GB, free: 10.63 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.082e-06/0.1948, allocations: 4 kB / 0.6625 GB, free: 10.63 MB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0005895/0.1954, allocations: 367.5 kB / 0.6628 GB, free: 10.22 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.218e-05/0.1954, allocations: 8.031 kB / 0.6628 GB, free: 10.21 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004639/0.1959, allocations: 68.84 kB / 0.6629 GB, free: 10.15 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000132/0.196, allocations: 164.3 kB / 0.663 GB, free: 9.949 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.067e-05/0.1961, allocations: 4.359 kB / 0.663 GB, free: 9.945 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.78e-05/0.1961, allocations: 4.375 kB / 0.663 GB, free: 9.941 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002648/0.1964, allocations: 77.95 kB / 0.6631 GB, free: 9.859 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.985e-06/0.1964, allocations: 0 / 0.6631 GB, free: 9.859 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.488e-05/0.1964, allocations: 0 / 0.6631 GB, free: 9.859 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.044e-05/0.1964, allocations: 3.938 kB / 0.6631 GB, free: 9.855 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003139/0.1967, allocations: 75.8 kB / 0.6632 GB, free: 9.781 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002122/0.197, allocations: 165.7 kB / 0.6634 GB, free: 9.57 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005653/0.1975, allocations: 118.6 kB / 0.6635 GB, free: 9.445 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000157/0.1977, allocations: 48.91 kB / 0.6635 GB, free: 9.395 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000456/0.1982, allocations: 153 kB / 0.6637 GB, free: 9.227 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.808e-05/0.1982, allocations: 34.5 kB / 0.6637 GB, free: 9.184 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=4): time 1.232e-06/0.1982, allocations: 0 / 0.6637 GB, free: 9.184 MB / 0.4981 GB Notification: Performance of matching and sorting (n=5): time 0.001143/0.1994, allocations: 406.2 kB / 0.6641 GB, free: 8.734 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.884e-05/0.1994, allocations: 55.41 kB / 0.6641 GB, free: 8.668 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.025e-05/0.1995, allocations: 97.78 kB / 0.6642 GB, free: 8.562 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.902e-05/0.1995, allocations: 33.7 kB / 0.6643 GB, free: 8.523 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 2.409e-05/0.1995, allocations: 80.14 kB / 0.6643 GB, free: 8.441 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.762e-05/0.1996, allocations: 11.75 kB / 0.6643 GB, free: 8.43 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.729e-05/0.1996, allocations: 25.7 kB / 0.6644 GB, free: 8.398 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001005/0.1997, allocations: 319 kB / 0.6647 GB, free: 8.078 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001458/0.1999, allocations: 27.97 kB / 0.6647 GB, free: 8.051 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001485/0.2001, allocations: 35.97 kB / 0.6647 GB, free: 8.016 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000292/0.2004, allocations: 80.98 kB / 0.6648 GB, free: 7.934 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.81e-07/0.2004, allocations: 0 / 0.6648 GB, free: 7.934 MB / 0.4981 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003566/0.2007, allocations: 117.6 kB / 0.6649 GB, free: 7.812 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.659e-05/0.2008, allocations: 8 kB / 0.6649 GB, free: 7.805 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.322e-06/0.2008, allocations: 0 / 0.6649 GB, free: 7.805 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.848e-05/0.2008, allocations: 4 kB / 0.6649 GB, free: 7.801 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000139/0.2009, allocations: 27.91 kB / 0.665 GB, free: 7.773 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.31e-06/0.201, allocations: 0 / 0.665 GB, free: 7.773 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.049e-05/0.2011, allocations: 11.98 kB / 0.665 GB, free: 7.762 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.183e-05/0.2011, allocations: 4 kB / 0.665 GB, free: 7.758 MB / 0.4981 GB 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 (6): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.363e-05/0.2012, allocations: 110.5 kB / 0.6651 GB, free: 7.641 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.403e-05/0.2012, allocations: 11.84 kB / 0.6651 GB, free: 7.629 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004434/0.2016, allocations: 133.2 kB / 0.6652 GB, free: 7.484 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.66e-06/0.2017, allocations: 336 / 0.6652 GB, free: 7.484 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.37e-06/0.2017, allocations: 3.938 kB / 0.6652 GB, free: 7.48 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.358e-06/0.2017, allocations: 4 kB / 0.6652 GB, free: 7.477 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001411/0.2018, allocations: 165.6 kB / 0.6654 GB, free: 7.266 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.185e-05/0.2018, allocations: 3.984 kB / 0.6654 GB, free: 7.262 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001488/0.202, allocations: 31.91 kB / 0.6654 GB, free: 7.23 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.474e-06/0.202, allocations: 0 / 0.6654 GB, free: 7.23 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.396e-05/0.202, allocations: 7.938 kB / 0.6654 GB, free: 7.223 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.864e-06/0.202, allocations: 0 / 0.6654 GB, free: 7.223 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.373e-06/0.2021, allocations: 0 / 0.6654 GB, free: 7.223 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005755/0.2026, allocations: 181.2 kB / 0.6656 GB, free: 7.027 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 7.385e-05/0.2027, allocations: 93.03 kB / 0.6657 GB, free: 6.918 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.374e-05/0.2027, allocations: 11.98 kB / 0.6657 GB, free: 6.906 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001088/0.2029, allocations: 11.98 kB / 0.6657 GB, free: 6.895 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.748e-05/0.2029, allocations: 7.938 kB / 0.6657 GB, free: 6.887 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.567e-06/0.2029, allocations: 4.062 kB / 0.6657 GB, free: 6.883 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.879e-05/0.203, allocations: 83.27 kB / 0.6658 GB, free: 6.801 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.203, allocations: 0 / 0.6658 GB, free: 6.801 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002747/0.2032, allocations: 28 kB / 0.6658 GB, free: 6.773 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (y_comp) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002273/0.2035, allocations: 127.2 kB / 0.666 GB, free: 6.637 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0003795/0.2039, allocations: 84.02 kB / 0.666 GB, free: 6.555 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.2039, allocations: 0 / 0.666 GB, free: 6.555 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001594/0.204, allocations: 51.91 kB / 0.6661 GB, free: 6.504 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001519/0.2042, allocations: 2.188 kB / 0.6661 GB, free: 6.504 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006861/0.2049, allocations: 189.5 kB / 0.6663 GB, free: 6.293 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002918/0.2052, allocations: 0.6768 MB / 0.6669 GB, free: 5.59 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 8.696e-05/0.2053, allocations: 16 kB / 0.6669 GB, free: 5.574 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.646e-05/0.2053, allocations: 15.42 kB / 0.667 GB, free: 5.562 MB / 0.4981 GB Notification: Performance of SimCode: time 5.31e-07/0.2053, allocations: 0 / 0.667 GB, free: 5.562 MB / 0.4981 GB Notification: Performance of Templates: time 0.004048/0.2094, allocations: 1.152 MB / 0.6681 GB, free: 4.41 MB / 0.4981 GB make -j1 -f IDEAS_IDEAS.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.makefile (rm -f IDEAS_IDEAS.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.sim & ./IDEAS_IDEAS.Utilities.Math.Functions.Examples.InverseXDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe 2>&1)