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.001604/0.001604, allocations: 103.3 kB / 16.27 MB, free: 5.969 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.001814/0.001814, allocations: 187.8 kB / 17.19 MB, free: 5.609 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.457/1.457, allocations: 222.9 MB / 240.9 MB, free: 15.22 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8025/0.8025, allocations: 132.2 MB / 423.3 MB, free: 6.637 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001959/0.001959, allocations: 71.88 kB / 0.5025 GB, free: 11.61 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3795/0.3815, allocations: 80.18 MB / 0.5807 GB, free: 27.26 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.InverseXDerivativeCheck): time 0.001632/0.3831, allocations: 0.6027 MB / 0.5813 GB, free: 26.81 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001402/0.3846, allocations: 1.456 MB / 0.5828 GB, free: 25.64 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.362e-05/0.3846, allocations: 0 / 0.5828 GB, free: 25.64 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 1.186e-05/0.3846, allocations: 5 kB / 0.5828 GB, free: 25.63 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 2.785e-05/0.3847, allocations: 0.8125 kB / 0.5828 GB, free: 25.63 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004364/0.3851, allocations: 136 kB / 0.5829 GB, free: 25.54 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 5.488e-05/0.3852, allocations: 27.97 kB / 0.5829 GB, free: 25.53 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.887e-05/0.3852, allocations: 3.969 kB / 0.5829 GB, free: 25.53 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.54e-05/0.3852, allocations: 20.64 kB / 0.5829 GB, free: 25.52 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.21e-05/0.3853, allocations: 30.12 kB / 0.583 GB, free: 25.5 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.73e-05/0.3853, allocations: 1.406 kB / 0.583 GB, free: 25.5 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004019/0.3858, allocations: 309.9 kB / 0.5833 GB, free: 25.32 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.792e-05/0.3858, allocations: 9.328 kB / 0.5833 GB, free: 25.32 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.699e-05/0.3858, allocations: 19.97 kB / 0.5833 GB, free: 25.3 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002704/0.3861, allocations: 182.9 kB / 0.5835 GB, free: 25.21 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/0.3861, allocations: 5.625 kB / 0.5835 GB, free: 25.2 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.292e-06/0.3861, allocations: 0.625 kB / 0.5835 GB, free: 25.2 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.809e-06/0.3861, allocations: 0 / 0.5835 GB, free: 25.2 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.0004828/0.3866, allocations: 367.6 kB / 0.5838 GB, free: 24.82 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.944e-05/0.3867, allocations: 11.38 kB / 0.5838 GB, free: 24.82 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004861/0.3871, allocations: 65.77 kB / 0.5839 GB, free: 24.8 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.383e-05/0.3872, allocations: 168.3 kB / 0.5841 GB, free: 24.59 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.375e-05/0.3873, allocations: 1.75 kB / 0.5841 GB, free: 24.59 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.822e-05/0.3873, allocations: 2.969 kB / 0.5841 GB, free: 24.59 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002515/0.3876, allocations: 77.61 kB / 0.5841 GB, free: 24.54 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.358e-06/0.3876, allocations: 0 / 0.5841 GB, free: 24.54 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.463e-05/0.3876, allocations: 7.75 kB / 0.5841 GB, free: 24.53 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.945e-06/0.3876, allocations: 0 / 0.5841 GB, free: 24.53 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003017/0.3879, allocations: 65.58 kB / 0.5842 GB, free: 24.51 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001418/0.3881, allocations: 170.1 kB / 0.5844 GB, free: 24.3 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005947/0.3887, allocations: 120.4 kB / 0.5845 GB, free: 24.24 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001698/0.3889, allocations: 46.5 kB / 0.5845 GB, free: 24.22 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004479/0.3893, allocations: 155.4 kB / 0.5847 GB, free: 24.1 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.693e-05/0.3893, allocations: 39.53 kB / 0.5847 GB, free: 24.05 MB / 446.1 MB Notification: Performance of pre-optimization done (n=4): time 1.152e-06/0.3893, allocations: 0 / 0.5847 GB, free: 24.05 MB / 446.1 MB Notification: Performance of matching and sorting (n=5): time 0.001128/0.3905, allocations: 397.2 kB / 0.5851 GB, free: 23.74 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.54e-05/0.3905, allocations: 56.45 kB / 0.5852 GB, free: 23.67 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.861e-05/0.3906, allocations: 96.73 kB / 0.5852 GB, free: 23.57 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.355e-05/0.3906, allocations: 30.89 kB / 0.5853 GB, free: 23.54 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.268e-05/0.3906, allocations: 80.8 kB / 0.5854 GB, free: 23.45 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.784e-05/0.3906, allocations: 15.34 kB / 0.5854 GB, free: 23.44 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.284e-05/0.3907, allocations: 23.73 kB / 0.5854 GB, free: 23.42 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.762e-05/0.3907, allocations: 315.9 kB / 0.5857 GB, free: 23.1 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001662/0.3909, allocations: 37.09 kB / 0.5857 GB, free: 23.09 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001536/0.3911, allocations: 38.67 kB / 0.5858 GB, free: 23.07 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003086/0.3914, allocations: 78.52 kB / 0.5858 GB, free: 23.04 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.91e-07/0.3914, allocations: 0.625 kB / 0.5858 GB, free: 23.04 MB / 446.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003661/0.3918, allocations: 119.3 kB / 0.586 GB, free: 22.97 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.343e-05/0.3918, allocations: 5 kB / 0.586 GB, free: 22.97 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.571e-06/0.3918, allocations: 3.984 kB / 0.586 GB, free: 22.97 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.536e-05/0.3918, allocations: 1.344 kB / 0.586 GB, free: 22.97 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001522/0.392, allocations: 24.06 kB / 0.586 GB, free: 22.96 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.242e-06/0.392, allocations: 0 / 0.586 GB, free: 22.96 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000104/0.3921, allocations: 13.14 kB / 0.586 GB, free: 22.96 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.112e-05/0.3921, allocations: 3.219 kB / 0.586 GB, free: 22.96 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.388e-05/0.3922, allocations: 116.1 kB / 0.5861 GB, free: 22.84 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.786e-05/0.3922, allocations: 9.984 kB / 0.5861 GB, free: 22.83 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004533/0.3927, allocations: 128.5 kB / 0.5862 GB, free: 22.75 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.155e-06/0.3927, allocations: 1.594 kB / 0.5862 GB, free: 22.75 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5e-06/0.3927, allocations: 1.281 kB / 0.5862 GB, free: 22.75 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.278e-06/0.3927, allocations: 3.984 kB / 0.5862 GB, free: 22.75 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.559e-05/0.3928, allocations: 162.7 kB / 0.5864 GB, free: 22.55 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.383e-06/0.3928, allocations: 5.375 kB / 0.5864 GB, free: 22.55 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001587/0.393, allocations: 32.94 kB / 0.5864 GB, free: 22.53 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.873e-06/0.393, allocations: 5.375 kB / 0.5864 GB, free: 22.53 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.148e-05/0.393, allocations: 2.281 kB / 0.5864 GB, free: 22.53 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.363e-06/0.393, allocations: 0 / 0.5864 GB, free: 22.53 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.393, allocations: 0 / 0.5864 GB, free: 22.53 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005641/0.3936, allocations: 182.7 kB / 0.5866 GB, free: 22.41 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.946e-05/0.3936, allocations: 88.06 kB / 0.5867 GB, free: 22.31 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.171e-05/0.3937, allocations: 5.188 kB / 0.5867 GB, free: 22.31 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001277/0.3938, allocations: 18.05 kB / 0.5867 GB, free: 22.3 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.508e-05/0.3938, allocations: 2.281 kB / 0.5867 GB, free: 22.3 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.909e-06/0.3938, allocations: 6.578 kB / 0.5867 GB, free: 22.3 MB / 446.1 MB Notification: Performance of sorting global known variables: time 2.026e-05/0.3939, allocations: 78.62 kB / 0.5868 GB, free: 22.22 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3939, allocations: 0 / 0.5868 GB, free: 22.22 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002471/0.3941, allocations: 34.12 kB / 0.5868 GB, free: 22.21 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.0001887/0.3943, allocations: 131 kB / 0.587 GB, free: 22.11 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0003856/0.3947, allocations: 90.8 kB / 0.5871 GB, free: 22.07 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.3947, allocations: 2.062 kB / 0.5871 GB, free: 22.07 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001734/0.3949, allocations: 49.14 kB / 0.5871 GB, free: 22.05 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001635/0.3951, allocations: 1.531 kB / 0.5871 GB, free: 22.05 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006046/0.3957, allocations: 215.1 kB / 0.5873 GB, free: 21.87 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.223e-05/0.3958, allocations: 0.6747 MB / 0.588 GB, free: 21.18 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.144e-05/0.3959, allocations: 16.77 kB / 0.588 GB, free: 21.16 MB / 446.1 MB Notification: Performance of SimCode: time 2.3e-07/0.3959, allocations: 1.188 kB / 0.588 GB, free: 21.16 MB / 446.1 MB Notification: Performance of Templates: time 0.002461/0.3983, allocations: 1.127 MB / 0.5891 GB, free: 20.61 MB / 446.1 MB 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)