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/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 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) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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 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(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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001562/0.001562, allocations: 104.9 kB / 16.27 MB, free: 6.414 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.001537/0.001537, allocations: 189.8 kB / 17.2 MB, free: 5.953 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.377/1.377, allocations: 222.9 MB / 240.9 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.824/0.824, allocations: 135.2 MB / 426.2 MB, free: 4.145 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00188/0.00188, allocations: 71.88 kB / 0.5061 GB, free: 8.336 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3405/0.3424, allocations: 80.92 MB / 0.5851 GB, free: 25.29 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.InverseXDerivativeCheck): time 0.001716/0.3441, allocations: 0.589 MB / 0.5857 GB, free: 24.86 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001393/0.3455, allocations: 1.452 MB / 0.5871 GB, free: 23.68 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.601e-05/0.3456, allocations: 4.594 kB / 0.5871 GB, free: 23.68 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 1.568e-05/0.3456, allocations: 0 / 0.5871 GB, free: 23.68 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 2.655e-05/0.3456, allocations: 1.562 kB / 0.5871 GB, free: 23.68 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005084/0.3461, allocations: 140.3 kB / 0.5872 GB, free: 23.59 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 5.972e-05/0.3462, allocations: 36.92 kB / 0.5872 GB, free: 23.57 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.08e-05/0.3463, allocations: 3.156 kB / 0.5872 GB, free: 23.57 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.983e-05/0.3463, allocations: 20.86 kB / 0.5873 GB, free: 23.55 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.144e-05/0.3464, allocations: 17.5 kB / 0.5873 GB, free: 23.55 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.699e-05/0.3464, allocations: 2.938 kB / 0.5873 GB, free: 23.55 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004426/0.3469, allocations: 319.2 kB / 0.5876 GB, free: 23.36 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.767e-05/0.3469, allocations: 12.92 kB / 0.5876 GB, free: 23.35 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.579e-05/0.3469, allocations: 10.77 kB / 0.5876 GB, free: 23.34 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003004/0.3472, allocations: 186.8 kB / 0.5878 GB, free: 23.25 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.3472, allocations: 4 kB / 0.5878 GB, free: 23.24 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.094e-06/0.3472, allocations: 1.375 kB / 0.5878 GB, free: 23.24 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.479e-06/0.3472, allocations: 0 / 0.5878 GB, free: 23.24 MB / 446.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.0004636/0.3477, allocations: 363.5 kB / 0.5881 GB, free: 22.86 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.591e-05/0.3478, allocations: 10.61 kB / 0.5882 GB, free: 22.86 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004687/0.3482, allocations: 68.16 kB / 0.5882 GB, free: 22.84 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.984e-05/0.3483, allocations: 166.3 kB / 0.5884 GB, free: 22.64 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.392e-05/0.3484, allocations: 2.906 kB / 0.5884 GB, free: 22.64 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.191e-05/0.3484, allocations: 1.562 kB / 0.5884 GB, free: 22.64 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002514/0.3486, allocations: 79.27 kB / 0.5885 GB, free: 22.58 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.396e-06/0.3487, allocations: 0.5 kB / 0.5885 GB, free: 22.58 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.507e-05/0.3487, allocations: 4.562 kB / 0.5885 GB, free: 22.57 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.589e-06/0.3487, allocations: 3.281 kB / 0.5885 GB, free: 22.57 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002925/0.349, allocations: 64.48 kB / 0.5885 GB, free: 22.55 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001435/0.3491, allocations: 166 kB / 0.5887 GB, free: 22.35 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005727/0.3497, allocations: 116 kB / 0.5888 GB, free: 22.29 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001592/0.3499, allocations: 47.44 kB / 0.5888 GB, free: 22.27 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004234/0.3503, allocations: 162.7 kB / 0.589 GB, free: 22.14 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.181e-05/0.3504, allocations: 37.16 kB / 0.589 GB, free: 22.1 MB / 446.1 MB Notification: Performance of pre-optimization done (n=4): time 1.403e-06/0.3504, allocations: 0 / 0.589 GB, free: 22.1 MB / 446.1 MB Notification: Performance of matching and sorting (n=5): time 0.001093/0.3515, allocations: 404.4 kB / 0.5894 GB, free: 21.78 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.023e-05/0.3515, allocations: 52.62 kB / 0.5895 GB, free: 21.71 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.265e-05/0.3516, allocations: 100.6 kB / 0.5896 GB, free: 21.61 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.147e-05/0.3516, allocations: 31.48 kB / 0.5896 GB, free: 21.57 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.307e-05/0.3516, allocations: 81.3 kB / 0.5897 GB, free: 21.49 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.616e-05/0.3516, allocations: 14.09 kB / 0.5897 GB, free: 21.48 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.107e-05/0.3517, allocations: 22.89 kB / 0.5897 GB, free: 21.46 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 3.85e-05/0.3517, allocations: 316.6 kB / 0.59 GB, free: 21.14 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001554/0.3519, allocations: 31.5 kB / 0.59 GB, free: 21.13 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000145/0.352, allocations: 41.47 kB / 0.5901 GB, free: 21.12 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002855/0.3523, allocations: 80.2 kB / 0.5902 GB, free: 21.06 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.02e-07/0.3523, allocations: 0 / 0.5902 GB, free: 21.06 MB / 446.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003249/0.3527, allocations: 126.5 kB / 0.5903 GB, free: 20.94 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.315e-05/0.3527, allocations: 4 kB / 0.5903 GB, free: 20.93 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.508e-06/0.3527, allocations: 0 / 0.5903 GB, free: 20.93 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.49e-05/0.3527, allocations: 0 / 0.5903 GB, free: 20.93 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001383/0.3528, allocations: 24.47 kB / 0.5903 GB, free: 20.91 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.53e-06/0.3529, allocations: 0 / 0.5903 GB, free: 20.91 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.192e-05/0.353, allocations: 14.3 kB / 0.5903 GB, free: 20.9 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.687e-06/0.353, allocations: 4 kB / 0.5903 GB, free: 20.89 MB / 446.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 4.75e-05/0.353, allocations: 106.9 kB / 0.5904 GB, free: 20.78 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.712e-05/0.353, allocations: 11.94 kB / 0.5904 GB, free: 20.77 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004056/0.3535, allocations: 135.2 kB / 0.5906 GB, free: 20.64 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.495e-06/0.3535, allocations: 1.5 kB / 0.5906 GB, free: 20.64 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.928e-06/0.3535, allocations: 0 / 0.5906 GB, free: 20.64 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.895e-06/0.3535, allocations: 0 / 0.5906 GB, free: 20.64 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.369e-05/0.3536, allocations: 169.6 kB / 0.5907 GB, free: 20.43 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.3536, allocations: 1 kB / 0.5907 GB, free: 20.43 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000142/0.3537, allocations: 33.06 kB / 0.5908 GB, free: 20.39 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.833e-06/0.3537, allocations: 0 / 0.5908 GB, free: 20.39 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.778e-06/0.3538, allocations: 0 / 0.5908 GB, free: 20.39 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.164e-06/0.3538, allocations: 6.562 kB / 0.5908 GB, free: 20.39 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.11e-07/0.3538, allocations: 0 / 0.5908 GB, free: 20.39 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004899/0.3543, allocations: 185.6 kB / 0.5909 GB, free: 20.2 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.464e-05/0.3543, allocations: 89.06 kB / 0.591 GB, free: 20.09 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.012e-05/0.3543, allocations: 4 kB / 0.591 GB, free: 20.09 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001085/0.3545, allocations: 18.14 kB / 0.591 GB, free: 20.07 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.265e-05/0.3545, allocations: 4 kB / 0.5911 GB, free: 20.07 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.125e-06/0.3545, allocations: 4.188 kB / 0.5911 GB, free: 20.06 MB / 446.1 MB Notification: Performance of sorting global known variables: time 1.757e-05/0.3545, allocations: 80.2 kB / 0.5911 GB, free: 19.98 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3545, allocations: 0 / 0.5911 GB, free: 19.98 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.000233/0.3548, allocations: 32.62 kB / 0.5912 GB, free: 19.95 MB / 446.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.0001575/0.3549, allocations: 128.1 kB / 0.5913 GB, free: 19.82 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0003525/0.3553, allocations: 95.61 kB / 0.5914 GB, free: 19.73 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.916e-06/0.3553, allocations: 1.688 kB / 0.5914 GB, free: 19.73 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001489/0.3555, allocations: 44.55 kB / 0.5914 GB, free: 19.69 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001508/0.3556, allocations: 9 kB / 0.5914 GB, free: 19.68 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005462/0.3562, allocations: 209.1 kB / 0.5916 GB, free: 19.45 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.276e-05/0.3563, allocations: 0.6851 MB / 0.5923 GB, free: 18.74 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.685e-05/0.3563, allocations: 19.36 kB / 0.5923 GB, free: 18.72 MB / 446.1 MB Notification: Performance of SimCode: time 2.51e-07/0.3563, allocations: 2.594 kB / 0.5923 GB, free: 18.72 MB / 446.1 MB Notification: Performance of Templates: time 0.002381/0.3587, allocations: 1.121 MB / 0.5934 GB, free: 17.61 MB / 446.1 MB 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)