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.0008568/0.0008568, allocations: 91.22 kB / 15.36 MB, free: 0.7383 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.005359/0.005359, allocations: 170.9 kB / 16.26 MB, free: 6.613 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.331/1.331, allocations: 205.4 MB / 222.4 MB, free: 5.562 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.4172/0.4172, allocations: 55.01 MB / 325.8 MB, free: 0.5977 MB / 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.0005227/0.0005227, allocations: 16 kB / 397.3 MB, free: 11.31 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3343/0.3348, allocations: 60.71 MB / 458 MB, free: 38.5 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Utilities.Math.Functions.Examples.InverseXDerivativeCheck): time 0.0008376/0.3357, allocations: 304 kB / 458.3 MB, free: 38.49 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001674/0.3374, allocations: 1.471 MB / 459.8 MB, free: 38.4 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.809e-05/0.3375, allocations: 1.25 kB / 459.8 MB, free: 38.4 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 1.652e-05/0.3375, allocations: 0 / 459.8 MB, free: 38.4 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 2.483e-05/0.3375, allocations: 0 / 459.8 MB, free: 38.4 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004093/0.3379, allocations: 118.7 kB / 459.9 MB, free: 38.39 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 5.689e-05/0.338, allocations: 31.86 kB / 459.9 MB, free: 38.39 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.371e-05/0.3381, allocations: 2.062 kB / 459.9 MB, free: 38.39 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.105e-05/0.3381, allocations: 21.83 kB / 459.9 MB, free: 38.39 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.889e-05/0.3382, allocations: 25.86 kB / 459.9 MB, free: 38.38 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.546e-05/0.3382, allocations: 2.438 kB / 460 MB, free: 38.38 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003622/0.3386, allocations: 315.5 kB / 460.3 MB, free: 38.37 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.797e-05/0.3386, allocations: 14.47 kB / 460.3 MB, free: 38.37 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.035e-05/0.3387, allocations: 36.02 kB / 460.3 MB, free: 38.33 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002401/0.3389, allocations: 183.4 kB / 460.5 MB, free: 38.32 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.89e-06/0.3389, allocations: 0.8438 kB / 460.5 MB, free: 38.32 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.574e-06/0.3389, allocations: 0 / 460.5 MB, free: 38.32 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.368e-06/0.3389, allocations: 4.875 kB / 460.5 MB, free: 38.32 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.000492/0.3394, allocations: 351.9 kB / 460.8 MB, free: 37.95 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.817e-05/0.3395, allocations: 19.42 kB / 460.9 MB, free: 37.95 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004697/0.34, allocations: 78.61 kB / 460.9 MB, free: 37.95 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001016/0.3401, allocations: 170.3 kB / 461.1 MB, free: 37.75 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.326e-05/0.3401, allocations: 0.9844 kB / 461.1 MB, free: 37.75 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.203e-05/0.3401, allocations: 6.312 kB / 461.1 MB, free: 37.74 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002672/0.3404, allocations: 87.83 kB / 461.2 MB, free: 37.71 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.083e-05/0.3404, allocations: 0 / 461.2 MB, free: 37.71 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.579e-05/0.3404, allocations: 5.094 kB / 461.2 MB, free: 37.71 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.338e-06/0.3405, allocations: 1.875 kB / 461.2 MB, free: 37.71 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002995/0.3408, allocations: 74.64 kB / 461.3 MB, free: 37.71 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001563/0.3409, allocations: 164.9 kB / 461.4 MB, free: 37.52 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000584/0.3415, allocations: 141.7 kB / 461.6 MB, free: 37.5 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000166/0.3417, allocations: 59.16 kB / 461.6 MB, free: 37.48 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004445/0.3421, allocations: 174.5 kB / 461.8 MB, free: 37.39 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.835e-05/0.3422, allocations: 37.19 kB / 461.8 MB, free: 37.34 MB / 382.1 MB Notification: Performance of pre-optimization done (n=4): time 1.102e-06/0.3422, allocations: 0 / 461.8 MB, free: 37.34 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.001186/0.3434, allocations: 440.3 kB / 462.3 MB, free: 37.08 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.801e-05/0.3434, allocations: 51.41 kB / 462.3 MB, free: 37.02 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.134e-05/0.3435, allocations: 100.2 kB / 462.4 MB, free: 36.92 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.362e-05/0.3435, allocations: 29.08 kB / 462.4 MB, free: 36.89 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.873e-05/0.3435, allocations: 80.14 kB / 462.5 MB, free: 36.8 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.486e-05/0.3436, allocations: 25.78 kB / 462.5 MB, free: 36.79 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.486e-05/0.3436, allocations: 12.69 kB / 462.6 MB, free: 36.77 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.566e-05/0.3437, allocations: 317.9 kB / 462.9 MB, free: 36.46 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001549/0.3438, allocations: 39.14 kB / 462.9 MB, free: 36.45 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001471/0.344, allocations: 48.03 kB / 463 MB, free: 36.45 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003066/0.3443, allocations: 88.31 kB / 463 MB, free: 36.44 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.51e-07/0.3443, allocations: 3.938 kB / 463 MB, free: 36.43 MB / 382.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003486/0.3447, allocations: 135.2 kB / 463.2 MB, free: 36.39 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.826e-05/0.3447, allocations: 6.062 kB / 463.2 MB, free: 36.39 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.172e-06/0.3447, allocations: 0 / 463.2 MB, free: 36.39 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.996e-05/0.3447, allocations: 0 / 463.2 MB, free: 36.39 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001408/0.3449, allocations: 28.55 kB / 463.2 MB, free: 36.39 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.543e-06/0.3449, allocations: 3.062 kB / 463.2 MB, free: 36.39 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.667e-05/0.345, allocations: 12.16 kB / 463.2 MB, free: 36.39 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.688e-06/0.345, allocations: 2.688 kB / 463.2 MB, free: 36.39 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 6.47e-05/0.3451, allocations: 122.9 kB / 463.3 MB, free: 36.27 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.368e-05/0.3451, allocations: 0.75 kB / 463.3 MB, free: 36.27 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004434/0.3455, allocations: 148.7 kB / 463.5 MB, free: 36.22 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.184e-06/0.3455, allocations: 0 / 463.5 MB, free: 36.22 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.741e-06/0.3456, allocations: 4.5 kB / 463.5 MB, free: 36.22 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.737e-06/0.3456, allocations: 0 / 463.5 MB, free: 36.22 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001047/0.3457, allocations: 171.2 kB / 463.7 MB, free: 36.03 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.3457, allocations: 0 / 463.7 MB, free: 36.03 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001514/0.3458, allocations: 29.25 kB / 463.7 MB, free: 36.03 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.623e-06/0.3459, allocations: 4 kB / 463.7 MB, free: 36.02 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.171e-05/0.3459, allocations: 3.375 kB / 463.7 MB, free: 36.02 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.743e-06/0.3459, allocations: 0 / 463.7 MB, free: 36.02 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.3459, allocations: 0 / 463.7 MB, free: 36.02 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005406/0.3464, allocations: 213 kB / 463.9 MB, free: 35.94 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.273e-05/0.3465, allocations: 83.14 kB / 464 MB, free: 35.85 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.067e-05/0.3465, allocations: 9.219 kB / 464 MB, free: 35.85 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001177/0.3466, allocations: 14.38 kB / 464 MB, free: 35.85 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.752e-05/0.3467, allocations: 10.47 kB / 464 MB, free: 35.84 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.315e-06/0.3467, allocations: 2.875 kB / 464 MB, free: 35.84 MB / 382.1 MB Notification: Performance of sorting global known variables: time 2.716e-05/0.3467, allocations: 78.59 kB / 464.1 MB, free: 35.77 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3467, allocations: 0 / 464.1 MB, free: 35.77 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002558/0.347, allocations: 34.56 kB / 464.1 MB, free: 35.76 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.0002111/0.3472, allocations: 122 kB / 464.3 MB, free: 35.67 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0003904/0.3476, allocations: 105.8 kB / 464.4 MB, free: 35.66 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.474e-06/0.3476, allocations: 2.969 kB / 464.4 MB, free: 35.66 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001557/0.3478, allocations: 49.81 kB / 464.4 MB, free: 35.66 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001633/0.348, allocations: 6.969 kB / 464.4 MB, free: 35.65 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005976/0.3486, allocations: 205.4 kB / 464.6 MB, free: 35.53 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001041/0.3487, allocations: 0.6801 MB / 465.3 MB, free: 34.83 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.000105/0.3488, allocations: 20.09 kB / 465.3 MB, free: 34.82 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.376e-05/0.3489, allocations: 13.75 kB / 465.3 MB, free: 34.82 MB / 382.1 MB Notification: Performance of SimCode: time 4.11e-07/0.3489, allocations: 4 kB / 465.3 MB, free: 34.82 MB / 382.1 MB Notification: Performance of Templates: time 0.003283/0.3521, allocations: 1.119 MB / 466.5 MB, free: 34.74 MB / 382.1 MB make -j1 -f Annex60_1.0.0_Annex60.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: