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.001261/0.001261, allocations: 108 kB / 15.6 MB, free: 128 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001248/0.001248, allocations: 196.6 kB / 16.53 MB, free: 6.672 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.312/1.312, allocations: 222.9 MB / 240.2 MB, free: 4.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.769/0.769, allocations: 132.2 MB / 422.6 MB, free: 1.77 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001314/0.001314, allocations: 68.3 kB / 0.5018 GB, free: 3.836 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.471/0.4724, allocations: 80.21 MB / 0.5801 GB, free: 4.539 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.InverseXDerivativeCheck): time 0.001903/0.4743, allocations: 0.5855 MB / 0.5807 GB, free: 4.172 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001623/0.476, allocations: 1.453 MB / 0.5821 GB, free: 3.113 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.143e-05/0.476, allocations: 4.938 kB / 0.5821 GB, free: 3.109 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 1.501e-05/0.476, allocations: 3.938 kB / 0.5821 GB, free: 3.105 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 3.085e-05/0.4761, allocations: 0 / 0.5821 GB, free: 3.105 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004992/0.4766, allocations: 138 kB / 0.5822 GB, free: 3.047 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 6.574e-05/0.4766, allocations: 38.67 kB / 0.5823 GB, free: 3.031 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.895e-05/0.4767, allocations: 2.062 kB / 0.5823 GB, free: 3.031 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.89e-05/0.4767, allocations: 14.08 kB / 0.5823 GB, free: 3.031 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.097e-05/0.4768, allocations: 30.39 kB / 0.5823 GB, free: 3.02 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.819e-05/0.4768, allocations: 1.938 kB / 0.5823 GB, free: 3.02 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004777/0.4773, allocations: 315.7 kB / 0.5826 GB, free: 2.934 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 2.131e-05/0.4774, allocations: 8.672 kB / 0.5826 GB, free: 2.93 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 3.84e-05/0.4774, allocations: 13.81 kB / 0.5826 GB, free: 2.922 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003576/0.4778, allocations: 188 kB / 0.5828 GB, free: 2.875 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.929e-06/0.4778, allocations: 0 / 0.5828 GB, free: 2.875 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.976e-06/0.4778, allocations: 0.6562 kB / 0.5828 GB, free: 2.875 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.137e-05/0.4778, allocations: 4 kB / 0.5828 GB, free: 2.871 MB / 430.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.0005143/0.4783, allocations: 364.9 kB / 0.5832 GB, free: 2.496 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.25e-05/0.4784, allocations: 10.11 kB / 0.5832 GB, free: 2.496 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004866/0.4789, allocations: 66.41 kB / 0.5832 GB, free: 2.492 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.978e-05/0.479, allocations: 166.3 kB / 0.5834 GB, free: 2.293 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.384e-05/0.479, allocations: 5.391 kB / 0.5834 GB, free: 2.289 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.556e-05/0.479, allocations: 3.469 kB / 0.5834 GB, free: 2.289 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002635/0.4793, allocations: 83.73 kB / 0.5835 GB, free: 2.242 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.496e-06/0.4793, allocations: 0 / 0.5835 GB, free: 2.242 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.364e-05/0.4793, allocations: 0.9375 kB / 0.5835 GB, free: 2.242 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.33e-06/0.4793, allocations: 0.7031 kB / 0.5835 GB, free: 2.242 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000325/0.4797, allocations: 64.14 kB / 0.5836 GB, free: 2.234 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002067/0.4799, allocations: 169.2 kB / 0.5837 GB, free: 2.035 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006237/0.4805, allocations: 122.1 kB / 0.5838 GB, free: 1.996 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001672/0.4807, allocations: 46.42 kB / 0.5839 GB, free: 1.98 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000439/0.4811, allocations: 155.2 kB / 0.584 GB, free: 1.879 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.116e-05/0.4812, allocations: 43.02 kB / 0.5841 GB, free: 1.828 MB / 430.1 MB Notification: Performance of pre-optimization done (n=4): time 1.012e-06/0.4812, allocations: 0.75 kB / 0.5841 GB, free: 1.828 MB / 430.1 MB Notification: Performance of matching and sorting (n=5): time 0.001159/0.4823, allocations: 403.5 kB / 0.5845 GB, free: 1.547 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.988e-05/0.4824, allocations: 52.59 kB / 0.5845 GB, free: 1.484 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.602e-05/0.4824, allocations: 93.12 kB / 0.5846 GB, free: 1.387 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.341e-05/0.4824, allocations: 26.27 kB / 0.5846 GB, free: 1.355 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.714e-05/0.4825, allocations: 85.77 kB / 0.5847 GB, free: 1.27 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.091e-05/0.4825, allocations: 18.52 kB / 0.5847 GB, free: 1.254 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.407e-05/0.4826, allocations: 26 kB / 0.5847 GB, free: 1.23 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 5.263e-05/0.4826, allocations: 313 kB / 0.585 GB, free: 0.918 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001601/0.4828, allocations: 34.11 kB / 0.5851 GB, free: 0.9141 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001542/0.4829, allocations: 39.27 kB / 0.5851 GB, free: 0.9062 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003113/0.4833, allocations: 82.89 kB / 0.5852 GB, free: 0.8789 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.61e-07/0.4833, allocations: 0 / 0.5852 GB, free: 0.8789 MB / 430.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003761/0.4836, allocations: 115.9 kB / 0.5853 GB, free: 0.8281 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.668e-05/0.4837, allocations: 5.656 kB / 0.5853 GB, free: 0.8281 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.45e-06/0.4837, allocations: 0.75 kB / 0.5853 GB, free: 0.8281 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.583e-05/0.4837, allocations: 0.75 kB / 0.5853 GB, free: 0.8281 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001502/0.4839, allocations: 22.72 kB / 0.5853 GB, free: 0.8281 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.265e-06/0.4839, allocations: 4.703 kB / 0.5853 GB, free: 0.8242 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001019/0.484, allocations: 19.91 kB / 0.5854 GB, free: 0.8164 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.118e-05/0.484, allocations: 2.203 kB / 0.5854 GB, free: 0.8164 MB / 430.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.977e-05/0.4841, allocations: 111.1 kB / 0.5855 GB, free: 0.7031 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.628e-05/0.4841, allocations: 5.031 kB / 0.5855 GB, free: 0.6992 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004617/0.4846, allocations: 137.2 kB / 0.5856 GB, free: 0.6367 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.825e-06/0.4846, allocations: 0.9688 kB / 0.5856 GB, free: 0.6367 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.809e-06/0.4846, allocations: 320 / 0.5856 GB, free: 0.6367 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.328e-06/0.4846, allocations: 1.906 kB / 0.5856 GB, free: 0.6367 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001045/0.4847, allocations: 169.8 kB / 0.5858 GB, free: 448 kB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.745e-06/0.4847, allocations: 4.5 kB / 0.5858 GB, free: 444 kB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001537/0.4849, allocations: 22.77 kB / 0.5858 GB, free: 444 kB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.214e-06/0.4849, allocations: 1.219 kB / 0.5858 GB, free: 444 kB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.311e-05/0.4849, allocations: 2.141 kB / 0.5858 GB, free: 444 kB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.615e-06/0.4849, allocations: 5.219 kB / 0.5858 GB, free: 440 kB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.4849, allocations: 0 / 0.5858 GB, free: 440 kB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000578/0.4855, allocations: 192.8 kB / 0.586 GB, free: 336 kB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.534e-05/0.4856, allocations: 87.97 kB / 0.5861 GB, free: 236 kB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.053e-05/0.4856, allocations: 1.719 kB / 0.5861 GB, free: 236 kB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001186/0.4857, allocations: 20.3 kB / 0.5861 GB, free: 228 kB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.078e-05/0.4857, allocations: 5.375 kB / 0.5861 GB, free: 228 kB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.189e-05/0.4858, allocations: 2.844 kB / 0.5861 GB, free: 228 kB / 430.1 MB Notification: Performance of sorting global known variables: time 2.366e-05/0.4858, allocations: 81.11 kB / 0.5862 GB, free: 148 kB / 430.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4858, allocations: 0.875 kB / 0.5862 GB, free: 148 kB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002655/0.4861, allocations: 33.77 kB / 0.5862 GB, free: 136 kB / 430.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.0002057/0.4863, allocations: 128 kB / 0.5863 GB, free: 36 kB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0004116/0.4867, allocations: 86.19 kB / 0.5864 GB, free: 20 kB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/0.4867, allocations: 0 / 0.5864 GB, free: 20 kB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001752/0.4869, allocations: 46.34 kB / 0.5865 GB, free: 12 kB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001521/0.4871, allocations: 10.11 kB / 0.5865 GB, free: 4 kB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006767/0.4877, allocations: 182.2 kB / 0.5866 GB, free: 15.88 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002386/0.488, allocations: 0.6789 MB / 0.5873 GB, free: 15.18 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0001117/0.4881, allocations: 24.39 kB / 0.5873 GB, free: 15.17 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.427e-05/0.4882, allocations: 12.47 kB / 0.5873 GB, free: 15.16 MB / 446.1 MB Notification: Performance of SimCode: time 2.4e-07/0.4882, allocations: 0 / 0.5873 GB, free: 15.16 MB / 446.1 MB Notification: Performance of Templates: time 0.003893/0.4921, allocations: 1.137 MB / 0.5884 GB, free: 15.06 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)