Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.conf.json 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/IDEAS 3.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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) Running command: translateModel(IDEAS.Utilities.Math.Functions.Examples.InverseXDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.InverseXDerivativeCheck") translateModel(IDEAS.Utilities.Math.Functions.Examples.InverseXDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.InverseXDerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009955/0.0009956, allocations: 175.2 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7395/0.7395, allocations: 133.4 MB / 146.7 MB, free: 10.79 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.531/1.531, allocations: 221.3 MB / 400.4 MB, free: 5.836 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008812/0.0008812, allocations: 93.27 kB / 483.3 MB, free: 5.867 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 3.92e-05/3.921e-05, allocations: 4.969 kB / 0.5601 GB, free: 87.87 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1908/0.1909, allocations: 82.3 MB / 0.6404 GB, free: 7.801 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6548/0.8457, allocations: 112 MB / 0.7498 GB, free: 12.03 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002573/0.846, allocations: 83.88 kB / 0.7499 GB, free: 12.03 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.01161/0.8577, allocations: 4.114 MB / 0.7539 GB, free: 27.48 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.154e-06/0.8577, allocations: 0 / 0.7539 GB, free: 27.48 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 9.598e-06/0.8577, allocations: 0 / 0.7539 GB, free: 27.48 MB / 0.5105 GB 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.0004106/0.8581, allocations: 368.7 kB / 0.7542 GB, free: 27.11 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.631e-05/0.8582, allocations: 7.719 kB / 0.7543 GB, free: 27.11 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003794/0.8586, allocations: 69.14 kB / 0.7543 GB, free: 27.1 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001229/0.8587, allocations: 163 kB / 0.7545 GB, free: 26.9 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.729e-05/0.8588, allocations: 4 kB / 0.7545 GB, free: 26.9 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.977e-05/0.8588, allocations: 7 kB / 0.7545 GB, free: 26.9 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001488/0.859, allocations: 55.77 kB / 0.7545 GB, free: 26.86 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.935e-06/0.859, allocations: 0 / 0.7545 GB, free: 26.86 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.461e-05/0.859, allocations: 0 / 0.7545 GB, free: 26.86 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.16e-06/0.859, allocations: 0 / 0.7545 GB, free: 26.86 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.221e-05/0.8591, allocations: 17.14 kB / 0.7546 GB, free: 26.86 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001817/0.8593, allocations: 169.7 kB / 0.7547 GB, free: 26.67 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000238/0.8595, allocations: 54.08 kB / 0.7548 GB, free: 26.64 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.484e-05/0.8596, allocations: 24.23 kB / 0.7548 GB, free: 26.64 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 4.418e-05/0.8596, allocations: 6.219 kB / 0.7548 GB, free: 26.64 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.148e-05/0.8596, allocations: 42.31 kB / 0.7548 GB, free: 26.59 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=4): time 1.603e-06/0.8597, allocations: 0 / 0.7548 GB, free: 26.59 MB / 0.5105 GB Notification: Performance of matching and sorting (n=5): time 0.0005422/0.8602, allocations: 279.6 kB / 0.7551 GB, free: 26.34 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.637e-05/0.8602, allocations: 53.47 kB / 0.7552 GB, free: 26.27 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.226e-05/0.8603, allocations: 92.22 kB / 0.7552 GB, free: 26.18 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 1.947e-05/0.8603, allocations: 25.7 kB / 0.7553 GB, free: 26.15 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 3.178e-05/0.8604, allocations: 80.14 kB / 0.7553 GB, free: 26.07 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 2.76e-05/0.8604, allocations: 20.48 kB / 0.7554 GB, free: 26.06 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.971e-06/0.8604, allocations: 0 / 0.7554 GB, free: 26.06 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001301/0.8606, allocations: 316.9 kB / 0.7557 GB, free: 25.75 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.58e-05/0.8606, allocations: 18.47 kB / 0.7557 GB, free: 25.74 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.018e-05/0.8606, allocations: 12.19 kB / 0.7557 GB, free: 25.74 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.632e-05/0.8607, allocations: 17.88 kB / 0.7557 GB, free: 25.74 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.22e-07/0.8607, allocations: 0 / 0.7557 GB, free: 25.74 MB / 0.5105 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001162/0.8608, allocations: 67.61 kB / 0.7558 GB, free: 25.7 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.345e-05/0.8608, allocations: 3.875 kB / 0.7558 GB, free: 25.7 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.157e-06/0.8608, allocations: 0 / 0.7558 GB, free: 25.7 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.225e-05/0.8609, allocations: 0 / 0.7558 GB, free: 25.7 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001442/0.861, allocations: 33.88 kB / 0.7558 GB, free: 25.7 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.454e-06/0.861, allocations: 7.812 kB / 0.7558 GB, free: 25.7 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.439e-05/0.8611, allocations: 12.72 kB / 0.7558 GB, free: 25.7 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.111e-05/0.8611, allocations: 3.844 kB / 0.7558 GB, free: 25.7 MB / 0.5105 GB 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 () * 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 7.036e-05/0.8612, allocations: 104.9 kB / 0.7559 GB, free: 25.59 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.531e-05/0.8612, allocations: 19.56 kB / 0.756 GB, free: 25.57 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002202/0.8615, allocations: 86.11 kB / 0.756 GB, free: 25.53 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.196e-06/0.8615, allocations: 2.062 kB / 0.756 GB, free: 25.53 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.849e-06/0.8615, allocations: 4 kB / 0.756 GB, free: 25.53 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.968e-06/0.8615, allocations: 0 / 0.756 GB, free: 25.53 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001274/0.8616, allocations: 171.3 kB / 0.7562 GB, free: 25.34 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.8616, allocations: 0 / 0.7562 GB, free: 25.34 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001473/0.8618, allocations: 24.61 kB / 0.7562 GB, free: 25.34 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.326e-06/0.8618, allocations: 3.984 kB / 0.7562 GB, free: 25.33 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.005e-05/0.8618, allocations: 0 / 0.7562 GB, free: 25.33 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.443e-06/0.8618, allocations: 0 / 0.7562 GB, free: 25.33 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.8618, allocations: 7.844 kB / 0.7562 GB, free: 25.33 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001996/0.862, allocations: 116.6 kB / 0.7564 GB, free: 25.26 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 7.65e-05/0.8621, allocations: 95.31 kB / 0.7564 GB, free: 25.16 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.726e-05/0.8621, allocations: 3.938 kB / 0.7564 GB, free: 25.16 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001138/0.8623, allocations: 20.92 kB / 0.7565 GB, free: 25.15 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.386e-05/0.8623, allocations: 10.61 kB / 0.7565 GB, free: 25.15 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.586e-06/0.8623, allocations: 0 / 0.7565 GB, free: 25.15 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 3.797e-05/0.8624, allocations: 82.31 kB / 0.7566 GB, free: 25.07 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.5e-07/0.8624, allocations: 0 / 0.7566 GB, free: 25.07 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0002212/0.8626, allocations: 41.94 kB / 0.7566 GB, free: 25.06 MB / 0.5105 GB 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 () * 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.0002103/0.8628, allocations: 141.5 kB / 0.7567 GB, free: 24.96 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0001242/0.8629, allocations: 32.53 kB / 0.7568 GB, free: 24.96 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.8629, allocations: 8.062 kB / 0.7568 GB, free: 24.95 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 4.114e-05/0.863, allocations: 21.59 kB / 0.7568 GB, free: 24.95 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001019/0.8631, allocations: 3.938 kB / 0.7568 GB, free: 24.95 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004279/0.8635, allocations: 144.1 kB / 0.7569 GB, free: 24.86 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002662/0.8638, allocations: 0.6797 MB / 0.7576 GB, free: 24.16 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0001026/0.8639, allocations: 14.98 kB / 0.7576 GB, free: 24.16 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.959e-05/0.864, allocations: 11.28 kB / 0.7576 GB, free: 24.15 MB / 0.5105 GB Notification: Performance of SimCode: time 2.4e-07/0.864, allocations: 3.844 kB / 0.7576 GB, free: 24.15 MB / 0.5105 GB Notification: Performance of Templates: time 0.002875/0.8668, allocations: 1.1 MB / 0.7587 GB, free: 23.95 MB / 0.5105 GB make -j1 -f IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.makefile (rm -f IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.sim & ./IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.InverseXDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe 2>&1)