Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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_IDEAS.Utilities.Math.Functions.Examples.InverseXDerivativeCheck") translateModel(IDEAS.Utilities.Math.Functions.Examples.InverseXDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_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.001396/0.001396, allocations: 107 kB / 16.36 MB, free: 6.336 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.001416/0.001416, allocations: 195.3 kB / 17.29 MB, free: 5.883 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.328/1.328, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8421/0.8421, allocations: 132.2 MB / 423.3 MB, free: 6.609 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001875/0.001875, allocations: 59.91 kB / 0.5032 GB, free: 10.94 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3494/0.3513, allocations: 80.19 MB / 0.5815 GB, free: 27.68 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.InverseXDerivativeCheck): time 0.002299/0.3536, allocations: 0.6029 MB / 0.5821 GB, free: 27.24 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.002081/0.3557, allocations: 1.453 MB / 0.5835 GB, free: 26.07 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.128e-05/0.3558, allocations: 1.281 kB / 0.5835 GB, free: 26.07 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 1.687e-05/0.3559, allocations: 8.688 kB / 0.5835 GB, free: 26.06 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 2.791e-05/0.3559, allocations: 0 / 0.5835 GB, free: 26.06 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005813/0.3565, allocations: 140.6 kB / 0.5837 GB, free: 25.96 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 8.085e-05/0.3566, allocations: 28.34 kB / 0.5837 GB, free: 25.95 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.436e-05/0.3566, allocations: 2.438 kB / 0.5837 GB, free: 25.95 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.723e-05/0.3567, allocations: 22.39 kB / 0.5837 GB, free: 25.94 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.121e-05/0.3568, allocations: 24.73 kB / 0.5837 GB, free: 25.93 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.658e-05/0.3568, allocations: 2.469 kB / 0.5837 GB, free: 25.93 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000511/0.3573, allocations: 317.8 kB / 0.584 GB, free: 25.74 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.864e-05/0.3574, allocations: 11.34 kB / 0.584 GB, free: 25.73 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.678e-05/0.3574, allocations: 14.83 kB / 0.5841 GB, free: 25.72 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002957/0.3577, allocations: 185.6 kB / 0.5842 GB, free: 25.62 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.057e-06/0.3577, allocations: 4.531 kB / 0.5842 GB, free: 25.62 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.723e-06/0.3577, allocations: 0.9062 kB / 0.5842 GB, free: 25.62 MB / 446.1 MB Notification: Performance of Transformations before backend: time 9.909e-06/0.3577, allocations: 1.125 kB / 0.5842 GB, free: 25.62 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.0004698/0.3582, allocations: 364.7 kB / 0.5846 GB, free: 25.24 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.769e-05/0.3583, allocations: 10.53 kB / 0.5846 GB, free: 25.24 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005579/0.3588, allocations: 67.81 kB / 0.5847 GB, free: 25.21 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.284e-05/0.3589, allocations: 165.4 kB / 0.5848 GB, free: 25.02 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.824e-05/0.359, allocations: 1.469 kB / 0.5848 GB, free: 25.02 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.708e-05/0.359, allocations: 7.312 kB / 0.5848 GB, free: 25.01 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002883/0.3593, allocations: 76.23 kB / 0.5849 GB, free: 24.96 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.345e-06/0.3593, allocations: 0 / 0.5849 GB, free: 24.96 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.472e-05/0.3593, allocations: 1.062 kB / 0.5849 GB, free: 24.96 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.87e-06/0.3594, allocations: 0.875 kB / 0.5849 GB, free: 24.96 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003579/0.3597, allocations: 69.48 kB / 0.585 GB, free: 24.93 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001725/0.3599, allocations: 167.4 kB / 0.5851 GB, free: 24.73 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007276/0.3606, allocations: 119.7 kB / 0.5852 GB, free: 24.67 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001957/0.3609, allocations: 47.44 kB / 0.5853 GB, free: 24.64 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005335/0.3614, allocations: 151 kB / 0.5854 GB, free: 24.53 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.694e-05/0.3614, allocations: 36.91 kB / 0.5855 GB, free: 24.48 MB / 446.1 MB Notification: Performance of pre-optimization done (n=4): time 1.603e-06/0.3614, allocations: 0 / 0.5855 GB, free: 24.48 MB / 446.1 MB Notification: Performance of matching and sorting (n=5): time 0.001365/0.3628, allocations: 399.6 kB / 0.5858 GB, free: 24.17 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.866e-05/0.3629, allocations: 51.41 kB / 0.5859 GB, free: 24.11 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.921e-05/0.3629, allocations: 102.9 kB / 0.586 GB, free: 24 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.538e-05/0.363, allocations: 29.64 kB / 0.586 GB, free: 23.96 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.762e-05/0.363, allocations: 86.7 kB / 0.5861 GB, free: 23.88 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.427e-05/0.363, allocations: 19.89 kB / 0.5861 GB, free: 23.86 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.782e-05/0.3631, allocations: 23.23 kB / 0.5861 GB, free: 23.84 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.622e-05/0.3631, allocations: 312.9 kB / 0.5864 GB, free: 23.53 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002069/0.3634, allocations: 35.19 kB / 0.5865 GB, free: 23.52 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002003/0.3636, allocations: 39.95 kB / 0.5865 GB, free: 23.5 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003911/0.364, allocations: 76.09 kB / 0.5866 GB, free: 23.47 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.393e-06/0.364, allocations: 192 / 0.5866 GB, free: 23.47 MB / 446.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0004823/0.3645, allocations: 121.2 kB / 0.5867 GB, free: 23.4 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.289e-05/0.3645, allocations: 7.125 kB / 0.5867 GB, free: 23.4 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.571e-06/0.3645, allocations: 0 / 0.5867 GB, free: 23.4 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.858e-05/0.3645, allocations: 1.5 kB / 0.5867 GB, free: 23.4 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001957/0.3648, allocations: 27.84 kB / 0.5867 GB, free: 23.39 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.708e-06/0.3648, allocations: 1.125 kB / 0.5867 GB, free: 23.39 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001297/0.3649, allocations: 13.67 kB / 0.5868 GB, free: 23.38 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.489e-05/0.3649, allocations: 2.031 kB / 0.5868 GB, free: 23.38 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 8.609e-05/0.365, allocations: 113.5 kB / 0.5869 GB, free: 23.27 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.203e-05/0.3651, allocations: 5.703 kB / 0.5869 GB, free: 23.26 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005732/0.3656, allocations: 131.3 kB / 0.587 GB, free: 23.18 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.845e-06/0.3657, allocations: 1.25 kB / 0.587 GB, free: 23.18 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.035e-06/0.3657, allocations: 7.109 kB / 0.587 GB, free: 23.18 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.987e-06/0.3657, allocations: 3.938 kB / 0.587 GB, free: 23.18 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001366/0.3658, allocations: 174.9 kB / 0.5872 GB, free: 22.96 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.3658, allocations: 0 / 0.5872 GB, free: 22.96 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000207/0.3661, allocations: 29.22 kB / 0.5872 GB, free: 22.95 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.568e-06/0.3661, allocations: 3.438 kB / 0.5872 GB, free: 22.95 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.528e-05/0.3661, allocations: 0 / 0.5872 GB, free: 22.95 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.813e-06/0.3661, allocations: 1.312 kB / 0.5872 GB, free: 22.95 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.3661, allocations: 0 / 0.5872 GB, free: 22.95 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007222/0.3669, allocations: 186.2 kB / 0.5874 GB, free: 22.84 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.587e-05/0.3669, allocations: 87.19 kB / 0.5875 GB, free: 22.73 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.44e-05/0.367, allocations: 1.531 kB / 0.5875 GB, free: 22.73 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001476/0.3671, allocations: 14.17 kB / 0.5875 GB, free: 22.73 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.526e-05/0.3672, allocations: 2.438 kB / 0.5875 GB, free: 22.73 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.54e-05/0.3672, allocations: 19.16 kB / 0.5875 GB, free: 22.71 MB / 446.1 MB Notification: Performance of sorting global known variables: time 2.764e-05/0.3672, allocations: 82.02 kB / 0.5876 GB, free: 22.64 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.3672, allocations: 0 / 0.5876 GB, free: 22.64 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0003545/0.3676, allocations: 29.41 kB / 0.5876 GB, free: 22.63 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.000219/0.3678, allocations: 126.8 kB / 0.5877 GB, free: 22.53 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0004503/0.3683, allocations: 82.83 kB / 0.5878 GB, free: 22.5 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.567e-06/0.3683, allocations: 2.562 kB / 0.5878 GB, free: 22.5 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002008/0.3685, allocations: 45 kB / 0.5879 GB, free: 22.48 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002107/0.3687, allocations: 6.609 kB / 0.5879 GB, free: 22.48 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007743/0.3695, allocations: 187.2 kB / 0.588 GB, free: 22.33 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001433/0.3697, allocations: 0.6804 MB / 0.5887 GB, free: 21.63 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0001255/0.3698, allocations: 21.27 kB / 0.5887 GB, free: 21.63 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.827e-05/0.3699, allocations: 11.88 kB / 0.5887 GB, free: 21.62 MB / 446.1 MB Notification: Performance of SimCode: time 2.91e-07/0.3699, allocations: 0 / 0.5887 GB, free: 21.62 MB / 446.1 MB Notification: Performance of Templates: time 0.00465/0.3745, allocations: 1.138 MB / 0.5898 GB, free: 21.04 MB / 446.1 MB make -j1 -f IDEAS_IDEAS.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.makefile (rm -f IDEAS_IDEAS.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.sim & ./IDEAS_IDEAS.Utilities.Math.Functions.Examples.InverseXDerivativeCheck -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > IDEAS_IDEAS.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe 2>&1)