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.001162/0.001162, allocations: 104.8 kB / 16.37 MB, free: 6.457 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.001142/0.001142, allocations: 195.8 kB / 17.31 MB, free: 5.812 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 / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8047/0.8047, allocations: 132.2 MB / 423.4 MB, free: 6.637 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002009/0.002009, allocations: 64.09 kB / 0.5032 GB, free: 10.95 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3415/0.3435, allocations: 80.18 MB / 0.5815 GB, free: 27.74 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.InverseXDerivativeCheck): time 0.001932/0.3455, allocations: 0.6071 MB / 0.5821 GB, free: 27.29 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001535/0.347, allocations: 1.452 MB / 0.5835 GB, free: 26.12 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.868e-05/0.3471, allocations: 0 / 0.5835 GB, free: 26.12 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 1.663e-05/0.3471, allocations: 2.031 kB / 0.5835 GB, free: 26.12 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 2.502e-05/0.3471, allocations: 4.719 kB / 0.5835 GB, free: 26.12 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004578/0.3476, allocations: 138.8 kB / 0.5837 GB, free: 26.02 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 6.891e-05/0.3477, allocations: 37.42 kB / 0.5837 GB, free: 26 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.232e-05/0.3477, allocations: 3.5 kB / 0.5837 GB, free: 26 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.65e-05/0.3478, allocations: 16.33 kB / 0.5837 GB, free: 26 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.827e-05/0.3478, allocations: 22.88 kB / 0.5837 GB, free: 25.98 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.52e-05/0.3479, allocations: 3.781 kB / 0.5837 GB, free: 25.98 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003731/0.3482, allocations: 322.5 kB / 0.584 GB, free: 25.79 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.718e-05/0.3483, allocations: 5.297 kB / 0.584 GB, free: 25.79 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 3.186e-05/0.3483, allocations: 11.39 kB / 0.5841 GB, free: 25.78 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002565/0.3486, allocations: 187.7 kB / 0.5842 GB, free: 25.68 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.538e-06/0.3486, allocations: 3.125 kB / 0.5842 GB, free: 25.68 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.024e-06/0.3486, allocations: 1.219 kB / 0.5842 GB, free: 25.68 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.699e-06/0.3486, allocations: 0 / 0.5842 GB, free: 25.68 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.0004216/0.349, allocations: 362.5 kB / 0.5846 GB, free: 25.3 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.405e-05/0.3491, allocations: 12.86 kB / 0.5846 GB, free: 25.3 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004338/0.3495, allocations: 68.86 kB / 0.5847 GB, free: 25.27 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.168e-05/0.3496, allocations: 165.4 kB / 0.5848 GB, free: 25.07 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.05e-05/0.3496, allocations: 5.438 kB / 0.5848 GB, free: 25.07 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.366e-05/0.3496, allocations: 6.625 kB / 0.5848 GB, free: 25.07 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002369/0.3499, allocations: 75.05 kB / 0.5849 GB, free: 25.01 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.528e-06/0.3499, allocations: 5.469 kB / 0.5849 GB, free: 25.01 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.319e-05/0.3499, allocations: 0.625 kB / 0.5849 GB, free: 25.01 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.438e-06/0.3499, allocations: 1.062 kB / 0.5849 GB, free: 25.01 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002739/0.3502, allocations: 65.36 kB / 0.585 GB, free: 24.98 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000145/0.3504, allocations: 170.9 kB / 0.5851 GB, free: 24.78 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005584/0.3509, allocations: 124 kB / 0.5853 GB, free: 24.72 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001476/0.3511, allocations: 46.53 kB / 0.5853 GB, free: 24.7 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004126/0.3515, allocations: 151.4 kB / 0.5854 GB, free: 24.58 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.587e-05/0.3515, allocations: 37.06 kB / 0.5855 GB, free: 24.54 MB / 446.1 MB Notification: Performance of pre-optimization done (n=4): time 1.172e-06/0.3515, allocations: 0 / 0.5855 GB, free: 24.54 MB / 446.1 MB Notification: Performance of matching and sorting (n=5): time 0.001099/0.3526, allocations: 399 kB / 0.5859 GB, free: 24.22 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.358e-05/0.3527, allocations: 53.03 kB / 0.5859 GB, free: 24.16 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.885e-05/0.3527, allocations: 102.4 kB / 0.586 GB, free: 24.05 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.485e-05/0.3528, allocations: 26.8 kB / 0.586 GB, free: 24.02 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.501e-05/0.3528, allocations: 80.14 kB / 0.5861 GB, free: 23.94 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.567e-05/0.3528, allocations: 21.73 kB / 0.5861 GB, free: 23.92 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.646e-05/0.3529, allocations: 25.64 kB / 0.5862 GB, free: 23.89 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.312e-05/0.3529, allocations: 312 kB / 0.5865 GB, free: 23.58 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001547/0.3531, allocations: 35.22 kB / 0.5865 GB, free: 23.57 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001514/0.3532, allocations: 40.3 kB / 0.5865 GB, free: 23.55 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002769/0.3535, allocations: 75.06 kB / 0.5866 GB, free: 23.52 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.153e-06/0.3535, allocations: 0 / 0.5866 GB, free: 23.52 MB / 446.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003305/0.3539, allocations: 121.1 kB / 0.5867 GB, free: 23.45 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.765e-05/0.3539, allocations: 4.688 kB / 0.5867 GB, free: 23.45 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.5e-06/0.3539, allocations: 6.328 kB / 0.5867 GB, free: 23.45 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.465e-05/0.3539, allocations: 1.281 kB / 0.5867 GB, free: 23.45 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001389/0.3541, allocations: 23.88 kB / 0.5867 GB, free: 23.44 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.825e-06/0.3541, allocations: 1.312 kB / 0.5867 GB, free: 23.44 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.87e-05/0.3542, allocations: 12.92 kB / 0.5868 GB, free: 23.44 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.023e-05/0.3542, allocations: 1.25 kB / 0.5868 GB, free: 23.44 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 6.376e-05/0.3543, allocations: 117.3 kB / 0.5869 GB, free: 23.32 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.562e-05/0.3543, allocations: 5.281 kB / 0.5869 GB, free: 23.31 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004036/0.3547, allocations: 133.1 kB / 0.587 GB, free: 23.23 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.276e-06/0.3547, allocations: 5.125 kB / 0.587 GB, free: 23.23 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.45e-06/0.3547, allocations: 5 kB / 0.587 GB, free: 23.23 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.896e-06/0.3547, allocations: 0 / 0.587 GB, free: 23.23 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.588e-05/0.3548, allocations: 170.9 kB / 0.5872 GB, free: 23.02 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.3548, allocations: 3.406 kB / 0.5872 GB, free: 23.02 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001456/0.355, allocations: 28 kB / 0.5872 GB, free: 23.01 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.104e-06/0.355, allocations: 0 / 0.5872 GB, free: 23.01 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.188e-05/0.355, allocations: 1.594 kB / 0.5872 GB, free: 23.01 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.735e-06/0.355, allocations: 1.875 kB / 0.5872 GB, free: 23.01 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.355, allocations: 3.938 kB / 0.5872 GB, free: 23 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005289/0.3556, allocations: 186.2 kB / 0.5874 GB, free: 22.89 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.884e-05/0.3556, allocations: 88.25 kB / 0.5875 GB, free: 22.79 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.922e-05/0.3557, allocations: 1.406 kB / 0.5875 GB, free: 22.79 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001114/0.3558, allocations: 13.73 kB / 0.5875 GB, free: 22.78 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.417e-05/0.3558, allocations: 1.594 kB / 0.5875 GB, free: 22.78 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.426e-05/0.3559, allocations: 13.2 kB / 0.5875 GB, free: 22.77 MB / 446.1 MB Notification: Performance of sorting global known variables: time 2.558e-05/0.3559, allocations: 77.47 kB / 0.5876 GB, free: 22.7 MB / 446.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3559, allocations: 0 / 0.5876 GB, free: 22.7 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002495/0.3561, allocations: 29.59 kB / 0.5876 GB, free: 22.69 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.0002301/0.3564, allocations: 132 kB / 0.5877 GB, free: 22.59 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0003835/0.3568, allocations: 90.52 kB / 0.5878 GB, free: 22.55 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.3568, allocations: 0 / 0.5878 GB, free: 22.55 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001595/0.357, allocations: 45.95 kB / 0.5879 GB, free: 22.54 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000167/0.3571, allocations: 4.5 kB / 0.5879 GB, free: 22.54 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006547/0.3578, allocations: 187.3 kB / 0.588 GB, free: 22.39 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001643/0.358, allocations: 0.6797 MB / 0.5887 GB, free: 21.69 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 8.943e-05/0.3581, allocations: 22.2 kB / 0.5887 GB, free: 21.68 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.615e-05/0.3581, allocations: 11.81 kB / 0.5887 GB, free: 21.68 MB / 446.1 MB Notification: Performance of SimCode: time 2.01e-07/0.3581, allocations: 0 / 0.5887 GB, free: 21.68 MB / 446.1 MB Notification: Performance of Templates: time 0.003823/0.362, allocations: 1.149 MB / 0.5899 GB, free: 21.08 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 gbode -lv LOG_STATS > IDEAS_IDEAS.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe 2>&1)