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.0007783/0.0007783, allocations: 117.6 kB / 19.7 MB, free: 0.5273 MB / 13.93 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.001485/0.001485, allocations: 211.9 kB / 23.01 MB, free: 3.105 MB / 13.93 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.8902/0.8902, allocations: 230.6 MB / 256.8 MB, free: 3.449 MB / 202.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.7406/0.7406, allocations: 203.8 MB / 0.5049 GB, free: 0.6758 MB / 410.7 MB " [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: 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.001007/0.001007, allocations: 75.89 kB / 0.7195 GB, free: 14.36 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.447/0.448, allocations: 102 MB / 0.8191 GB, free: 25.2 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.InverseXRegularized): time 0.001273/0.4492, allocations: 0.6306 MB / 0.8197 GB, free: 24.82 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.001273/0.4505, allocations: 1.533 MB / 0.8212 GB, free: 23.71 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.731e-05/0.4505, allocations: 0.5312 kB / 0.8212 GB, free: 23.71 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 1.332e-05/0.4506, allocations: 0 / 0.8212 GB, free: 23.71 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 7.421e-05/0.4506, allocations: 7.656 kB / 0.8213 GB, free: 23.7 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003319/0.451, allocations: 123.7 kB / 0.8214 GB, free: 23.65 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 6.737e-05/0.451, allocations: 29.47 kB / 0.8214 GB, free: 23.64 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 4.069e-05/0.4511, allocations: 6.359 kB / 0.8214 GB, free: 23.64 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 3.774e-05/0.4511, allocations: 16.89 kB / 0.8214 GB, free: 23.63 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 6.398e-05/0.4512, allocations: 20.39 kB / 0.8214 GB, free: 23.62 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 1.143e-05/0.4512, allocations: 2.938 kB / 0.8214 GB, free: 23.62 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003638/0.4515, allocations: 313.4 kB / 0.8217 GB, free: 23.54 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 1.48e-05/0.4516, allocations: 8.75 kB / 0.8217 GB, free: 23.53 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 2.62e-05/0.4516, allocations: 19.75 kB / 0.8218 GB, free: 23.52 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0002468/0.4518, allocations: 188.4 kB / 0.8219 GB, free: 23.47 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 4.518e-06/0.4518, allocations: 0.5625 kB / 0.8219 GB, free: 23.47 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.794e-06/0.4518, allocations: 2.281 kB / 0.822 GB, free: 23.47 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 6.342e-06/0.4518, allocations: 0.9062 kB / 0.822 GB, free: 23.47 MB / 0.6355 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.0003373/0.4522, allocations: 305.2 kB / 0.8222 GB, free: 23.17 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.318e-05/0.4522, allocations: 10.97 kB / 0.8223 GB, free: 23.17 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002191/0.4524, allocations: 62.34 kB / 0.8223 GB, free: 23.17 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.921e-05/0.4525, allocations: 118.7 kB / 0.8224 GB, free: 23.04 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.431e-05/0.4525, allocations: 6.438 kB / 0.8224 GB, free: 23.03 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.184e-05/0.4525, allocations: 3.344 kB / 0.8224 GB, free: 23.03 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000157/0.4527, allocations: 75.95 kB / 0.8225 GB, free: 22.99 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.034e-05/0.4527, allocations: 5.016 kB / 0.8225 GB, free: 22.99 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.047e-06/0.4527, allocations: 0 / 0.8225 GB, free: 22.99 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.408e-06/0.4527, allocations: 1.219 kB / 0.8225 GB, free: 22.99 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001781/0.4529, allocations: 78.39 kB / 0.8226 GB, free: 22.98 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001142/0.453, allocations: 145.8 kB / 0.8227 GB, free: 22.81 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000267/0.4533, allocations: 122.3 kB / 0.8228 GB, free: 22.78 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.976e-05/0.4534, allocations: 41.11 kB / 0.8229 GB, free: 22.77 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.432e-05/0.4534, allocations: 5.062 kB / 0.8229 GB, free: 22.76 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.428e-05/0.4534, allocations: 40.83 kB / 0.8229 GB, free: 22.71 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=5): time 1.372e-06/0.4534, allocations: 0 / 0.8229 GB, free: 22.71 MB / 0.6355 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.002117/0.4555, allocations: 0.7874 MB / 0.8237 GB, free: 22.58 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.454e-05/0.4555, allocations: 53.08 kB / 0.8237 GB, free: 22.52 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.881e-05/0.4556, allocations: 113.9 kB / 0.8239 GB, free: 22.41 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 7.855e-06/0.4556, allocations: 30.31 kB / 0.8239 GB, free: 22.38 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 1.686e-05/0.4556, allocations: 86.61 kB / 0.824 GB, free: 22.29 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.977e-05/0.4557, allocations: 29.89 kB / 0.824 GB, free: 22.27 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.839e-05/0.4557, allocations: 26.27 kB / 0.824 GB, free: 22.25 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 2.823e-05/0.4557, allocations: 314.3 kB / 0.8243 GB, free: 21.93 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002119/0.4559, allocations: 102.7 kB / 0.8244 GB, free: 21.91 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002022/0.4561, allocations: 100.5 kB / 0.8245 GB, free: 21.9 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003947/0.4565, allocations: 189.5 kB / 0.8247 GB, free: 21.86 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.132e-06/0.4565, allocations: 0 / 0.8247 GB, free: 21.86 MB / 0.6355 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0004387/0.457, allocations: 248.5 kB / 0.8249 GB, free: 21.79 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.247e-05/0.457, allocations: 5.688 kB / 0.8249 GB, free: 21.79 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.288e-06/0.457, allocations: 0.5625 kB / 0.8249 GB, free: 21.79 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.249e-05/0.457, allocations: 1.719 kB / 0.8249 GB, free: 21.79 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000159/0.4572, allocations: 54.25 kB / 0.825 GB, free: 21.79 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.382e-06/0.4572, allocations: 1.281 kB / 0.825 GB, free: 21.79 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001073/0.4573, allocations: 32.28 kB / 0.825 GB, free: 21.79 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.441e-05/0.4573, allocations: 4.656 kB / 0.825 GB, free: 21.79 MB / 0.6355 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.713e-05/0.4574, allocations: 126.7 kB / 0.8251 GB, free: 21.66 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.33e-05/0.4574, allocations: 6.547 kB / 0.8252 GB, free: 21.65 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.076e-05/0.4574, allocations: 18.86 kB / 0.8252 GB, free: 21.64 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.657e-06/0.4574, allocations: 1.312 kB / 0.8252 GB, free: 21.64 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.071e-06/0.4574, allocations: 4.641 kB / 0.8252 GB, free: 21.63 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.088e-06/0.4574, allocations: 0.9375 kB / 0.8252 GB, free: 21.63 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001059/0.4585, allocations: 0.5716 MB / 0.8257 GB, free: 21.29 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.074e-06/0.4585, allocations: 0 / 0.8257 GB, free: 21.29 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001313/0.4586, allocations: 58.75 kB / 0.8258 GB, free: 21.29 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.969e-06/0.4586, allocations: 1.312 kB / 0.8258 GB, free: 21.29 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.256e-05/0.4586, allocations: 4.703 kB / 0.8258 GB, free: 21.29 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.236e-06/0.4586, allocations: 2.25 kB / 0.8258 GB, free: 21.29 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/0.4586, allocations: 1.406 kB / 0.8258 GB, free: 21.29 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004973/0.4591, allocations: 346.4 kB / 0.8261 GB, free: 21.1 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 1.259e-05/0.4592, allocations: 7.719 kB / 0.8261 GB, free: 21.09 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.736e-05/0.4592, allocations: 7.047 kB / 0.8261 GB, free: 21.09 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001251/0.4593, allocations: 39.59 kB / 0.8262 GB, free: 21.08 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.149e-05/0.4593, allocations: 13.28 kB / 0.8262 GB, free: 21.08 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.121e-05/0.4594, allocations: 5.406 kB / 0.8262 GB, free: 21.08 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 3.261e-05/0.4594, allocations: 94.86 kB / 0.8263 GB, free: 21 MB / 0.6355 GB Notification: Performance of sort global known variables: time 6e-08/0.4594, allocations: 0 / 0.8263 GB, free: 21 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0002141/0.4596, allocations: 40.95 kB / 0.8263 GB, free: 20.98 MB / 0.6355 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.0001726/0.4598, allocations: 123.7 kB / 0.8264 GB, free: 20.89 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0004986/0.4603, allocations: 208.3 kB / 0.8266 GB, free: 20.86 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.4603, allocations: 1.375 kB / 0.8266 GB, free: 20.86 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0002264/0.4605, allocations: 110.7 kB / 0.8268 GB, free: 20.84 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001618/0.4607, allocations: 8.562 kB / 0.8268 GB, free: 20.83 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008096/0.4615, allocations: 429.8 kB / 0.8272 GB, free: 20.63 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.408e-05/0.4616, allocations: 0.6856 MB / 0.8278 GB, free: 19.94 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.656e-05/0.4616, allocations: 20.56 kB / 0.8279 GB, free: 19.93 MB / 0.6355 GB Notification: Performance of SimCode: time 5.81e-07/0.4616, allocations: 4 kB / 0.8279 GB, free: 19.93 MB / 0.6355 GB Notification: Performance of Templates: time 0.002532/0.4641, allocations: 1.435 MB / 0.8293 GB, free: 19.82 MB / 0.6355 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.55185651499778] Failed to read output from testmodel.py, exit status != 0: 0.47008371679112315 0.47809645799999995 0.024510018 Calling exit ...