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.001146/0.001146, allocations: 110.4 kB / 16.37 MB, free: 5.539 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.001152/0.001152, allocations: 197.1 kB / 17.31 MB, free: 5.18 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.294/1.294, allocations: 222.9 MB / 241 MB, free: 15.22 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7599/0.7599, allocations: 135.1 MB / 426.3 MB, free: 4.152 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001247/0.001247, allocations: 67.91 kB / 0.5068 GB, free: 7.676 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.355/0.3563, allocations: 80.91 MB / 0.5858 GB, free: 25.58 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.InverseXDerivativeCheck): time 0.001615/0.358, allocations: 0.5948 MB / 0.5864 GB, free: 25.14 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001339/0.3593, allocations: 1.453 MB / 0.5878 GB, free: 23.97 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.255e-05/0.3593, allocations: 0 / 0.5878 GB, free: 23.97 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 1.235e-05/0.3594, allocations: 1.469 kB / 0.5878 GB, free: 23.97 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 2.767e-05/0.3594, allocations: 5.562 kB / 0.5878 GB, free: 23.97 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004242/0.3598, allocations: 142.9 kB / 0.5879 GB, free: 23.87 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 6.302e-05/0.3599, allocations: 27.78 kB / 0.5879 GB, free: 23.86 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.745e-05/0.36, allocations: 1.938 kB / 0.588 GB, free: 23.86 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.584e-05/0.36, allocations: 22.27 kB / 0.588 GB, free: 23.85 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.756e-05/0.3601, allocations: 30.44 kB / 0.588 GB, free: 23.83 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.423e-05/0.3601, allocations: 1.344 kB / 0.588 GB, free: 23.83 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000401/0.3605, allocations: 313 kB / 0.5883 GB, free: 23.65 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 2.524e-05/0.3605, allocations: 14.22 kB / 0.5883 GB, free: 23.64 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 3.553e-05/0.3606, allocations: 12.14 kB / 0.5883 GB, free: 23.63 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003746/0.361, allocations: 186.6 kB / 0.5885 GB, free: 23.53 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.49e-06/0.361, allocations: 1.438 kB / 0.5885 GB, free: 23.53 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.524e-06/0.361, allocations: 1.406 kB / 0.5885 GB, free: 23.53 MB / 446.1 MB Notification: Performance of Transformations before backend: time 7.454e-06/0.361, allocations: 0 / 0.5885 GB, free: 23.53 MB / 446.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.0006677/0.3617, allocations: 367.8 kB / 0.5889 GB, free: 23.14 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.161e-05/0.3617, allocations: 10.42 kB / 0.5889 GB, free: 23.14 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005662/0.3623, allocations: 64.8 kB / 0.5889 GB, free: 23.12 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001302/0.3625, allocations: 169.7 kB / 0.5891 GB, free: 22.92 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.901e-05/0.3625, allocations: 2 kB / 0.5891 GB, free: 22.92 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.722e-05/0.3625, allocations: 1.438 kB / 0.5891 GB, free: 22.92 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000297/0.3628, allocations: 81.11 kB / 0.5892 GB, free: 22.86 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.135e-05/0.3629, allocations: 0 / 0.5892 GB, free: 22.86 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.728e-05/0.3629, allocations: 0 / 0.5892 GB, free: 22.86 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.626e-06/0.3629, allocations: 9.281 kB / 0.5892 GB, free: 22.86 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003107/0.3632, allocations: 62.53 kB / 0.5892 GB, free: 22.84 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002907/0.3635, allocations: 169.1 kB / 0.5894 GB, free: 22.63 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006452/0.3642, allocations: 125.2 kB / 0.5895 GB, free: 22.57 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001938/0.3644, allocations: 47.48 kB / 0.5896 GB, free: 22.54 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004497/0.3648, allocations: 152.8 kB / 0.5897 GB, free: 22.38 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.157e-05/0.3649, allocations: 35.56 kB / 0.5897 GB, free: 22.33 MB / 446.1 MB Notification: Performance of pre-optimization done (n=4): time 1.183e-06/0.3649, allocations: 0 / 0.5897 GB, free: 22.33 MB / 446.1 MB Notification: Performance of matching and sorting (n=5): time 0.001226/0.3661, allocations: 404.6 kB / 0.5901 GB, free: 21.89 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.382e-05/0.3662, allocations: 55.39 kB / 0.5902 GB, free: 21.83 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.48e-05/0.3662, allocations: 97.86 kB / 0.5903 GB, free: 21.72 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.729e-05/0.3663, allocations: 27.08 kB / 0.5903 GB, free: 21.69 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.998e-05/0.3663, allocations: 80.14 kB / 0.5904 GB, free: 21.61 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.294e-05/0.3663, allocations: 19.72 kB / 0.5904 GB, free: 21.59 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.295e-05/0.3664, allocations: 18.27 kB / 0.5904 GB, free: 21.57 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.225e-05/0.3664, allocations: 316.1 kB / 0.5907 GB, free: 21.25 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001388/0.3666, allocations: 38.06 kB / 0.5908 GB, free: 21.21 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001305/0.3667, allocations: 37.86 kB / 0.5908 GB, free: 21.18 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002557/0.367, allocations: 80.05 kB / 0.5909 GB, free: 21.1 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.42e-07/0.367, allocations: 0 / 0.5909 GB, free: 21.1 MB / 446.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.000301/0.3673, allocations: 116.9 kB / 0.591 GB, free: 20.98 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.648e-05/0.3673, allocations: 4 kB / 0.591 GB, free: 20.98 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.621e-06/0.3673, allocations: 1.062 kB / 0.591 GB, free: 20.98 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.578e-05/0.3674, allocations: 0 / 0.591 GB, free: 20.98 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001345/0.3675, allocations: 33.25 kB / 0.591 GB, free: 20.95 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.181e-06/0.3675, allocations: 0.5312 kB / 0.591 GB, free: 20.95 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.691e-05/0.3676, allocations: 13.58 kB / 0.591 GB, free: 20.94 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.528e-06/0.3676, allocations: 0 / 0.591 GB, free: 20.94 MB / 446.1 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 (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 6.122e-05/0.3677, allocations: 118.4 kB / 0.5911 GB, free: 20.81 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.486e-05/0.3677, allocations: 9.047 kB / 0.5912 GB, free: 20.8 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000395/0.3681, allocations: 127.2 kB / 0.5913 GB, free: 20.68 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.915e-06/0.3681, allocations: 0 / 0.5913 GB, free: 20.68 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.438e-06/0.3681, allocations: 0.5 kB / 0.5913 GB, free: 20.68 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.588e-06/0.3681, allocations: 7.984 kB / 0.5913 GB, free: 20.68 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.269e-05/0.3682, allocations: 168.4 kB / 0.5914 GB, free: 20.46 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.3682, allocations: 3.938 kB / 0.5914 GB, free: 20.46 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001494/0.3684, allocations: 27.91 kB / 0.5915 GB, free: 20.43 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.804e-06/0.3684, allocations: 0 / 0.5915 GB, free: 20.43 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.247e-05/0.3684, allocations: 4 kB / 0.5915 GB, free: 20.43 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.703e-06/0.3684, allocations: 5.844 kB / 0.5915 GB, free: 20.43 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.3684, allocations: 0 / 0.5915 GB, free: 20.43 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004689/0.3689, allocations: 185.9 kB / 0.5917 GB, free: 20.23 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.862e-05/0.369, allocations: 89.03 kB / 0.5917 GB, free: 20.12 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.777e-05/0.369, allocations: 0.7812 kB / 0.5917 GB, free: 20.12 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001029/0.3691, allocations: 12.86 kB / 0.5918 GB, free: 20.11 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.154e-05/0.3691, allocations: 5 kB / 0.5918 GB, free: 20.11 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.838e-06/0.3691, allocations: 7.984 kB / 0.5918 GB, free: 20.1 MB / 446.1 MB Notification: Performance of sorting global known variables: time 1.892e-05/0.3692, allocations: 80.94 kB / 0.5918 GB, free: 20.02 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3692, allocations: 0 / 0.5918 GB, free: 20.02 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002324/0.3694, allocations: 27.94 kB / 0.5919 GB, free: 20 MB / 446.1 MB 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.0001635/0.3696, allocations: 125.8 kB / 0.592 GB, free: 19.87 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0003271/0.3699, allocations: 91.2 kB / 0.5921 GB, free: 19.78 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.3699, allocations: 2.969 kB / 0.5921 GB, free: 19.78 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001382/0.3701, allocations: 44.08 kB / 0.5921 GB, free: 19.74 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001483/0.3702, allocations: 6.359 kB / 0.5921 GB, free: 19.73 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005314/0.3708, allocations: 196.5 kB / 0.5923 GB, free: 19.52 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.513e-05/0.3709, allocations: 0.6768 MB / 0.593 GB, free: 18.82 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 8.107e-05/0.371, allocations: 24.2 kB / 0.593 GB, free: 18.8 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.96e-05/0.371, allocations: 11.44 kB / 0.593 GB, free: 18.79 MB / 446.1 MB Notification: Performance of SimCode: time 2e-07/0.371, allocations: 0 / 0.593 GB, free: 18.79 MB / 446.1 MB Notification: Performance of Templates: time 0.002896/0.3739, allocations: 1.144 MB / 0.5941 GB, free: 17.65 MB / 446.1 MB 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 -s cvode -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe 2>&1)