Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Annex60_1.0.0_Annex60.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Using package Annex60 with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo) Running command: translateModel(Annex60.Utilities.Math.Functions.Examples.InverseXDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Utilities.Math.Functions.Examples.InverseXDerivativeCheck") translateModel(Annex60.Utilities.Math.Functions.Examples.InverseXDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Utilities.Math.Functions.Examples.InverseXDerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.2963/0.2963, allocations: 55.01 MB / 69.96 MB, free: 8.66 MB / 58.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001157/0.001157, allocations: 194.8 kB / 83.98 MB, free: 10.83 MB / 74.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.57/1.57, allocations: 194.4 MB / 292.3 MB, free: 3.586 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001669/0.001669, allocations: 116.7 kB / 350.7 MB, free: 9.09 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003609/0.0003609, allocations: 12 kB / 418.9 MB, free: 37.01 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1075/0.1079, allocations: 57.65 MB / 476.5 MB, free: 11.3 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3617/0.4696, allocations: 86.19 MB / 0.5495 GB, free: 3.184 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000248/0.4699, allocations: 82.44 kB / 0.5496 GB, free: 3.133 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01074/0.4807, allocations: 4.01 MB / 0.5535 GB, free: 15.7 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.985e-06/0.4807, allocations: 11.94 kB / 0.5535 GB, free: 15.69 MB / 378.7 MB Notification: Performance of Transformations before backend: time 7.524e-06/0.4807, allocations: 0 / 0.5535 GB, free: 15.69 MB / 378.7 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.0004651/0.4812, allocations: 359.7 kB / 0.5539 GB, free: 15.29 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.58e-05/0.4812, allocations: 12.03 kB / 0.5539 GB, free: 15.28 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000362/0.4816, allocations: 66.92 kB / 0.554 GB, free: 15.22 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001269/0.4818, allocations: 167 kB / 0.5541 GB, free: 15.02 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.089e-05/0.4818, allocations: 0 / 0.5541 GB, free: 15.02 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.088e-05/0.4818, allocations: 4 kB / 0.5541 GB, free: 15.01 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002568/0.4821, allocations: 88.02 kB / 0.5542 GB, free: 14.93 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.213e-06/0.4821, allocations: 0 / 0.5542 GB, free: 14.93 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.398e-05/0.4821, allocations: 0 / 0.5542 GB, free: 14.93 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.983e-06/0.4821, allocations: 4 kB / 0.5542 GB, free: 14.92 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002904/0.4824, allocations: 82.67 kB / 0.5543 GB, free: 14.84 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002314/0.4827, allocations: 162.8 kB / 0.5544 GB, free: 14.64 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006233/0.4833, allocations: 149.8 kB / 0.5546 GB, free: 14.5 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.208e-05/0.4833, allocations: 4 kB / 0.5546 GB, free: 14.49 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.508e-05/0.4834, allocations: 30.56 kB / 0.5546 GB, free: 14.45 MB / 378.7 MB Notification: Performance of pre-optimization done (n=4): time 1.172e-06/0.4834, allocations: 0 / 0.5546 GB, free: 14.45 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.00118/0.4846, allocations: 447.9 kB / 0.555 GB, free: 13.99 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.761e-05/0.4846, allocations: 51.41 kB / 0.5551 GB, free: 13.93 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.952e-05/0.4847, allocations: 92.98 kB / 0.5552 GB, free: 13.83 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.091e-05/0.4847, allocations: 29.7 kB / 0.5552 GB, free: 13.79 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.814e-05/0.4848, allocations: 87.64 kB / 0.5553 GB, free: 13.71 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.114e-05/0.4848, allocations: 11.72 kB / 0.5553 GB, free: 13.7 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.693e-06/0.4848, allocations: 0 / 0.5553 GB, free: 13.7 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001495/0.485, allocations: 322.5 kB / 0.5556 GB, free: 13.38 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001526/0.4851, allocations: 39.66 kB / 0.5556 GB, free: 13.34 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001375/0.4853, allocations: 43.66 kB / 0.5557 GB, free: 13.3 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001486/0.4855, allocations: 43.66 kB / 0.5557 GB, free: 13.26 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.42e-07/0.4855, allocations: 0 / 0.5557 GB, free: 13.26 MB / 378.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003455/0.4858, allocations: 128.3 kB / 0.5559 GB, free: 13.14 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.535e-05/0.4858, allocations: 4 kB / 0.5559 GB, free: 13.14 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.62e-06/0.4859, allocations: 0 / 0.5559 GB, free: 13.14 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.76e-05/0.4859, allocations: 7.953 kB / 0.5559 GB, free: 13.13 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001412/0.486, allocations: 19.98 kB / 0.5559 GB, free: 13.11 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.865e-06/0.486, allocations: 3.984 kB / 0.5559 GB, free: 13.11 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.706e-05/0.4861, allocations: 23.55 kB / 0.5559 GB, free: 13.09 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.134e-05/0.4862, allocations: 4 kB / 0.5559 GB, free: 13.08 MB / 378.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.243e-05/0.4863, allocations: 109.8 kB / 0.556 GB, free: 12.96 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.365e-05/0.4863, allocations: 7.938 kB / 0.556 GB, free: 12.96 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004287/0.4867, allocations: 147.4 kB / 0.5562 GB, free: 12.83 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.495e-06/0.4867, allocations: 64 / 0.5562 GB, free: 12.83 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.055e-06/0.4867, allocations: 7.953 kB / 0.5562 GB, free: 12.82 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.356e-06/0.4867, allocations: 0 / 0.5562 GB, free: 12.82 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001367/0.4869, allocations: 169 kB / 0.5563 GB, free: 12.61 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.103e-06/0.4869, allocations: 4 kB / 0.5563 GB, free: 12.61 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000144/0.487, allocations: 23.98 kB / 0.5564 GB, free: 12.59 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.295e-06/0.4871, allocations: 0 / 0.5564 GB, free: 12.59 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.422e-05/0.4871, allocations: 7.984 kB / 0.5564 GB, free: 12.58 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.453e-06/0.4871, allocations: 0 / 0.5564 GB, free: 12.58 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.395e-06/0.4871, allocations: 7.891 kB / 0.5564 GB, free: 12.57 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000544/0.4876, allocations: 206.2 kB / 0.5566 GB, free: 12.37 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.273e-05/0.4877, allocations: 88.69 kB / 0.5567 GB, free: 12.27 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.813e-05/0.4878, allocations: 4.062 kB / 0.5567 GB, free: 12.27 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001136/0.4879, allocations: 15.98 kB / 0.5567 GB, free: 12.25 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.732e-05/0.4879, allocations: 3.984 kB / 0.5567 GB, free: 12.25 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.768e-06/0.4879, allocations: 11.89 kB / 0.5567 GB, free: 12.23 MB / 378.7 MB Notification: Performance of sorting global known variables: time 3.356e-05/0.488, allocations: 78.97 kB / 0.5568 GB, free: 12.16 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.51e-07/0.488, allocations: 4 kB / 0.5568 GB, free: 12.16 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002339/0.4882, allocations: 36.02 kB / 0.5568 GB, free: 12.12 MB / 378.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000229/0.4885, allocations: 150.6 kB / 0.5569 GB, free: 11.96 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0003812/0.4888, allocations: 94.73 kB / 0.557 GB, free: 11.88 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.4889, allocations: 0 / 0.557 GB, free: 11.88 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001745/0.489, allocations: 51.66 kB / 0.5571 GB, free: 11.83 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001156/0.4892, allocations: 7.578 kB / 0.5571 GB, free: 11.83 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006177/0.4898, allocations: 204.3 kB / 0.5573 GB, free: 11.61 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002514/0.4901, allocations: 0.6848 MB / 0.558 GB, free: 10.9 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001115/0.4902, allocations: 12 kB / 0.558 GB, free: 10.89 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.994e-05/0.4902, allocations: 19.36 kB / 0.558 GB, free: 10.87 MB / 378.7 MB Notification: Performance of SimCode: time 3.71e-07/0.4902, allocations: 0 / 0.558 GB, free: 10.87 MB / 378.7 MB Notification: Performance of Templates: time 0.003133/0.4934, allocations: 1.079 MB / 0.559 GB, free: 9.805 MB / 378.7 MB make -j1 -f Annex60_1.0.0_Annex60.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.makefile (rm -f Annex60_1.0.0_Annex60.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe ; mkfifo Annex60_1.0.0_Annex60.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe >> ../files/Annex60_1.0.0_Annex60.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.sim & ./Annex60_1.0.0_Annex60.Utilities.Math.Functions.Examples.InverseXDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe 2>&1)