Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001605/0.001605, allocations: 104.4 kB / 19.7 MB, free: 2.125 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001776/0.001776, allocations: 215.9 kB / 22.99 MB, free: 4.945 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.423/1.423, allocations: 230.6 MB / 256.8 MB, free: 7.809 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8303/0.8303, allocations: 134 MB / 447.2 MB, free: 9.902 MB / 350.1 MB " [Timeout remaining time 179] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(IDEAS.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check") translateModel(IDEAS.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check") [Timeout 660] "Notification: IDEAS requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002018/0.002018, allocations: 67.89 kB / 0.6198 GB, free: 6.328 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1491/0.1511, allocations: 85.91 MB / 0.7036 GB, free: 0.5039 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check): time 0.00205/0.1532, allocations: 0.776 MB / 0.7044 GB, free: 15.73 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.002/0.1552, allocations: 1.454 MB / 0.7058 GB, free: 14.26 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.331e-05/0.1552, allocations: 0 / 0.7058 GB, free: 14.26 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 3.066e-05/0.1552, allocations: 3.938 kB / 0.7058 GB, free: 14.25 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 3.371e-05/0.1553, allocations: 0 / 0.7058 GB, free: 14.25 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.000508/0.1558, allocations: 150.8 kB / 0.706 GB, free: 14.11 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 9.44e-05/0.1559, allocations: 59.58 kB / 0.706 GB, free: 14.05 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 3.912e-05/0.1559, allocations: 0 / 0.706 GB, free: 14.05 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 7.616e-05/0.156, allocations: 31.91 kB / 0.7061 GB, free: 14.02 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 6.486e-05/0.156, allocations: 31.89 kB / 0.7061 GB, free: 13.99 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.893e-05/0.1561, allocations: 4 kB / 0.7061 GB, free: 13.98 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004029/0.1565, allocations: 243.5 kB / 0.7063 GB, free: 13.75 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 2.095e-05/0.1565, allocations: 15.91 kB / 0.7063 GB, free: 13.73 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 3.237e-05/0.1565, allocations: 19.94 kB / 0.7064 GB, free: 13.71 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0003165/0.1568, allocations: 207.4 kB / 0.7066 GB, free: 13.51 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 2.815e-06/0.1568, allocations: 0 / 0.7066 GB, free: 13.51 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.192e-06/0.1568, allocations: 0 / 0.7066 GB, free: 13.51 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 8.326e-06/0.1568, allocations: 0 / 0.7066 GB, free: 13.51 MB / 0.5294 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0006293/0.1575, allocations: 333.7 kB / 0.7069 GB, free: 13.15 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.339e-05/0.1575, allocations: 8.031 kB / 0.7069 GB, free: 13.14 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000426/0.1579, allocations: 72.84 kB / 0.707 GB, free: 13.07 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001254/0.1581, allocations: 122.4 kB / 0.7071 GB, free: 12.93 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.552e-05/0.1581, allocations: 8.375 kB / 0.7071 GB, free: 12.92 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.649e-05/0.1581, allocations: 4.375 kB / 0.7071 GB, free: 12.92 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004021/0.1585, allocations: 169.3 kB / 0.7072 GB, free: 12.73 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.183e-05/0.1585, allocations: 4 kB / 0.7072 GB, free: 12.73 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.39e-05/0.1585, allocations: 0 / 0.7072 GB, free: 12.73 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.098e-06/0.1585, allocations: 0 / 0.7072 GB, free: 12.73 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004838/0.159, allocations: 107.8 kB / 0.7073 GB, free: 12.62 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005428/0.1596, allocations: 256.4 kB / 0.7076 GB, free: 12.34 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006421/0.1602, allocations: 162.4 kB / 0.7077 GB, free: 12.18 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002267/0.1604, allocations: 48.81 kB / 0.7078 GB, free: 12.12 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 1.577e-05/0.1604, allocations: 0 / 0.7078 GB, free: 12.12 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.158e-05/0.1605, allocations: 46.53 kB / 0.7078 GB, free: 12.07 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=7): time 9.01e-07/0.1605, allocations: 0 / 0.7078 GB, free: 12.07 MB / 0.5294 GB Warning: Some equations could not be differentiated for following variables having attribute stateSelect=StateSelect.prefer. They will be treated as if they had stateSelect=StateSelect.default ======================================== 1: x Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=11): time 0.01759/0.1781, allocations: 2.695 MB / 0.7105 GB, free: 9.316 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.537e-05/0.1781, allocations: 55.41 kB / 0.7105 GB, free: 9.25 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001047/0.1782, allocations: 101.8 kB / 0.7106 GB, free: 9.141 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 5.131e-05/0.1783, allocations: 29.7 kB / 0.7106 GB, free: 9.105 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 5.605e-05/0.1783, allocations: 92.08 kB / 0.7107 GB, free: 9.012 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 6.69e-05/0.1784, allocations: 31.7 kB / 0.7108 GB, free: 8.98 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001692/0.1786, allocations: 73.56 kB / 0.7108 GB, free: 8.902 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001501/0.1787, allocations: 314.8 kB / 0.7111 GB, free: 8.586 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006792/0.1794, allocations: 195.8 kB / 0.7113 GB, free: 8.395 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006636/0.1801, allocations: 195.7 kB / 0.7115 GB, free: 8.203 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001337/0.1814, allocations: 388.7 kB / 0.7119 GB, free: 7.82 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.443e-06/0.1814, allocations: 4 kB / 0.7119 GB, free: 7.816 MB / 0.5294 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.001634/0.183, allocations: 480.1 kB / 0.7123 GB, free: 7.344 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.114e-05/0.183, allocations: 8 kB / 0.7124 GB, free: 7.336 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.033e-06/0.1831, allocations: 0 / 0.7124 GB, free: 7.336 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.765e-05/0.1831, allocations: 0 / 0.7124 GB, free: 7.336 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000807/0.1839, allocations: 107.7 kB / 0.7125 GB, free: 7.23 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.809e-06/0.1839, allocations: 4 kB / 0.7125 GB, free: 7.227 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005904/0.1845, allocations: 51.88 kB / 0.7125 GB, free: 7.176 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.542e-05/0.1845, allocations: 23.94 kB / 0.7125 GB, free: 7.152 MB / 0.5294 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 13 * 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 0.0001772/0.1847, allocations: 117.8 kB / 0.7126 GB, free: 7.027 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.794e-05/0.1848, allocations: 3.953 kB / 0.7126 GB, free: 7.023 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.531e-05/0.1848, allocations: 20 kB / 0.7127 GB, free: 7.004 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.766e-06/0.1848, allocations: 0 / 0.7127 GB, free: 7.004 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.619e-06/0.1849, allocations: 0 / 0.7127 GB, free: 7.004 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.24e-06/0.1849, allocations: 7.938 kB / 0.7127 GB, free: 6.996 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002402/0.1873, allocations: 0.953 MB / 0.7136 GB, free: 5.949 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.735e-06/0.1873, allocations: 0 / 0.7136 GB, free: 5.949 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008089/0.1881, allocations: 107.8 kB / 0.7137 GB, free: 5.844 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.472e-06/0.1881, allocations: 4 kB / 0.7137 GB, free: 5.84 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.699e-05/0.1881, allocations: 23.92 kB / 0.7137 GB, free: 5.816 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.209e-06/0.1881, allocations: 3.938 kB / 0.7137 GB, free: 5.812 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.256e-06/0.1881, allocations: 4 kB / 0.7137 GB, free: 5.809 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002428/0.1906, allocations: 0.7956 MB / 0.7145 GB, free: 4.996 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001803/0.1908, allocations: 39.92 kB / 0.7146 GB, free: 4.957 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.168e-05/0.1908, allocations: 0 / 0.7146 GB, free: 4.957 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006452/0.1915, allocations: 51.94 kB / 0.7146 GB, free: 4.906 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.716e-05/0.1916, allocations: 28.02 kB / 0.7146 GB, free: 4.879 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.482e-05/0.1916, allocations: 27.88 kB / 0.7147 GB, free: 4.852 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 6.018e-05/0.1917, allocations: 83.27 kB / 0.7147 GB, free: 4.77 MB / 0.5294 GB Notification: Performance of sort global known variables: time 9.1e-08/0.1917, allocations: 0 / 0.7147 GB, free: 4.77 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0003773/0.192, allocations: 51.94 kB / 0.7148 GB, free: 4.719 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (y_comp,der_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 (11): * Single equations (assignments): 11 * 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.0002174/0.1923, allocations: 107.2 kB / 0.7149 GB, free: 4.605 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.001505/0.1938, allocations: 431.4 kB / 0.7153 GB, free: 4.184 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.1938, allocations: 0 / 0.7153 GB, free: 4.184 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.000781/0.1946, allocations: 227.1 kB / 0.7155 GB, free: 3.965 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003754/0.1949, allocations: 8 kB / 0.7155 GB, free: 3.957 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004214/0.1991, allocations: 0.7848 MB / 0.7163 GB, free: 3.133 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.92e-05/0.1992, allocations: 75.33 kB / 0.7164 GB, free: 3.039 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003836/0.1996, allocations: 75.23 kB / 0.7164 GB, free: 2.965 MB / 0.5294 GB Notification: Performance of SimCode: time 1.463e-06/0.1996, allocations: 0 / 0.7164 GB, free: 2.965 MB / 0.5294 GB Notification: Performance of Templates: time 0.006758/0.2064, allocations: 3.809 MB / 0.7202 GB, free: 15.14 MB / 0.545 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.sim & ./IDEAS_IDEAS.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 7.728670267388225] Failed to read output from testmodel.py, exit status != 0: 0.21424087695777416 0.230223524 0.07038602100000001 Calling exit ...