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.001799/0.001799, allocations: 78.64 kB / 19.76 MB, free: 1.875 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.002103/0.002103, allocations: 164.3 kB / 23.01 MB, free: 4.598 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.415/1.415, allocations: 177.2 MB / 203.4 MB, free: 9.004 MB / 190.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.7913/0.7913, allocations: 101.3 MB / 361.1 MB, free: 9.551 MB / 334.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [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.002055/0.002055, allocations: 66.39 kB / 0.5357 GB, free: 5.23 MB / 446.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. Notification: Performance of FrontEnd - Absyn->SCode: time 0.137/0.1391, allocations: 85.88 MB / 0.6195 GB, free: 1.559 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check): time 0.002008/0.1411, allocations: 0.7764 MB / 0.6203 GB, free: 0.7812 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.002025/0.1431, allocations: 1.451 MB / 0.6217 GB, free: 15.31 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.209e-05/0.1432, allocations: 4 kB / 0.6217 GB, free: 15.31 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 2.446e-05/0.1432, allocations: 3.938 kB / 0.6217 GB, free: 15.3 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 4.161e-05/0.1432, allocations: 0 / 0.6217 GB, free: 15.3 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005254/0.1437, allocations: 158.9 kB / 0.6219 GB, free: 15.15 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 8.672e-05/0.1438, allocations: 47.66 kB / 0.6219 GB, free: 15.11 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 3.707e-05/0.1439, allocations: 4 kB / 0.6219 GB, free: 15.1 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 7.468e-05/0.1439, allocations: 23.92 kB / 0.6219 GB, free: 15.08 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 6.695e-05/0.144, allocations: 39.77 kB / 0.622 GB, free: 15.04 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.787e-05/0.144, allocations: 4 kB / 0.622 GB, free: 15.04 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004239/0.1445, allocations: 247.5 kB / 0.6222 GB, free: 14.79 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 2.513e-05/0.1445, allocations: 11.98 kB / 0.6222 GB, free: 14.78 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 3.872e-05/0.1445, allocations: 23.86 kB / 0.6223 GB, free: 14.76 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0003384/0.1449, allocations: 207.4 kB / 0.6225 GB, free: 14.55 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 5.38e-06/0.1449, allocations: 7.984 kB / 0.6225 GB, free: 14.55 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.052e-06/0.1449, allocations: 0 / 0.6225 GB, free: 14.55 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 4.017e-06/0.1449, allocations: 0 / 0.6225 GB, free: 14.55 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.0006559/0.1455, allocations: 329.8 kB / 0.6228 GB, free: 14.2 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 2.994e-05/0.1456, allocations: 8.031 kB / 0.6228 GB, free: 14.19 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004775/0.146, allocations: 68.84 kB / 0.6228 GB, free: 14.12 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001147/0.1461, allocations: 118.4 kB / 0.623 GB, free: 13.98 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.83e-05/0.1462, allocations: 8.375 kB / 0.623 GB, free: 13.97 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.461e-05/0.1462, allocations: 8.375 kB / 0.623 GB, free: 13.96 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004324/0.1466, allocations: 161.3 kB / 0.6231 GB, free: 13.79 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.106e-05/0.1466, allocations: 0 / 0.6231 GB, free: 13.79 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.521e-05/0.1467, allocations: 4 kB / 0.6231 GB, free: 13.79 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.847e-06/0.1467, allocations: 4 kB / 0.6231 GB, free: 13.78 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005317/0.1472, allocations: 107.8 kB / 0.6232 GB, free: 13.68 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005511/0.1477, allocations: 260.4 kB / 0.6235 GB, free: 13.39 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007252/0.1485, allocations: 162.4 kB / 0.6236 GB, free: 13.22 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002632/0.1487, allocations: 48.97 kB / 0.6237 GB, free: 13.17 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 1.741e-05/0.1488, allocations: 4 kB / 0.6237 GB, free: 13.17 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.415e-05/0.1488, allocations: 42.55 kB / 0.6237 GB, free: 13.12 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=7): time 1.132e-06/0.1488, allocations: 0 / 0.6237 GB, free: 13.12 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.01964/0.1684, allocations: 2.686 MB / 0.6264 GB, free: 10.38 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.478e-05/0.1685, allocations: 51.41 kB / 0.6264 GB, free: 10.31 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.92e-05/0.1686, allocations: 109.8 kB / 0.6265 GB, free: 10.2 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 4.461e-05/0.1686, allocations: 25.7 kB / 0.6265 GB, free: 10.16 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 5.378e-05/0.1687, allocations: 88.09 kB / 0.6266 GB, free: 10.07 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 6.844e-05/0.1687, allocations: 39.69 kB / 0.6267 GB, free: 10.04 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001641/0.1689, allocations: 65.58 kB / 0.6267 GB, free: 9.965 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001407/0.169, allocations: 322.8 kB / 0.627 GB, free: 9.641 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007223/0.1698, allocations: 191.8 kB / 0.6272 GB, free: 9.453 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007225/0.1705, allocations: 195.8 kB / 0.6274 GB, free: 9.262 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001489/0.172, allocations: 396.2 kB / 0.6278 GB, free: 8.875 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.132e-06/0.172, allocations: 7.938 kB / 0.6278 GB, free: 8.867 MB / 0.5294 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.001693/0.1737, allocations: 477.1 kB / 0.6282 GB, free: 8.395 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.569e-05/0.1737, allocations: 6.188 kB / 0.6282 GB, free: 8.391 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.869e-06/0.1737, allocations: 0 / 0.6282 GB, free: 8.391 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.552e-05/0.1737, allocations: 4 kB / 0.6282 GB, free: 8.387 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008963/0.1746, allocations: 111.7 kB / 0.6284 GB, free: 8.277 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.73e-06/0.1746, allocations: 0 / 0.6284 GB, free: 8.277 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006686/0.1753, allocations: 55.88 kB / 0.6284 GB, free: 8.223 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.853e-05/0.1753, allocations: 19.94 kB / 0.6284 GB, free: 8.203 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.0001492/0.1755, allocations: 114.9 kB / 0.6285 GB, free: 8.082 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.082e-05/0.1756, allocations: 7.953 kB / 0.6285 GB, free: 8.074 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.245e-05/0.1756, allocations: 16.11 kB / 0.6286 GB, free: 8.059 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.258e-06/0.1756, allocations: 4 kB / 0.6286 GB, free: 8.055 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.647e-06/0.1756, allocations: 0 / 0.6286 GB, free: 8.055 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.388e-06/0.1756, allocations: 7.938 kB / 0.6286 GB, free: 8.047 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002401/0.178, allocations: 0.9572 MB / 0.6295 GB, free: 7 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.753e-06/0.178, allocations: 0 / 0.6295 GB, free: 7 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008975/0.1789, allocations: 103.8 kB / 0.6296 GB, free: 6.898 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.005e-06/0.1789, allocations: 0 / 0.6296 GB, free: 6.898 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.456e-05/0.179, allocations: 23.94 kB / 0.6296 GB, free: 6.875 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.444e-06/0.179, allocations: 7.938 kB / 0.6296 GB, free: 6.867 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.51e-07/0.179, allocations: 0 / 0.6296 GB, free: 6.867 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002594/0.1816, allocations: 0.7917 MB / 0.6304 GB, free: 6.059 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001546/0.1817, allocations: 39.94 kB / 0.6304 GB, free: 6.02 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.865e-05/0.1818, allocations: 4 kB / 0.6304 GB, free: 6.016 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007441/0.1825, allocations: 51.92 kB / 0.6305 GB, free: 5.965 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.326e-05/0.1826, allocations: 27.92 kB / 0.6305 GB, free: 5.938 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.078e-05/0.1827, allocations: 27.88 kB / 0.6306 GB, free: 5.91 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 5.158e-05/0.1827, allocations: 79.28 kB / 0.6306 GB, free: 5.832 MB / 0.5294 GB Notification: Performance of sort global known variables: time 9e-08/0.1827, allocations: 0 / 0.6306 GB, free: 5.832 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0003853/0.1831, allocations: 59.92 kB / 0.6307 GB, free: 5.773 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.0001707/0.1833, allocations: 103.5 kB / 0.6308 GB, free: 5.664 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.001613/0.1849, allocations: 423.5 kB / 0.6312 GB, free: 5.25 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.1849, allocations: 0 / 0.6312 GB, free: 5.25 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0007965/0.1857, allocations: 227.7 kB / 0.6314 GB, free: 5.027 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003365/0.1861, allocations: 8 kB / 0.6314 GB, free: 5.02 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004632/0.1907, allocations: 0.7697 MB / 0.6322 GB, free: 4.215 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.508e-05/0.1908, allocations: 79.33 kB / 0.6322 GB, free: 4.117 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0004955/0.1913, allocations: 84.73 kB / 0.6323 GB, free: 4.035 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002661/0.1915, allocations: 60.3 kB / 0.6324 GB, free: 3.977 MB / 0.5294 GB Notification: Performance of SimCode: time 3.31e-07/0.1915, allocations: 0 / 0.6324 GB, free: 3.977 MB / 0.5294 GB Notification: Performance of Templates: time 0.007229/0.1987, allocations: 3.682 MB / 0.636 GB, free: 312 kB / 0.5294 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 -s ida -lv LOG_STATS > IDEAS_IDEAS.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.505760416039266] Failed to read output from testmodel.py, exit status != 0: 0.20603719097562134 0.221504905 0.073556957 Calling exit ...