Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Math.Functions.Examples.InverseXRegularized.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.001292/0.001292, allocations: 78.09 kB / 19.76 MB, free: 2.031 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.001298/0.001298, allocations: 156.7 kB / 23.01 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.383/1.383, allocations: 177.2 MB / 203.4 MB, free: 8.98 MB / 190.1 MB " [Timeout remaining time 179] 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.7892/0.7892, allocations: 101.3 MB / 361.1 MB, free: 9.539 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.InverseXRegularized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Functions.Examples.InverseXRegularized") translateModel(IDEAS.Utilities.Math.Functions.Examples.InverseXRegularized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Functions.Examples.InverseXRegularized") [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.002079/0.002079, allocations: 64.5 kB / 0.5357 GB, free: 5.191 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.1387/0.1408, allocations: 85.89 MB / 0.6196 GB, free: 1.523 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.InverseXRegularized): time 0.001759/0.1426, allocations: 0.6264 MB / 0.6202 GB, free: 0.8984 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.00202/0.1446, allocations: 1.428 MB / 0.6216 GB, free: 15.45 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.786e-05/0.1446, allocations: 0 / 0.6216 GB, free: 15.45 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 1.5e-05/0.1446, allocations: 3.938 kB / 0.6216 GB, free: 15.45 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 6.639e-05/0.1447, allocations: 7.938 kB / 0.6216 GB, free: 15.44 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004287/0.1451, allocations: 123.5 kB / 0.6217 GB, free: 15.32 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 6.226e-05/0.1452, allocations: 27.91 kB / 0.6217 GB, free: 15.29 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 3.289e-05/0.1452, allocations: 0 / 0.6217 GB, free: 15.29 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 3.321e-05/0.1452, allocations: 19.94 kB / 0.6217 GB, free: 15.27 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 6.194e-05/0.1453, allocations: 23.83 kB / 0.6218 GB, free: 15.25 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.583e-05/0.1453, allocations: 4 kB / 0.6218 GB, free: 15.25 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004291/0.1457, allocations: 243.5 kB / 0.622 GB, free: 15.01 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 2.117e-05/0.1458, allocations: 11.98 kB / 0.622 GB, free: 15 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 2.127e-05/0.1458, allocations: 7.922 kB / 0.622 GB, free: 14.99 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0003015/0.1461, allocations: 179.4 kB / 0.6222 GB, free: 14.81 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.1461, allocations: 0 / 0.6222 GB, free: 14.81 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.172e-06/0.1461, allocations: 3.938 kB / 0.6222 GB, free: 14.81 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 3.907e-06/0.1461, allocations: 0 / 0.6222 GB, free: 14.81 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004939/0.1466, allocations: 309.8 kB / 0.6225 GB, free: 14.48 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.582e-05/0.1466, allocations: 12.03 kB / 0.6225 GB, free: 14.46 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003953/0.147, allocations: 60.81 kB / 0.6226 GB, free: 14.41 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000134/0.1472, allocations: 122.4 kB / 0.6227 GB, free: 14.26 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.52e-05/0.1472, allocations: 384 / 0.6227 GB, free: 14.26 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.731e-05/0.1472, allocations: 4.359 kB / 0.6227 GB, free: 14.26 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002819/0.1475, allocations: 81.95 kB / 0.6228 GB, free: 14.17 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.088e-05/0.1475, allocations: 4 kB / 0.6228 GB, free: 14.17 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.356e-06/0.1475, allocations: 4 kB / 0.6228 GB, free: 14.16 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.018e-06/0.1475, allocations: 0 / 0.6228 GB, free: 14.16 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003751/0.1479, allocations: 71.91 kB / 0.6228 GB, free: 14.09 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001576/0.148, allocations: 113.3 kB / 0.6229 GB, free: 13.95 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005824/0.1486, allocations: 126.4 kB / 0.6231 GB, free: 13.82 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001916/0.1488, allocations: 44.95 kB / 0.6231 GB, free: 13.77 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 1.118e-05/0.1488, allocations: 0 / 0.6231 GB, free: 13.77 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.927e-05/0.1488, allocations: 34.5 kB / 0.6231 GB, free: 13.73 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=5): time 8.12e-07/0.1488, allocations: 0 / 0.6231 GB, free: 13.73 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=9): time 0.004335/0.1532, allocations: 0.7896 MB / 0.6239 GB, free: 12.93 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.818e-05/0.1532, allocations: 51.41 kB / 0.624 GB, free: 12.87 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001083/0.1533, allocations: 117.8 kB / 0.6241 GB, free: 12.75 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.136e-05/0.1534, allocations: 25.7 kB / 0.6241 GB, free: 12.71 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 4.506e-05/0.1534, allocations: 88.14 kB / 0.6242 GB, free: 12.62 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 4.048e-05/0.1534, allocations: 35.73 kB / 0.6242 GB, free: 12.59 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.357e-05/0.1535, allocations: 25.7 kB / 0.6242 GB, free: 12.56 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001406/0.1536, allocations: 314.8 kB / 0.6245 GB, free: 12.24 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004625/0.1541, allocations: 95.89 kB / 0.6246 GB, free: 12.15 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004578/0.1546, allocations: 99.89 kB / 0.6247 GB, free: 12.05 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009127/0.1555, allocations: 200.8 kB / 0.6249 GB, free: 11.85 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.92e-07/0.1555, allocations: 0 / 0.6249 GB, free: 11.85 MB / 0.5294 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0009992/0.1565, allocations: 245.3 kB / 0.6251 GB, free: 11.61 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.309e-05/0.1565, allocations: 4 kB / 0.6251 GB, free: 11.6 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.516e-06/0.1565, allocations: 0 / 0.6251 GB, free: 11.6 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.106e-05/0.1565, allocations: 0 / 0.6251 GB, free: 11.6 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003258/0.1568, allocations: 55.94 kB / 0.6252 GB, free: 11.55 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.178e-06/0.1568, allocations: 0 / 0.6252 GB, free: 11.55 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002494/0.1571, allocations: 43.95 kB / 0.6252 GB, free: 11.5 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.447e-05/0.1571, allocations: 3.984 kB / 0.6252 GB, free: 11.5 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 (9): * Single equations (assignments): 9 * 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 9.661e-05/0.1572, allocations: 114.9 kB / 0.6254 GB, free: 11.38 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.489e-05/0.1572, allocations: 12.64 kB / 0.6254 GB, free: 11.37 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.776e-05/0.1573, allocations: 8.438 kB / 0.6254 GB, free: 11.36 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.954e-06/0.1573, allocations: 0 / 0.6254 GB, free: 11.36 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.019e-06/0.1573, allocations: 8 kB / 0.6254 GB, free: 11.35 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.315e-06/0.1573, allocations: 0 / 0.6254 GB, free: 11.35 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001749/0.159, allocations: 0.5307 MB / 0.6259 GB, free: 10.77 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.847e-06/0.159, allocations: 4 kB / 0.6259 GB, free: 10.77 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002846/0.1593, allocations: 56 kB / 0.626 GB, free: 10.71 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.385e-06/0.1593, allocations: 0 / 0.626 GB, free: 10.71 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.586e-05/0.1593, allocations: 7.984 kB / 0.626 GB, free: 10.71 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.644e-06/0.1593, allocations: 3.938 kB / 0.626 GB, free: 10.7 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.41e-07/0.1593, allocations: 0 / 0.626 GB, free: 10.7 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001044/0.1604, allocations: 348.9 kB / 0.6263 GB, free: 10.34 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 1.76e-05/0.1604, allocations: 12.08 kB / 0.6263 GB, free: 10.33 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.775e-05/0.1604, allocations: 0 / 0.6263 GB, free: 10.33 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002743/0.1607, allocations: 43.89 kB / 0.6264 GB, free: 10.29 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.615e-05/0.1607, allocations: 11.98 kB / 0.6264 GB, free: 10.27 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.496e-05/0.1607, allocations: 7.984 kB / 0.6264 GB, free: 10.27 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 6.481e-05/0.1608, allocations: 91.22 kB / 0.6265 GB, free: 10.18 MB / 0.5294 GB Notification: Performance of sort global known variables: time 9e-08/0.1608, allocations: 0 / 0.6265 GB, free: 10.18 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0002971/0.1611, allocations: 43.86 kB / 0.6265 GB, free: 10.13 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 simulation (9): * Single equations (assignments): 9 * 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.0001796/0.1613, allocations: 123.1 kB / 0.6266 GB, free: 10 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0009954/0.1623, allocations: 211.7 kB / 0.6268 GB, free: 9.797 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.1623, allocations: 0 / 0.6268 GB, free: 9.797 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0005048/0.1628, allocations: 108 kB / 0.6269 GB, free: 9.691 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002339/0.163, allocations: 8 kB / 0.6269 GB, free: 9.684 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001659/0.1647, allocations: 397.9 kB / 0.6273 GB, free: 9.262 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.94e-05/0.1647, allocations: 79.27 kB / 0.6274 GB, free: 9.164 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 9.218e-05/0.1648, allocations: 17.52 kB / 0.6274 GB, free: 9.145 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.984e-05/0.1649, allocations: 24.48 kB / 0.6274 GB, free: 9.121 MB / 0.5294 GB Notification: Performance of SimCode: time 3.21e-07/0.1649, allocations: 0 / 0.6274 GB, free: 9.121 MB / 0.5294 GB Notification: Performance of Templates: time 0.004631/0.1695, allocations: 1.76 MB / 0.6291 GB, free: 7.371 MB / 0.5294 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Utilities.Math.Functions.Examples.InverseXRegularized.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Utilities.Math.Functions.Examples.InverseXRegularized.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Functions.Examples.InverseXRegularized.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Functions.Examples.InverseXRegularized.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Functions.Examples.InverseXRegularized.sim & ./IDEAS_IDEAS.Utilities.Math.Functions.Examples.InverseXRegularized -abortSlowSimulation -alarm=480 -s ida -lv LOG_STATS > IDEAS_IDEAS.Utilities.Math.Functions.Examples.InverseXRegularized.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.0314348199171945] Failed to read output from testmodel.py, exit status != 0: 0.17692049103789032 0.192063385 0.042860574000000005 Calling exit ...