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.0007939/0.0007939, allocations: 86.09 kB / 15.06 MB, free: 1.09 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.0008523/0.0008524, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.367/1.367, allocations: 205.4 MB / 222.1 MB, free: 5.648 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.4156/0.4156, allocations: 55.01 MB / 325.4 MB, free: 0.6523 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.0005507/0.0005509, allocations: 12 kB / 396.7 MB, free: 11.68 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.394/0.3946, allocations: 60.72 MB / 457.4 MB, free: 38.29 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Utilities.Math.Functions.Examples.InverseXDerivativeCheck): time 0.0007674/0.3954, allocations: 295.9 kB / 457.7 MB, free: 38.29 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001726/0.3971, allocations: 1.406 MB / 459.1 MB, free: 38.2 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.1e-05/0.3972, allocations: 0 / 459.1 MB, free: 38.2 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 1.02e-05/0.3972, allocations: 0.75 kB / 459.1 MB, free: 38.2 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 3.285e-05/0.3972, allocations: 0 / 459.1 MB, free: 38.2 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003858/0.3976, allocations: 117 kB / 459.2 MB, free: 38.18 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 5.44e-05/0.3977, allocations: 18.66 kB / 459.2 MB, free: 38.18 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.905e-05/0.3977, allocations: 1.438 kB / 459.2 MB, free: 38.18 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.289e-05/0.3978, allocations: 22.5 kB / 459.2 MB, free: 38.18 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.286e-05/0.3979, allocations: 28.69 kB / 459.3 MB, free: 38.18 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.554e-05/0.3979, allocations: 2.594 kB / 459.3 MB, free: 38.18 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003789/0.3983, allocations: 300.4 kB / 459.6 MB, free: 38.16 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.663e-05/0.3983, allocations: 13.36 kB / 459.6 MB, free: 38.16 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.629e-05/0.3983, allocations: 32.61 kB / 459.6 MB, free: 38.12 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001832/0.3985, allocations: 127.7 kB / 459.7 MB, free: 38.12 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.273e-06/0.3986, allocations: 3.688 kB / 459.7 MB, free: 38.12 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.3986, allocations: 0.75 kB / 459.7 MB, free: 38.12 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.691e-06/0.3986, allocations: 0 / 459.7 MB, free: 38.12 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.0004386/0.399, allocations: 357 kB / 460.1 MB, free: 37.75 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.429e-05/0.3991, allocations: 8.969 kB / 460.1 MB, free: 37.75 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004118/0.3995, allocations: 82.03 kB / 460.2 MB, free: 37.75 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.447e-05/0.3996, allocations: 170.4 kB / 460.3 MB, free: 37.55 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.444e-05/0.3996, allocations: 5.844 kB / 460.3 MB, free: 37.55 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.818e-05/0.3996, allocations: 0 / 460.3 MB, free: 37.55 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002296/0.3999, allocations: 82.89 kB / 460.4 MB, free: 37.52 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.604e-06/0.3999, allocations: 0 / 460.4 MB, free: 37.52 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.401e-05/0.3999, allocations: 3.062 kB / 460.4 MB, free: 37.52 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.97e-06/0.3999, allocations: 0 / 460.4 MB, free: 37.52 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002702/0.4002, allocations: 81.89 kB / 460.5 MB, free: 37.52 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000175/0.4004, allocations: 172.4 kB / 460.7 MB, free: 37.33 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005464/0.4009, allocations: 141.9 kB / 460.8 MB, free: 37.3 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001407/0.4011, allocations: 49.83 kB / 460.9 MB, free: 37.3 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004147/0.4015, allocations: 171.2 kB / 461 MB, free: 37.2 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.049e-05/0.4015, allocations: 37.12 kB / 461.1 MB, free: 37.16 MB / 382.1 MB Notification: Performance of pre-optimization done (n=4): time 1.212e-06/0.4015, allocations: 6.156 kB / 461.1 MB, free: 37.16 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.001071/0.4026, allocations: 440.2 kB / 461.5 MB, free: 36.89 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.607e-05/0.4027, allocations: 58.22 kB / 461.6 MB, free: 36.83 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.947e-05/0.4027, allocations: 97.73 kB / 461.7 MB, free: 36.73 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.352e-05/0.4027, allocations: 28.67 kB / 461.7 MB, free: 36.7 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.897e-05/0.4028, allocations: 80.14 kB / 461.8 MB, free: 36.61 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.558e-05/0.4028, allocations: 25.44 kB / 461.8 MB, free: 36.6 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.562e-06/0.4028, allocations: 128 / 461.8 MB, free: 36.6 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 7.301e-05/0.4029, allocations: 314.8 kB / 462.1 MB, free: 36.28 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001341/0.4031, allocations: 44.11 kB / 462.1 MB, free: 36.28 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001201/0.4032, allocations: 40.48 kB / 462.2 MB, free: 36.28 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001299/0.4033, allocations: 51.77 kB / 462.2 MB, free: 36.27 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.91e-07/0.4033, allocations: 0 / 462.2 MB, free: 36.27 MB / 382.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003075/0.4036, allocations: 117.8 kB / 462.3 MB, free: 36.24 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.531e-05/0.4037, allocations: 5.031 kB / 462.3 MB, free: 36.24 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.334e-06/0.4037, allocations: 5.781 kB / 462.3 MB, free: 36.24 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.431e-05/0.4037, allocations: 0 / 462.3 MB, free: 36.24 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001344/0.4038, allocations: 33.05 kB / 462.4 MB, free: 36.23 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.666e-06/0.4039, allocations: 6.062 kB / 462.4 MB, free: 36.23 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.263e-05/0.4039, allocations: 11.91 kB / 462.4 MB, free: 36.23 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.165e-05/0.404, allocations: 3.344 kB / 462.4 MB, free: 36.23 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.871e-05/0.404, allocations: 111.8 kB / 462.5 MB, free: 36.11 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.269e-05/0.4041, allocations: 4.875 kB / 462.5 MB, free: 36.11 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004142/0.4045, allocations: 145.7 kB / 462.7 MB, free: 36.07 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.374e-06/0.4045, allocations: 4 kB / 462.7 MB, free: 36.07 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.41e-06/0.4045, allocations: 3.953 kB / 462.7 MB, free: 36.06 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.499e-06/0.4045, allocations: 1.125 kB / 462.7 MB, free: 36.06 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001069/0.4046, allocations: 166.7 kB / 462.8 MB, free: 35.88 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.535e-06/0.4046, allocations: 0 / 462.8 MB, free: 35.88 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001367/0.4048, allocations: 37.95 kB / 462.9 MB, free: 35.87 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.943e-06/0.4048, allocations: 0 / 462.9 MB, free: 35.87 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.088e-05/0.4048, allocations: 7.469 kB / 462.9 MB, free: 35.87 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.175e-06/0.4048, allocations: 2.375 kB / 462.9 MB, free: 35.87 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.4048, allocations: 1.125 kB / 462.9 MB, free: 35.87 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004695/0.4053, allocations: 209.2 kB / 463.1 MB, free: 35.79 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.808e-05/0.4054, allocations: 83.94 kB / 463.2 MB, free: 35.7 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.94e-05/0.4054, allocations: 2.875 kB / 463.2 MB, free: 35.7 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.75e-05/0.4055, allocations: 18.88 kB / 463.2 MB, free: 35.69 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.036e-05/0.4055, allocations: 3.375 kB / 463.2 MB, free: 35.69 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.617e-06/0.4055, allocations: 8.031 kB / 463.2 MB, free: 35.69 MB / 382.1 MB Notification: Performance of sorting global known variables: time 2.15e-05/0.4056, allocations: 85.55 kB / 463.3 MB, free: 35.61 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4056, allocations: 3.938 kB / 463.3 MB, free: 35.61 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002267/0.4058, allocations: 27.98 kB / 463.3 MB, free: 35.6 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 (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.0001732/0.406, allocations: 127.2 kB / 463.4 MB, free: 35.51 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0003202/0.4063, allocations: 93.73 kB / 463.5 MB, free: 35.5 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.998e-06/0.4063, allocations: 6.625 kB / 463.5 MB, free: 35.5 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001374/0.4065, allocations: 53.73 kB / 463.6 MB, free: 35.5 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001495/0.4066, allocations: 0.8438 kB / 463.6 MB, free: 35.5 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005186/0.4071, allocations: 202.2 kB / 463.8 MB, free: 35.38 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001086/0.4073, allocations: 0.6846 MB / 464.5 MB, free: 34.68 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001108/0.4074, allocations: 15.45 kB / 464.5 MB, free: 34.67 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.239e-05/0.4074, allocations: 16.28 kB / 464.5 MB, free: 34.67 MB / 382.1 MB Notification: Performance of SimCode: time 2.41e-07/0.4074, allocations: 0 / 464.5 MB, free: 34.67 MB / 382.1 MB Notification: Performance of Templates: time 0.003536/0.411, allocations: 1.1 MB / 465.6 MB, free: 34.59 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: