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.001441/0.001441, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001761/0.001761, allocations: 191.4 kB / 16.14 MB, free: 6.703 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.447/1.447, allocations: 205.1 MB / 222 MB, free: 4.773 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.4857/0.4857, allocations: 54.93 MB / 324.3 MB, free: 204 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.00138/0.00138, allocations: 71.89 kB / 394.7 MB, free: 12.22 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1609/0.1623, allocations: 59.59 MB / 454.3 MB, free: 0.5625 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Utilities.Math.Functions.Examples.InverseXDerivativeCheck): time 0.2544/0.4167, allocations: 0.6238 MB / 454.9 MB, free: 39.07 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002202/0.4189, allocations: 1.49 MB / 456.4 MB, free: 38.78 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.255e-05/0.4191, allocations: 3.516 kB / 456.4 MB, free: 38.78 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 1.913e-05/0.4191, allocations: 0 / 456.4 MB, free: 38.78 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 3.076e-05/0.4191, allocations: 0 / 456.4 MB, free: 38.78 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004454/0.4196, allocations: 113.1 kB / 456.5 MB, free: 38.77 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 6.525e-05/0.4196, allocations: 28.06 kB / 456.6 MB, free: 38.77 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.893e-05/0.4197, allocations: 1.125 kB / 456.6 MB, free: 38.77 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.432e-05/0.4197, allocations: 23.12 kB / 456.6 MB, free: 38.77 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.679e-05/0.4198, allocations: 22.2 kB / 456.6 MB, free: 38.76 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.715e-05/0.4199, allocations: 2.844 kB / 456.6 MB, free: 38.76 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004405/0.4203, allocations: 320.9 kB / 456.9 MB, free: 38.76 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 2.062e-05/0.4203, allocations: 7.203 kB / 456.9 MB, free: 38.76 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.293e-05/0.4204, allocations: 14.33 kB / 456.9 MB, free: 38.75 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002884/0.4207, allocations: 189.3 kB / 457.1 MB, free: 38.73 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.4207, allocations: 0 / 457.1 MB, free: 38.73 MB / 382.1 MB Notification: Performance of FrontEnd: time 9.41e-07/0.4207, allocations: 0.625 kB / 457.1 MB, free: 38.73 MB / 382.1 MB Notification: Performance of Transformations before backend: time 3.897e-06/0.4207, allocations: 0 / 457.1 MB, free: 38.73 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.000462/0.4212, allocations: 364 kB / 457.5 MB, free: 38.37 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.649e-05/0.4212, allocations: 11.81 kB / 457.5 MB, free: 38.36 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004622/0.4217, allocations: 71.64 kB / 457.6 MB, free: 38.36 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.081e-05/0.4218, allocations: 167.5 kB / 457.7 MB, free: 38.16 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.439e-05/0.4218, allocations: 7.344 kB / 457.7 MB, free: 38.16 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.144e-05/0.4218, allocations: 384 / 457.7 MB, free: 38.16 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002407/0.4221, allocations: 80.55 kB / 457.8 MB, free: 38.13 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.715e-06/0.4221, allocations: 0 / 457.8 MB, free: 38.13 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.39e-05/0.4221, allocations: 2.562 kB / 457.8 MB, free: 38.13 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.428e-06/0.4221, allocations: 1.906 kB / 457.8 MB, free: 38.13 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000275/0.4224, allocations: 61.2 kB / 457.9 MB, free: 38.13 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001581/0.4226, allocations: 168.2 kB / 458 MB, free: 37.94 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000543/0.4231, allocations: 124.6 kB / 458.2 MB, free: 37.91 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001446/0.4233, allocations: 42.33 kB / 458.2 MB, free: 37.91 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003981/0.4237, allocations: 161.9 kB / 458.4 MB, free: 37.81 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.862e-05/0.4237, allocations: 35.84 kB / 458.4 MB, free: 37.77 MB / 382.1 MB Notification: Performance of pre-optimization done (n=4): time 1.984e-06/0.4237, allocations: 0 / 458.4 MB, free: 37.77 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.001028/0.4248, allocations: 400.8 kB / 458.8 MB, free: 37.53 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.8e-05/0.4248, allocations: 52.91 kB / 458.8 MB, free: 37.46 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.39e-05/0.4249, allocations: 100.7 kB / 458.9 MB, free: 37.37 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.163e-05/0.4249, allocations: 26.98 kB / 459 MB, free: 37.34 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.298e-05/0.4249, allocations: 80.14 kB / 459 MB, free: 37.25 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.648e-05/0.4249, allocations: 18.59 kB / 459.1 MB, free: 37.24 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.998e-05/0.425, allocations: 29.69 kB / 459.1 MB, free: 37.22 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.383e-05/0.425, allocations: 310.8 kB / 459.4 MB, free: 36.91 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001415/0.4252, allocations: 36.58 kB / 459.4 MB, free: 36.91 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001283/0.4253, allocations: 38.53 kB / 459.5 MB, free: 36.91 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002581/0.4256, allocations: 80.38 kB / 459.5 MB, free: 36.9 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.22e-07/0.4256, allocations: 0 / 459.5 MB, free: 36.9 MB / 382.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.000317/0.4259, allocations: 114 kB / 459.7 MB, free: 36.86 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.987e-05/0.426, allocations: 5.5 kB / 459.7 MB, free: 36.86 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.464e-06/0.426, allocations: 0 / 459.7 MB, free: 36.86 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.184e-05/0.426, allocations: 0.8438 kB / 459.7 MB, free: 36.86 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001514/0.4262, allocations: 32.16 kB / 459.7 MB, free: 36.86 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.258e-06/0.4262, allocations: 4 kB / 459.7 MB, free: 36.86 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.585e-05/0.4263, allocations: 11.33 kB / 459.7 MB, free: 36.86 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.268e-05/0.4263, allocations: 2.719 kB / 459.7 MB, free: 36.86 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 9.404e-05/0.4264, allocations: 113.2 kB / 459.8 MB, free: 36.74 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.988e-05/0.4264, allocations: 10.62 kB / 459.8 MB, free: 36.73 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004796/0.4269, allocations: 138.1 kB / 460 MB, free: 36.7 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.216e-06/0.4269, allocations: 0 / 460 MB, free: 36.7 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.268e-06/0.4269, allocations: 0 / 460 MB, free: 36.7 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.569e-06/0.427, allocations: 0 / 460 MB, free: 36.7 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000179/0.4271, allocations: 171 kB / 460.1 MB, free: 36.5 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.4271, allocations: 0 / 460.1 MB, free: 36.5 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001577/0.4273, allocations: 24.72 kB / 460.2 MB, free: 36.5 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.764e-06/0.4273, allocations: 8.141 kB / 460.2 MB, free: 36.5 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.78e-05/0.4274, allocations: 0 / 460.2 MB, free: 36.5 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.094e-06/0.4274, allocations: 0 / 460.2 MB, free: 36.5 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.016e-06/0.4274, allocations: 0 / 460.2 MB, free: 36.5 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006074/0.428, allocations: 193 kB / 460.4 MB, free: 36.43 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.818e-05/0.4281, allocations: 82.8 kB / 460.4 MB, free: 36.33 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.573e-05/0.4281, allocations: 8 kB / 460.4 MB, free: 36.33 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001132/0.4283, allocations: 16.52 kB / 460.5 MB, free: 36.33 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.012e-05/0.4283, allocations: 5.906 kB / 460.5 MB, free: 36.33 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.112e-05/0.4284, allocations: 2.5 kB / 460.5 MB, free: 36.33 MB / 382.1 MB Notification: Performance of sorting global known variables: time 4.303e-05/0.4284, allocations: 77.78 kB / 460.5 MB, free: 36.25 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.645e-06/0.4284, allocations: 0 / 460.5 MB, free: 36.25 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003013/0.4287, allocations: 39.8 kB / 460.6 MB, free: 36.24 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.0002871/0.429, allocations: 126.3 kB / 460.7 MB, free: 36.14 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0004259/0.4295, allocations: 86.91 kB / 460.8 MB, free: 36.14 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.398e-06/0.4295, allocations: 0 / 460.8 MB, free: 36.14 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001555/0.4296, allocations: 41.62 kB / 460.8 MB, free: 36.14 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002254/0.4299, allocations: 10.27 kB / 460.8 MB, free: 36.14 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008084/0.4307, allocations: 188.8 kB / 461 MB, free: 36.02 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002529/0.4309, allocations: 0.6817 MB / 461.7 MB, free: 35.32 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001165/0.4311, allocations: 20.45 kB / 461.7 MB, free: 35.31 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.07e-05/0.4311, allocations: 10.5 kB / 461.7 MB, free: 35.31 MB / 382.1 MB Notification: Performance of SimCode: time 1.91e-07/0.4311, allocations: 2.406 kB / 461.7 MB, free: 35.31 MB / 382.1 MB Notification: Performance of Templates: time 0.003347/0.4345, allocations: 1.125 MB / 462.9 MB, free: 35.23 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)