Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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.00105/0.00105, allocations: 72.5 kB / 19.93 MB, free: 4.633 MB / 18.57 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.001208/0.001208, allocations: 178.2 kB / 23.21 MB, free: 1.352 MB / 18.57 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 0.8572/0.8572, allocations: 177.2 MB / 203.5 MB, free: 5.445 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:190:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:198:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 0.7118/0.7118, allocations: 154.6 MB / 414.5 MB, free: 0.7773 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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 master/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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_dev_IDEAS.Utilities.Math.Functions.Examples.InverseXRegularized") translateModel(IDEAS.Utilities.Math.Functions.Examples.InverseXRegularized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.InverseXRegularized") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.843e-06/1.843e-06, allocations: 0 / 0.6193 GB, free: 13.12 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.868e-05/3.053e-05, allocations: 5.234 kB / 0.6193 GB, free: 13.12 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.InverseXRegularized): time 0.001231/0.001262, allocations: 0.6344 MB / 0.62 GB, free: 12.48 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.001686/0.002948, allocations: 1.427 MB / 0.6214 GB, free: 11.04 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.838e-05/0.002976, allocations: 0 / 0.6214 GB, free: 11.04 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 1.611e-05/0.002993, allocations: 4 kB / 0.6214 GB, free: 11.03 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 6.981e-05/0.003062, allocations: 11.88 kB / 0.6214 GB, free: 11.02 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003319/0.003394, allocations: 123.5 kB / 0.6215 GB, free: 10.9 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 5.9e-05/0.003453, allocations: 35.84 kB / 0.6215 GB, free: 10.86 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 3.876e-05/0.003492, allocations: 0 / 0.6215 GB, free: 10.86 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 5.249e-05/0.003545, allocations: 11.98 kB / 0.6215 GB, free: 10.85 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 5.742e-05/0.003602, allocations: 23.91 kB / 0.6216 GB, free: 10.83 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 1.957e-05/0.003622, allocations: 0 / 0.6216 GB, free: 10.83 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002481/0.00387, allocations: 251.4 kB / 0.6218 GB, free: 10.58 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 1.582e-05/0.003885, allocations: 11.98 kB / 0.6218 GB, free: 10.57 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 1.717e-05/0.003903, allocations: 7.938 kB / 0.6218 GB, free: 10.56 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0002096/0.004112, allocations: 191.5 kB / 0.622 GB, free: 10.38 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 4.448e-06/0.004117, allocations: 3.984 kB / 0.622 GB, free: 10.37 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.352e-06/0.004118, allocations: 0 / 0.622 GB, free: 10.37 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 4.248e-06/0.004122, allocations: 0 / 0.622 GB, free: 10.37 MB / 0.5886 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.0003796/0.004502, allocations: 309.8 kB / 0.6223 GB, free: 10.04 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.743e-05/0.004539, allocations: 13.41 kB / 0.6223 GB, free: 10.03 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002116/0.004751, allocations: 60.81 kB / 0.6224 GB, free: 9.969 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.812e-05/0.004849, allocations: 117.7 kB / 0.6225 GB, free: 9.828 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.355e-05/0.004863, allocations: 384 / 0.6225 GB, free: 9.828 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.99e-05/0.004882, allocations: 12.38 kB / 0.6225 GB, free: 9.816 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001547/0.005037, allocations: 66.2 kB / 0.6226 GB, free: 9.746 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.242e-05/0.00505, allocations: 8.141 kB / 0.6226 GB, free: 9.738 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.004e-05/0.00506, allocations: 384 / 0.6226 GB, free: 9.738 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.761e-06/0.005065, allocations: 7.875 kB / 0.6226 GB, free: 9.73 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001693/0.005235, allocations: 67.92 kB / 0.6226 GB, free: 9.664 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001216/0.005356, allocations: 121.4 kB / 0.6228 GB, free: 9.516 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002678/0.005624, allocations: 122.4 kB / 0.6229 GB, free: 9.387 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.773e-05/0.005712, allocations: 44.94 kB / 0.6229 GB, free: 9.34 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 1.444e-05/0.005726, allocations: 0 / 0.6229 GB, free: 9.34 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.128e-05/0.005748, allocations: 34.56 kB / 0.623 GB, free: 9.297 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=5): time 1.012e-06/0.005749, allocations: 0 / 0.623 GB, free: 9.297 MB / 0.5886 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.001957/0.007706, allocations: 0.7902 MB / 0.6237 GB, free: 8.5 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.984e-05/0.007736, allocations: 55.39 kB / 0.6238 GB, free: 8.434 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.365e-05/0.007799, allocations: 109.8 kB / 0.6239 GB, free: 8.316 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.297e-05/0.007812, allocations: 29.7 kB / 0.6239 GB, free: 8.281 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 3.001e-05/0.007842, allocations: 84.14 kB / 0.624 GB, free: 8.195 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 3.209e-05/0.007874, allocations: 31.73 kB / 0.624 GB, free: 8.164 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.81e-05/0.007912, allocations: 25.7 kB / 0.624 GB, free: 8.133 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 7.757e-05/0.00799, allocations: 318.8 kB / 0.6243 GB, free: 7.812 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002003/0.00819, allocations: 103.9 kB / 0.6244 GB, free: 7.711 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000188/0.008378, allocations: 91.91 kB / 0.6245 GB, free: 7.621 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004443/0.008823, allocations: 196.6 kB / 0.6247 GB, free: 7.426 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.193e-06/0.008824, allocations: 0 / 0.6247 GB, free: 7.426 MB / 0.5886 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0004326/0.009256, allocations: 245.6 kB / 0.625 GB, free: 7.18 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.231e-05/0.009269, allocations: 7.984 kB / 0.625 GB, free: 7.172 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.233e-06/0.009276, allocations: 3.938 kB / 0.625 GB, free: 7.168 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.263e-05/0.009289, allocations: 3.984 kB / 0.625 GB, free: 7.164 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000159/0.009448, allocations: 59.94 kB / 0.625 GB, free: 7.105 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.449e-06/0.009452, allocations: 0 / 0.625 GB, free: 7.105 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.503e-05/0.009547, allocations: 43.89 kB / 0.6251 GB, free: 7.062 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.725e-06/0.009555, allocations: 0 / 0.6251 GB, free: 7.062 MB / 0.5886 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 6.024e-05/0.009615, allocations: 114.8 kB / 0.6252 GB, free: 6.941 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.162e-05/0.009627, allocations: 7.953 kB / 0.6252 GB, free: 6.934 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.105e-05/0.009658, allocations: 12.38 kB / 0.6252 GB, free: 6.918 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.778e-06/0.009662, allocations: 7.984 kB / 0.6252 GB, free: 6.91 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.867e-06/0.009665, allocations: 0 / 0.6252 GB, free: 6.91 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.334e-06/0.009668, allocations: 0 / 0.6252 GB, free: 6.91 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008313/0.0105, allocations: 0.5384 MB / 0.6257 GB, free: 6.328 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.894e-06/0.0105, allocations: 0 / 0.6257 GB, free: 6.328 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001123/0.01061, allocations: 56 kB / 0.6258 GB, free: 6.273 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.803e-06/0.01061, allocations: 0 / 0.6258 GB, free: 6.273 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.035e-05/0.01063, allocations: 4 kB / 0.6258 GB, free: 6.27 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.01063, allocations: 400 / 0.6258 GB, free: 6.27 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.01063, allocations: 3.938 kB / 0.6258 GB, free: 6.266 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000444/0.01107, allocations: 344.9 kB / 0.6261 GB, free: 5.906 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 1.121e-05/0.01108, allocations: 11.95 kB / 0.6261 GB, free: 5.895 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.572e-05/0.0111, allocations: 7.984 kB / 0.6261 GB, free: 5.887 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001066/0.01121, allocations: 27.97 kB / 0.6262 GB, free: 5.859 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.27e-05/0.01124, allocations: 15.97 kB / 0.6262 GB, free: 5.844 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.853e-06/0.01125, allocations: 8 kB / 0.6262 GB, free: 5.836 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 3.374e-05/0.01128, allocations: 95.25 kB / 0.6263 GB, free: 5.742 MB / 0.5886 GB Notification: Performance of sort global known variables: time 8e-08/0.01128, allocations: 0 / 0.6263 GB, free: 5.742 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0001968/0.01148, allocations: 31.94 kB / 0.6263 GB, free: 5.711 MB / 0.5886 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.000149/0.01163, allocations: 127.1 kB / 0.6264 GB, free: 5.578 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0004441/0.01207, allocations: 211.8 kB / 0.6266 GB, free: 5.371 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 2.405e-06/0.01207, allocations: 8 kB / 0.6266 GB, free: 5.363 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.0002037/0.01228, allocations: 104 kB / 0.6267 GB, free: 5.262 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001737/0.01245, allocations: 13.97 kB / 0.6268 GB, free: 5.25 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000775/0.01322, allocations: 424 kB / 0.6272 GB, free: 4.797 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.408e-05/0.01327, allocations: 67.34 kB / 0.6272 GB, free: 4.711 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.238e-05/0.01333, allocations: 20.48 kB / 0.6272 GB, free: 4.688 MB / 0.5886 GB Notification: Performance of SimCode: time 9.72e-07/0.01333, allocations: 4 kB / 0.6272 GB, free: 4.684 MB / 0.5886 GB Notification: Performance of Templates: time 0.002363/0.0157, allocations: 1.46 MB / 0.6287 GB, free: 3.227 MB / 0.5886 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.InverseXRegularized.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.InverseXRegularized.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.InverseXRegularized.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.InverseXRegularized.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.InverseXRegularized.sim & ./IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.InverseXRegularized -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.InverseXRegularized.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.136339554563165] Failed to read output from testmodel.py, exit status != 0: 0.020854691974818707 0.029577264000000002 0.02303772 Calling exit ...