Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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_dev_IDEAS.Utilities.Math.Functions.Examples.InverseXDerivativeCheck") translateModel(IDEAS.Utilities.Math.Functions.Examples.InverseXDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_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.001149/0.001149, allocations: 104.7 kB / 16.41 MB, free: 6.508 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.001166/0.001166, allocations: 192.2 kB / 17.34 MB, free: 5.742 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.35/1.35, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8265/0.8265, allocations: 135.1 MB / 426.3 MB, free: 4.109 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00207/0.00207, allocations: 64.55 kB / 0.5863 GB, free: 21.47 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1562/0.1583, allocations: 80.94 MB / 0.6654 GB, free: 5.738 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.InverseXDerivativeCheck): time 0.001717/0.1601, allocations: 0.5784 MB / 0.6659 GB, free: 5.164 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001827/0.1619, allocations: 1.457 MB / 0.6673 GB, free: 3.691 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.397e-05/0.162, allocations: 0 / 0.6673 GB, free: 3.691 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.587e-05/0.162, allocations: 3.938 kB / 0.6673 GB, free: 3.688 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 2.332e-05/0.162, allocations: 0 / 0.6673 GB, free: 3.688 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.000518/0.1626, allocations: 143.4 kB / 0.6675 GB, free: 3.547 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 7.098e-05/0.1626, allocations: 27.97 kB / 0.6675 GB, free: 3.52 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.307e-05/0.1627, allocations: 4 kB / 0.6675 GB, free: 3.516 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 4.419e-05/0.1627, allocations: 23.91 kB / 0.6675 GB, free: 3.492 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 8.452e-05/0.1628, allocations: 19.97 kB / 0.6676 GB, free: 3.473 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.938e-05/0.1629, allocations: 4 kB / 0.6676 GB, free: 3.469 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004698/0.1633, allocations: 315.3 kB / 0.6679 GB, free: 3.16 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.771e-05/0.1634, allocations: 7.922 kB / 0.6679 GB, free: 3.152 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.687e-05/0.1634, allocations: 11.98 kB / 0.6679 GB, free: 3.141 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0003122/0.1637, allocations: 195.6 kB / 0.6681 GB, free: 2.949 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.058e-06/0.1637, allocations: 0 / 0.6681 GB, free: 2.949 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.904e-06/0.1637, allocations: 0 / 0.6681 GB, free: 2.949 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.46e-06/0.1637, allocations: 0 / 0.6681 GB, free: 2.949 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.0005512/0.1643, allocations: 363.5 kB / 0.6684 GB, free: 2.547 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.132e-05/0.1644, allocations: 13.11 kB / 0.6684 GB, free: 2.535 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004793/0.1648, allocations: 60.86 kB / 0.6685 GB, free: 2.477 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001248/0.165, allocations: 176.3 kB / 0.6687 GB, free: 2.266 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.903e-05/0.165, allocations: 4.312 kB / 0.6687 GB, free: 2.262 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.769e-05/0.165, allocations: 12.28 kB / 0.6687 GB, free: 2.25 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002575/0.1653, allocations: 73.95 kB / 0.6687 GB, free: 2.172 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.244e-06/0.1653, allocations: 0 / 0.6687 GB, free: 2.172 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.781e-05/0.1653, allocations: 4 kB / 0.6687 GB, free: 2.168 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.192e-06/0.1653, allocations: 0 / 0.6687 GB, free: 2.168 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003038/0.1657, allocations: 67.86 kB / 0.6688 GB, free: 2.102 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001852/0.1658, allocations: 165.7 kB / 0.669 GB, free: 1.891 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006277/0.1665, allocations: 130.5 kB / 0.6691 GB, free: 1.754 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001687/0.1667, allocations: 40.91 kB / 0.6691 GB, free: 1.711 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004743/0.1671, allocations: 157 kB / 0.6693 GB, free: 1.539 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.442e-05/0.1672, allocations: 34.5 kB / 0.6693 GB, free: 1.496 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=4): time 1.122e-06/0.1672, allocations: 0 / 0.6693 GB, free: 1.496 MB / 0.4981 GB Notification: Performance of matching and sorting (n=5): time 0.00123/0.1684, allocations: 402.2 kB / 0.6697 GB, free: 1.051 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.314e-05/0.1685, allocations: 51.41 kB / 0.6697 GB, free: 0.9883 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.88e-05/0.1685, allocations: 101.8 kB / 0.6698 GB, free: 0.8789 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.792e-05/0.1686, allocations: 25.83 kB / 0.6699 GB, free: 0.8477 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 2.669e-05/0.1686, allocations: 84.14 kB / 0.6699 GB, free: 0.7617 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.599e-05/0.1686, allocations: 19.75 kB / 0.67 GB, free: 0.7422 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.129e-05/0.1687, allocations: 21.7 kB / 0.67 GB, free: 0.7148 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 9.866e-05/0.1688, allocations: 314.8 kB / 0.6703 GB, free: 408 kB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001645/0.169, allocations: 35.97 kB / 0.6703 GB, free: 372 kB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000152/0.1691, allocations: 39.89 kB / 0.6704 GB, free: 332 kB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003119/0.1695, allocations: 76.8 kB / 0.6704 GB, free: 252 kB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.072e-06/0.1695, allocations: 0 / 0.6704 GB, free: 252 kB / 0.4981 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.000373/0.1698, allocations: 113.6 kB / 0.6705 GB, free: 132 kB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.603e-05/0.1699, allocations: 4 kB / 0.6705 GB, free: 128 kB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.869e-06/0.1699, allocations: 0 / 0.6705 GB, free: 128 kB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.405e-05/0.1699, allocations: 0 / 0.6705 GB, free: 128 kB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001526/0.1701, allocations: 27.97 kB / 0.6706 GB, free: 100 kB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.532e-06/0.1701, allocations: 0 / 0.6706 GB, free: 100 kB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001034/0.1702, allocations: 15.98 kB / 0.6706 GB, free: 84 kB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.056e-05/0.1702, allocations: 0 / 0.6706 GB, free: 84 kB / 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.821e-05/0.1703, allocations: 119.1 kB / 0.6707 GB, free: 15.96 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.17e-05/0.1703, allocations: 11.83 kB / 0.6707 GB, free: 15.95 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004603/0.1708, allocations: 129.4 kB / 0.6708 GB, free: 15.81 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.525e-06/0.1708, allocations: 0 / 0.6708 GB, free: 15.81 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.591e-06/0.1708, allocations: 4.062 kB / 0.6708 GB, free: 15.8 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.469e-06/0.1708, allocations: 12.25 kB / 0.6708 GB, free: 15.79 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001354/0.171, allocations: 169.6 kB / 0.671 GB, free: 15.58 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.171, allocations: 0 / 0.671 GB, free: 15.58 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001653/0.1712, allocations: 27.91 kB / 0.671 GB, free: 15.55 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.565e-06/0.1712, allocations: 7.938 kB / 0.671 GB, free: 15.54 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.198e-05/0.1712, allocations: 4 kB / 0.671 GB, free: 15.54 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.1712, allocations: 0 / 0.671 GB, free: 15.54 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.314e-06/0.1712, allocations: 3.984 kB / 0.6711 GB, free: 15.54 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005792/0.1718, allocations: 189 kB / 0.6712 GB, free: 15.33 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 6.876e-05/0.1719, allocations: 85.03 kB / 0.6713 GB, free: 15.23 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.055e-05/0.1719, allocations: 64 / 0.6713 GB, free: 15.23 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001211/0.172, allocations: 16.02 kB / 0.6713 GB, free: 15.21 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.596e-05/0.1721, allocations: 4 kB / 0.6713 GB, free: 15.21 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.32e-05/0.1721, allocations: 11.98 kB / 0.6713 GB, free: 15.2 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 4.322e-05/0.1721, allocations: 75.28 kB / 0.6714 GB, free: 15.12 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1721, allocations: 0 / 0.6714 GB, free: 15.12 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002393/0.1724, allocations: 24 kB / 0.6714 GB, free: 15.1 MB / 0.5137 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.0002252/0.1726, allocations: 139.2 kB / 0.6716 GB, free: 14.95 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0003906/0.173, allocations: 83.92 kB / 0.6717 GB, free: 14.87 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.173, allocations: 0 / 0.6717 GB, free: 14.87 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0001728/0.1732, allocations: 43.95 kB / 0.6717 GB, free: 14.83 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001676/0.1734, allocations: 8 kB / 0.6717 GB, free: 14.82 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006502/0.174, allocations: 215.1 kB / 0.6719 GB, free: 14.58 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002344/0.1743, allocations: 0.6768 MB / 0.6726 GB, free: 13.88 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.755e-05/0.1743, allocations: 15.42 kB / 0.6726 GB, free: 13.86 MB / 0.5137 GB Notification: Performance of SimCode: time 3.91e-07/0.1744, allocations: 8 kB / 0.6726 GB, free: 13.85 MB / 0.5137 GB Notification: Performance of Templates: time 0.002879/0.1772, allocations: 1.132 MB / 0.6737 GB, free: 12.72 MB / 0.5137 GB make -j1 -f IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.makefile (rm -f IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.sim & ./IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.InverseXDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe 2>&1)