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/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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo", uses=false) Using package Annex60 with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001009/0.001009, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001034/0.001034, allocations: 188.8 kB / 16.25 MB, free: 6.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.352/1.352, allocations: 205.1 MB / 222.1 MB, free: 4.684 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.4053/0.4053, allocations: 54.93 MB / 324.4 MB, free: 180 kB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Annex60 requested package Modelica of version 3.2.2. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001497/0.001497, allocations: 67.89 kB / 394.8 MB, free: 12.16 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1427/0.1442, allocations: 59.58 MB / 454.4 MB, free: 0.5117 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Utilities.Math.Functions.Examples.InverseXDerivativeCheck): time 0.2612/0.4054, allocations: 0.6232 MB / 455 MB, free: 39.05 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001625/0.407, allocations: 1.471 MB / 456.5 MB, free: 38.72 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.906e-05/0.4072, allocations: 1.969 kB / 456.5 MB, free: 38.72 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 1.588e-05/0.4072, allocations: 3.156 kB / 456.5 MB, free: 38.72 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 2.903e-05/0.4072, allocations: 3.828 kB / 456.5 MB, free: 38.72 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004724/0.4077, allocations: 115.2 kB / 456.6 MB, free: 38.71 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 5.574e-05/0.4078, allocations: 31.88 kB / 456.7 MB, free: 38.71 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.015e-05/0.4078, allocations: 3.531 kB / 456.7 MB, free: 38.71 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.829e-05/0.4079, allocations: 16.28 kB / 456.7 MB, free: 38.71 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.005e-05/0.4079, allocations: 32.25 kB / 456.7 MB, free: 38.7 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.479e-05/0.408, allocations: 2.938 kB / 456.7 MB, free: 38.7 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003596/0.4083, allocations: 314.4 kB / 457 MB, free: 38.7 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.587e-05/0.4083, allocations: 17.62 kB / 457 MB, free: 38.7 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.406e-05/0.4084, allocations: 14.02 kB / 457.1 MB, free: 38.7 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002466/0.4086, allocations: 178 kB / 457.2 MB, free: 38.68 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/0.4086, allocations: 0 / 457.2 MB, free: 38.68 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.974e-06/0.4086, allocations: 4.219 kB / 457.2 MB, free: 38.68 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.95e-06/0.4087, allocations: 0.5625 kB / 457.2 MB, free: 38.68 MB / 382.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.0004403/0.4091, allocations: 370.7 kB / 457.6 MB, free: 38.31 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.43e-05/0.4091, allocations: 8.156 kB / 457.6 MB, free: 38.31 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004383/0.4096, allocations: 65.61 kB / 457.7 MB, free: 38.31 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.66e-05/0.4097, allocations: 173.1 kB / 457.8 MB, free: 38.11 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.842e-05/0.4097, allocations: 384 / 457.8 MB, free: 38.11 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.251e-05/0.4097, allocations: 11.94 kB / 457.9 MB, free: 38.11 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002179/0.4099, allocations: 75.66 kB / 457.9 MB, free: 38.07 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.975e-06/0.41, allocations: 0.8438 kB / 457.9 MB, free: 38.07 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.414e-05/0.41, allocations: 0 / 457.9 MB, free: 38.07 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.807e-06/0.41, allocations: 0 / 457.9 MB, free: 38.07 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002561/0.4102, allocations: 62.17 kB / 458 MB, free: 38.07 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001287/0.4104, allocations: 167.4 kB / 458.2 MB, free: 37.89 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005027/0.4109, allocations: 122.7 kB / 458.3 MB, free: 37.86 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001431/0.411, allocations: 55.25 kB / 458.3 MB, free: 37.85 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003859/0.4114, allocations: 152.4 kB / 458.5 MB, free: 37.76 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.177e-05/0.4115, allocations: 33.53 kB / 458.5 MB, free: 37.72 MB / 382.1 MB Notification: Performance of pre-optimization done (n=4): time 9.72e-07/0.4115, allocations: 2.344 kB / 458.5 MB, free: 37.72 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0009665/0.4124, allocations: 400.5 kB / 458.9 MB, free: 37.48 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.226e-05/0.4125, allocations: 56.53 kB / 459 MB, free: 37.41 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.656e-05/0.4125, allocations: 94.33 kB / 459.1 MB, free: 37.32 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.251e-05/0.4125, allocations: 25.7 kB / 459.1 MB, free: 37.29 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.552e-05/0.4126, allocations: 82.98 kB / 459.2 MB, free: 37.2 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.602e-05/0.4126, allocations: 25.69 kB / 459.2 MB, free: 37.19 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.947e-05/0.4126, allocations: 21.38 kB / 459.2 MB, free: 37.17 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.292e-05/0.4127, allocations: 314.2 kB / 459.5 MB, free: 36.86 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001386/0.4128, allocations: 35.7 kB / 459.5 MB, free: 36.86 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001281/0.413, allocations: 36.28 kB / 459.6 MB, free: 36.86 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002565/0.4132, allocations: 80.78 kB / 459.7 MB, free: 36.85 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.22e-07/0.4132, allocations: 0 / 459.7 MB, free: 36.85 MB / 382.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003082/0.4136, allocations: 119.1 kB / 459.8 MB, free: 36.81 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.278e-05/0.4136, allocations: 3.281 kB / 459.8 MB, free: 36.81 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.226e-06/0.4136, allocations: 0 / 459.8 MB, free: 36.81 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.273e-05/0.4136, allocations: 6.344 kB / 459.8 MB, free: 36.81 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001295/0.4137, allocations: 25.45 kB / 459.8 MB, free: 36.8 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.402e-06/0.4137, allocations: 1.438 kB / 459.8 MB, free: 36.8 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.998e-05/0.4138, allocations: 14.77 kB / 459.8 MB, free: 36.8 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.388e-06/0.4139, allocations: 3.75 kB / 459.8 MB, free: 36.8 MB / 382.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.18e-05/0.4139, allocations: 115.6 kB / 459.9 MB, free: 36.68 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.421e-05/0.4139, allocations: 3.219 kB / 459.9 MB, free: 36.68 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003914/0.4143, allocations: 134.1 kB / 460.1 MB, free: 36.64 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.753e-06/0.4143, allocations: 0 / 460.1 MB, free: 36.64 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.787e-06/0.4144, allocations: 0 / 460.1 MB, free: 36.64 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.536e-06/0.4144, allocations: 0.6094 kB / 460.1 MB, free: 36.64 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.695e-05/0.4144, allocations: 175 kB / 460.2 MB, free: 36.45 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.4145, allocations: 1.469 kB / 460.2 MB, free: 36.45 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001422/0.4146, allocations: 27.83 kB / 460.3 MB, free: 36.45 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.354e-06/0.4146, allocations: 2.812 kB / 460.3 MB, free: 36.45 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.137e-05/0.4146, allocations: 3.328 kB / 460.3 MB, free: 36.45 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.843e-06/0.4146, allocations: 1.25 kB / 460.3 MB, free: 36.45 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.01e-07/0.4146, allocations: 0 / 460.3 MB, free: 36.45 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00047/0.4151, allocations: 194.6 kB / 460.5 MB, free: 36.37 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.151e-05/0.4152, allocations: 90.19 kB / 460.6 MB, free: 36.27 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.852e-05/0.4152, allocations: 3.938 kB / 460.6 MB, free: 36.27 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001096/0.4153, allocations: 13.16 kB / 460.6 MB, free: 36.27 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.147e-05/0.4153, allocations: 5.781 kB / 460.6 MB, free: 36.27 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.576e-06/0.4154, allocations: 2.969 kB / 460.6 MB, free: 36.27 MB / 382.1 MB Notification: Performance of sorting global known variables: time 1.912e-05/0.4154, allocations: 78.66 kB / 460.7 MB, free: 36.2 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.4154, allocations: 2.906 kB / 460.7 MB, free: 36.2 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002112/0.4156, allocations: 35.22 kB / 460.7 MB, free: 36.19 MB / 382.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.0001623/0.4158, allocations: 117.4 kB / 460.8 MB, free: 36.1 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0003309/0.4161, allocations: 90.86 kB / 460.9 MB, free: 36.09 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.4161, allocations: 0 / 460.9 MB, free: 36.09 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001426/0.4163, allocations: 43.2 kB / 460.9 MB, free: 36.09 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001464/0.4164, allocations: 10.31 kB / 461 MB, free: 36.09 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005487/0.417, allocations: 199.8 kB / 461.2 MB, free: 35.96 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001076/0.4171, allocations: 0.6858 MB / 461.8 MB, free: 35.27 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001047/0.4172, allocations: 13.69 kB / 461.9 MB, free: 35.26 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.137e-05/0.4172, allocations: 17.16 kB / 461.9 MB, free: 35.25 MB / 382.1 MB Notification: Performance of SimCode: time 2.31e-07/0.4173, allocations: 0 / 461.9 MB, free: 35.25 MB / 382.1 MB Notification: Performance of Templates: time 0.002738/0.42, allocations: 1.146 MB / 463 MB, free: 35.18 MB / 382.1 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)