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.001435/0.001435, allocations: 113.2 kB / 16.37 MB, free: 5.984 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.001599/0.001599, allocations: 194.7 kB / 17.31 MB, free: 5.602 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.346/1.346, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8009/0.8009, allocations: 135.1 MB / 426.3 MB, free: 4.129 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001304/0.001304, allocations: 72.02 kB / 0.5068 GB, free: 7.648 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3526/0.3539, allocations: 80.9 MB / 0.5858 GB, free: 25.55 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.InverseXDerivativeCheck): time 0.001645/0.3556, allocations: 0.5953 MB / 0.5864 GB, free: 25.12 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001491/0.3571, allocations: 1.457 MB / 0.5878 GB, free: 23.94 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.421e-05/0.3571, allocations: 0.625 kB / 0.5878 GB, free: 23.94 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 1.227e-05/0.3572, allocations: 1.219 kB / 0.5878 GB, free: 23.94 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 2.786e-05/0.3572, allocations: 0.5625 kB / 0.5878 GB, free: 23.94 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00045/0.3577, allocations: 140.7 kB / 0.5879 GB, free: 23.85 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 6.514e-05/0.3577, allocations: 39.19 kB / 0.588 GB, free: 23.82 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.023e-05/0.3578, allocations: 2.781 kB / 0.588 GB, free: 23.82 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.828e-05/0.3578, allocations: 13.39 kB / 0.588 GB, free: 23.82 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.698e-05/0.3579, allocations: 21.59 kB / 0.588 GB, free: 23.81 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.618e-05/0.3579, allocations: 3.438 kB / 0.588 GB, free: 23.81 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003852/0.3583, allocations: 323.5 kB / 0.5883 GB, free: 23.62 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.848e-05/0.3583, allocations: 11.05 kB / 0.5883 GB, free: 23.61 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.707e-05/0.3584, allocations: 6.266 kB / 0.5883 GB, free: 23.61 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002694/0.3587, allocations: 189.5 kB / 0.5885 GB, free: 23.51 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/0.3587, allocations: 1.062 kB / 0.5885 GB, free: 23.51 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.374e-06/0.3587, allocations: 0 / 0.5885 GB, free: 23.51 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.87e-06/0.3587, allocations: 0 / 0.5885 GB, free: 23.51 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.0004357/0.3591, allocations: 371.1 kB / 0.5889 GB, free: 23.12 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.477e-05/0.3592, allocations: 9.391 kB / 0.5889 GB, free: 23.12 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004429/0.3596, allocations: 63.39 kB / 0.5889 GB, free: 23.1 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.707e-05/0.3597, allocations: 171 kB / 0.5891 GB, free: 22.9 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.177e-05/0.3597, allocations: 1.688 kB / 0.5891 GB, free: 22.9 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.346e-05/0.3598, allocations: 1.688 kB / 0.5891 GB, free: 22.9 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002525/0.36, allocations: 80.64 kB / 0.5892 GB, free: 22.84 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.207e-06/0.36, allocations: 3.938 kB / 0.5892 GB, free: 22.84 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.278e-05/0.3601, allocations: 2.562 kB / 0.5892 GB, free: 22.84 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.937e-06/0.3601, allocations: 0 / 0.5892 GB, free: 22.84 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00028/0.3604, allocations: 65.33 kB / 0.5892 GB, free: 22.81 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001378/0.3605, allocations: 171 kB / 0.5894 GB, free: 22.61 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005413/0.3611, allocations: 121.9 kB / 0.5895 GB, free: 22.54 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000146/0.3612, allocations: 48.31 kB / 0.5896 GB, free: 22.49 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004019/0.3616, allocations: 152.3 kB / 0.5897 GB, free: 22.32 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.647e-05/0.3616, allocations: 40.25 kB / 0.5897 GB, free: 22.28 MB / 446.1 MB Notification: Performance of pre-optimization done (n=4): time 1.042e-06/0.3617, allocations: 0 / 0.5897 GB, free: 22.28 MB / 446.1 MB Notification: Performance of matching and sorting (n=5): time 0.001041/0.3627, allocations: 405.9 kB / 0.5901 GB, free: 21.84 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.982e-05/0.3627, allocations: 56.02 kB / 0.5902 GB, free: 21.77 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.314e-05/0.3628, allocations: 95.11 kB / 0.5903 GB, free: 21.67 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.181e-05/0.3628, allocations: 25.7 kB / 0.5903 GB, free: 21.64 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.251e-05/0.3628, allocations: 81.89 kB / 0.5904 GB, free: 21.55 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.551e-05/0.3628, allocations: 21.48 kB / 0.5904 GB, free: 21.54 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.058e-05/0.3629, allocations: 25.7 kB / 0.5904 GB, free: 21.5 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 3.991e-05/0.3629, allocations: 312.7 kB / 0.5907 GB, free: 21.19 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001422/0.3631, allocations: 32.66 kB / 0.5908 GB, free: 21.16 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001299/0.3632, allocations: 42.27 kB / 0.5908 GB, free: 21.12 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002606/0.3635, allocations: 83.8 kB / 0.5909 GB, free: 21.04 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.21e-07/0.3635, allocations: 1.562 kB / 0.5909 GB, free: 21.04 MB / 446.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003243/0.3638, allocations: 107.7 kB / 0.591 GB, free: 20.93 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.203e-05/0.3639, allocations: 9.156 kB / 0.591 GB, free: 20.92 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.489e-06/0.3639, allocations: 0 / 0.591 GB, free: 20.92 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.472e-05/0.3639, allocations: 0 / 0.591 GB, free: 20.92 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001386/0.364, allocations: 26.44 kB / 0.591 GB, free: 20.9 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.921e-06/0.364, allocations: 0 / 0.591 GB, free: 20.9 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.282e-05/0.3641, allocations: 19.23 kB / 0.591 GB, free: 20.88 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.05e-05/0.3642, allocations: 4 kB / 0.591 GB, free: 20.88 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 5.125e-05/0.3642, allocations: 105.8 kB / 0.5911 GB, free: 20.77 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.554e-05/0.3642, allocations: 11.92 kB / 0.5912 GB, free: 20.75 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003955/0.3646, allocations: 131.7 kB / 0.5913 GB, free: 20.63 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.755e-06/0.3646, allocations: 0 / 0.5913 GB, free: 20.63 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.978e-06/0.3647, allocations: 3.938 kB / 0.5913 GB, free: 20.62 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.096e-06/0.3647, allocations: 3.984 kB / 0.5913 GB, free: 20.62 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.604e-05/0.3648, allocations: 165.7 kB / 0.5914 GB, free: 20.41 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/0.3648, allocations: 0.8125 kB / 0.5914 GB, free: 20.41 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001478/0.3649, allocations: 28.72 kB / 0.5915 GB, free: 20.38 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.735e-06/0.3649, allocations: 1 kB / 0.5915 GB, free: 20.38 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.13e-05/0.3649, allocations: 0 / 0.5915 GB, free: 20.38 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.282e-06/0.365, allocations: 0 / 0.5915 GB, free: 20.38 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.365, allocations: 0.5938 kB / 0.5915 GB, free: 20.38 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004867/0.3655, allocations: 202.7 kB / 0.5917 GB, free: 20.17 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.69e-05/0.3655, allocations: 89.84 kB / 0.5918 GB, free: 20.07 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.761e-05/0.3655, allocations: 0 / 0.5918 GB, free: 20.07 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001134/0.3657, allocations: 17.48 kB / 0.5918 GB, free: 20.05 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.736e-05/0.3657, allocations: 4 kB / 0.5918 GB, free: 20.05 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.588e-06/0.3657, allocations: 6.109 kB / 0.5918 GB, free: 20.04 MB / 446.1 MB Notification: Performance of sorting global known variables: time 1.729e-05/0.3657, allocations: 79.28 kB / 0.5919 GB, free: 19.96 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3657, allocations: 0 / 0.5919 GB, free: 19.96 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002341/0.366, allocations: 27.94 kB / 0.5919 GB, free: 19.94 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.000168/0.3661, allocations: 134 kB / 0.592 GB, free: 19.8 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0003414/0.3665, allocations: 91.48 kB / 0.5921 GB, free: 19.71 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.3665, allocations: 0 / 0.5921 GB, free: 19.71 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001468/0.3667, allocations: 45.64 kB / 0.5921 GB, free: 19.67 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001475/0.3668, allocations: 5.062 kB / 0.5921 GB, free: 19.67 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005446/0.3674, allocations: 181.4 kB / 0.5923 GB, free: 19.47 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.631e-05/0.3675, allocations: 0.6807 MB / 0.593 GB, free: 18.76 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 8.468e-05/0.3676, allocations: 18.7 kB / 0.593 GB, free: 18.75 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.286e-05/0.3676, allocations: 11.44 kB / 0.593 GB, free: 18.74 MB / 446.1 MB Notification: Performance of SimCode: time 3.4e-07/0.3676, allocations: 0 / 0.593 GB, free: 18.74 MB / 446.1 MB Notification: Performance of Templates: time 0.003077/0.3707, allocations: 1.149 MB / 0.5941 GB, free: 17.61 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 gbode -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe 2>&1)