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.005282/0.005282, allocations: 101.5 kB / 15.88 MB, free: 5.867 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.001312/0.001312, allocations: 191.7 kB / 16.79 MB, free: 5.812 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.462/1.462, allocations: 222.9 MB / 240.5 MB, free: 4.555 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9344/0.9344, allocations: 135.1 MB / 425.7 MB, free: 11.83 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001339/0.001339, allocations: 68.17 kB / 0.5053 GB, free: 5.723 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1508/0.1521, allocations: 80.92 MB / 0.5844 GB, free: 4.965 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.InverseXDerivativeCheck): time 0.002123/0.1543, allocations: 0.6543 MB / 0.585 GB, free: 4.301 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.002044/0.1564, allocations: 1.472 MB / 0.5864 GB, free: 2.812 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.705e-05/0.1564, allocations: 0 / 0.5864 GB, free: 2.812 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.932e-05/0.1565, allocations: 0 / 0.5864 GB, free: 2.812 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 3.987e-05/0.1565, allocations: 4 kB / 0.5864 GB, free: 2.809 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004858/0.157, allocations: 118.3 kB / 0.5865 GB, free: 2.699 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 6.415e-05/0.1571, allocations: 31.91 kB / 0.5866 GB, free: 2.668 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.066e-05/0.1571, allocations: 4 kB / 0.5866 GB, free: 2.664 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.495e-05/0.1572, allocations: 15.97 kB / 0.5866 GB, free: 2.648 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.623e-05/0.1573, allocations: 19.97 kB / 0.5866 GB, free: 2.629 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.748e-05/0.1573, allocations: 7.938 kB / 0.5866 GB, free: 2.621 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004579/0.1578, allocations: 319.3 kB / 0.5869 GB, free: 2.309 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.938e-05/0.1578, allocations: 7.984 kB / 0.5869 GB, free: 2.301 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.707e-05/0.1578, allocations: 4 kB / 0.5869 GB, free: 2.297 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002296/0.1581, allocations: 135.8 kB / 0.5871 GB, free: 2.164 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.394e-06/0.1581, allocations: 4 kB / 0.5871 GB, free: 2.16 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.373e-06/0.1581, allocations: 7.938 kB / 0.5871 GB, free: 2.152 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.258e-06/0.1581, allocations: 0 / 0.5871 GB, free: 2.152 MB / 494.1 MB 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.0005346/0.1587, allocations: 371.7 kB / 0.5874 GB, free: 1.742 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.98e-05/0.1587, allocations: 8.031 kB / 0.5874 GB, free: 1.734 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004906/0.1592, allocations: 68.84 kB / 0.5875 GB, free: 1.668 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001325/0.1593, allocations: 164.3 kB / 0.5877 GB, free: 1.469 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.47e-05/0.1594, allocations: 384 / 0.5877 GB, free: 1.469 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.262e-05/0.1594, allocations: 4.375 kB / 0.5877 GB, free: 1.465 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000268/0.1597, allocations: 81.94 kB / 0.5877 GB, free: 1.379 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.544e-06/0.1597, allocations: 0 / 0.5877 GB, free: 1.379 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.632e-05/0.1597, allocations: 4 kB / 0.5877 GB, free: 1.375 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.127e-06/0.1597, allocations: 0 / 0.5877 GB, free: 1.375 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002999/0.16, allocations: 63.94 kB / 0.5878 GB, free: 1.312 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001887/0.1602, allocations: 161.7 kB / 0.588 GB, free: 1.105 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000616/0.1609, allocations: 126.5 kB / 0.5881 GB, free: 0.9727 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001607/0.161, allocations: 44.91 kB / 0.5881 GB, free: 0.9258 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004553/0.1615, allocations: 153 kB / 0.5883 GB, free: 0.7578 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.806e-05/0.1615, allocations: 42.48 kB / 0.5883 GB, free: 0.707 MB / 494.1 MB Notification: Performance of pre-optimization done (n=4): time 1.253e-06/0.1615, allocations: 0 / 0.5883 GB, free: 0.707 MB / 494.1 MB Notification: Performance of matching and sorting (n=5): time 0.001164/0.1627, allocations: 402.2 kB / 0.5887 GB, free: 268 kB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.066e-05/0.1628, allocations: 55.41 kB / 0.5888 GB, free: 200 kB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.819e-05/0.1628, allocations: 89.86 kB / 0.5888 GB, free: 100 kB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.735e-05/0.1629, allocations: 29.7 kB / 0.5889 GB, free: 64 kB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.277e-05/0.1629, allocations: 84.14 kB / 0.5889 GB, free: 15.98 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.373e-05/0.1629, allocations: 27.7 kB / 0.589 GB, free: 15.95 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.206e-05/0.163, allocations: 21.72 kB / 0.589 GB, free: 15.92 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001103/0.1631, allocations: 318.8 kB / 0.5893 GB, free: 15.6 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001659/0.1633, allocations: 35.95 kB / 0.5893 GB, free: 15.57 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001463/0.1634, allocations: 39.91 kB / 0.5894 GB, free: 15.53 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00029/0.1637, allocations: 76.8 kB / 0.5894 GB, free: 15.45 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.41e-07/0.1638, allocations: 0 / 0.5894 GB, free: 15.45 MB / 0.4981 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003631/0.1641, allocations: 113.6 kB / 0.5896 GB, free: 15.33 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.065e-05/0.1642, allocations: 10.33 kB / 0.5896 GB, free: 15.32 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.5e-06/0.1642, allocations: 4 kB / 0.5896 GB, free: 15.32 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.359e-05/0.1642, allocations: 256 / 0.5896 GB, free: 15.32 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001494/0.1643, allocations: 19.98 kB / 0.5896 GB, free: 15.3 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.516e-06/0.1644, allocations: 4 kB / 0.5896 GB, free: 15.3 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001021/0.1645, allocations: 15.98 kB / 0.5896 GB, free: 15.28 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.027e-05/0.1645, allocations: 3.938 kB / 0.5896 GB, free: 15.28 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 0.0001051/0.1646, allocations: 117.8 kB / 0.5897 GB, free: 15.15 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.94e-05/0.1646, allocations: 3.938 kB / 0.5897 GB, free: 15.15 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004682/0.1651, allocations: 137.1 kB / 0.5899 GB, free: 15.01 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.058e-06/0.1651, allocations: 4 kB / 0.5899 GB, free: 15 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.827e-06/0.1651, allocations: 0 / 0.5899 GB, free: 15 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.355e-06/0.1651, allocations: 0 / 0.5899 GB, free: 15 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001385/0.1653, allocations: 161.7 kB / 0.59 GB, free: 14.8 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.383e-06/0.1653, allocations: 0 / 0.59 GB, free: 14.8 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001597/0.1654, allocations: 31.86 kB / 0.59 GB, free: 14.77 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.947e-06/0.1655, allocations: 4 kB / 0.59 GB, free: 14.76 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.183e-05/0.1655, allocations: 4 kB / 0.59 GB, free: 14.76 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.683e-06/0.1655, allocations: 0 / 0.59 GB, free: 14.76 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.1655, allocations: 0 / 0.59 GB, free: 14.76 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005533/0.166, allocations: 184.9 kB / 0.5902 GB, free: 14.56 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 6.692e-05/0.1661, allocations: 85.03 kB / 0.5903 GB, free: 14.46 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.136e-05/0.1661, allocations: 8.031 kB / 0.5903 GB, free: 14.45 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001297/0.1663, allocations: 16.05 kB / 0.5903 GB, free: 14.43 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.808e-05/0.1663, allocations: 3.984 kB / 0.5903 GB, free: 14.43 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.035e-05/0.1663, allocations: 4 kB / 0.5903 GB, free: 14.43 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.2e-05/0.1664, allocations: 75.28 kB / 0.5904 GB, free: 14.35 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.6e-07/0.1664, allocations: 3.938 kB / 0.5904 GB, free: 14.35 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002373/0.1666, allocations: 32 kB / 0.5904 GB, free: 14.32 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.0002336/0.1669, allocations: 139.2 kB / 0.5906 GB, free: 14.17 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.000366/0.1672, allocations: 71.94 kB / 0.5906 GB, free: 14.1 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.1672, allocations: 4 kB / 0.5906 GB, free: 14.09 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.000168/0.1674, allocations: 52.2 kB / 0.5907 GB, free: 14.04 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001594/0.1676, allocations: 3.938 kB / 0.5907 GB, free: 14.04 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006397/0.1682, allocations: 213.2 kB / 0.5909 GB, free: 13.8 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002493/0.1685, allocations: 0.677 MB / 0.5916 GB, free: 13.1 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.127e-05/0.1686, allocations: 15.44 kB / 0.5916 GB, free: 13.08 MB / 0.4981 GB Notification: Performance of SimCode: time 3.5e-07/0.1686, allocations: 4 kB / 0.5916 GB, free: 13.08 MB / 0.4981 GB Notification: Performance of Templates: time 0.002771/0.1714, allocations: 1.121 MB / 0.5927 GB, free: 11.96 MB / 0.4981 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)