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.0008007/0.0008007, allocations: 100.4 kB / 19.7 MB, free: 452 kB / 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.0008447/0.0008447, allocations: 213 kB / 23 MB, free: 2.98 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.8841/0.8841, allocations: 230.6 MB / 256.8 MB, free: 9.625 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.7503/0.7503, allocations: 203.8 MB / 0.5049 GB, free: 10.44 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.0009756/0.0009756, allocations: 72.11 kB / 0.7194 GB, free: 3.48 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4976/0.4986, allocations: 102 MB / 0.8191 GB, free: 1.324 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.InverseXRegularized): time 0.001396/0.4999, allocations: 0.6251 MB / 0.8197 GB, free: 0.9375 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001384/0.5013, allocations: 1.444 MB / 0.8211 GB, free: 15.92 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.23e-05/0.5014, allocations: 0 / 0.8211 GB, free: 15.92 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 2.013e-05/0.5014, allocations: 0 / 0.8211 GB, free: 15.92 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 7.369e-05/0.5015, allocations: 6.375 kB / 0.8211 GB, free: 15.91 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003798/0.5018, allocations: 128.1 kB / 0.8212 GB, free: 15.86 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 6.565e-05/0.5019, allocations: 35.67 kB / 0.8212 GB, free: 15.84 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 4.638e-05/0.502, allocations: 4.031 kB / 0.8213 GB, free: 15.84 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 3.712e-05/0.502, allocations: 15.44 kB / 0.8213 GB, free: 15.83 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 6.539e-05/0.5021, allocations: 18.98 kB / 0.8213 GB, free: 15.82 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.332e-05/0.5021, allocations: 2.844 kB / 0.8213 GB, free: 15.82 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003102/0.5024, allocations: 243.7 kB / 0.8215 GB, free: 15.77 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 2.009e-05/0.5024, allocations: 4.281 kB / 0.8215 GB, free: 15.77 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.683e-05/0.5024, allocations: 21.41 kB / 0.8215 GB, free: 15.75 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0002353/0.5027, allocations: 179 kB / 0.8217 GB, free: 15.71 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.631e-06/0.5027, allocations: 0 / 0.8217 GB, free: 15.71 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.514e-06/0.5027, allocations: 0 / 0.8217 GB, free: 15.71 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 8.005e-06/0.5027, allocations: 4.891 kB / 0.8217 GB, free: 15.71 MB / 0.6198 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.000429/0.5031, allocations: 307.5 kB / 0.822 GB, free: 15.41 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.721e-05/0.5031, allocations: 8.109 kB / 0.822 GB, free: 15.41 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002401/0.5034, allocations: 62.38 kB / 0.8221 GB, free: 15.4 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001105/0.5035, allocations: 121.2 kB / 0.8222 GB, free: 15.27 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.647e-05/0.5035, allocations: 3.656 kB / 0.8222 GB, free: 15.27 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.807e-05/0.5035, allocations: 384 / 0.8222 GB, free: 15.27 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001714/0.5037, allocations: 83.2 kB / 0.8223 GB, free: 15.22 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.888e-06/0.5037, allocations: 0.9062 kB / 0.8223 GB, free: 15.22 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.118e-05/0.5037, allocations: 4 kB / 0.8223 GB, free: 15.21 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.38e-06/0.5037, allocations: 2.156 kB / 0.8223 GB, free: 15.21 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001766/0.5039, allocations: 73.72 kB / 0.8224 GB, free: 15.2 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001335/0.504, allocations: 118.7 kB / 0.8225 GB, free: 15.07 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002953/0.5043, allocations: 125 kB / 0.8226 GB, free: 15.03 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.856e-05/0.5044, allocations: 43.69 kB / 0.8226 GB, free: 15.01 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.711e-05/0.5044, allocations: 1.156 kB / 0.8226 GB, free: 15.01 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.274e-05/0.5045, allocations: 37.47 kB / 0.8227 GB, free: 14.97 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=5): time 1.823e-06/0.5045, allocations: 0 / 0.8227 GB, free: 14.97 MB / 0.6198 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.002253/0.5067, allocations: 0.7876 MB / 0.8234 GB, free: 14.83 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.6e-05/0.5068, allocations: 53.59 kB / 0.8235 GB, free: 14.77 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.537e-05/0.5068, allocations: 118.5 kB / 0.8236 GB, free: 14.66 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.412e-05/0.5069, allocations: 25.7 kB / 0.8236 GB, free: 14.63 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 3.345e-05/0.5069, allocations: 87.47 kB / 0.8237 GB, free: 14.54 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.931e-05/0.5069, allocations: 29.72 kB / 0.8237 GB, free: 14.52 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.636e-05/0.507, allocations: 26.16 kB / 0.8238 GB, free: 14.5 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 8.048e-05/0.5071, allocations: 315.1 kB / 0.8241 GB, free: 14.19 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002446/0.5073, allocations: 103.6 kB / 0.8242 GB, free: 14.17 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002177/0.5075, allocations: 97.98 kB / 0.8243 GB, free: 14.15 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004292/0.5079, allocations: 191 kB / 0.8244 GB, free: 14.12 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.71e-07/0.5079, allocations: 0 / 0.8244 GB, free: 14.12 MB / 0.6198 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0005034/0.5085, allocations: 245.9 kB / 0.8247 GB, free: 14.05 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.727e-05/0.5085, allocations: 9.188 kB / 0.8247 GB, free: 14.04 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.532e-06/0.5085, allocations: 0 / 0.8247 GB, free: 14.04 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.554e-05/0.5085, allocations: 0.7969 kB / 0.8247 GB, free: 14.04 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000177/0.5087, allocations: 55.02 kB / 0.8247 GB, free: 14.04 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.792e-06/0.5087, allocations: 0.7031 kB / 0.8247 GB, free: 14.04 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001087/0.5088, allocations: 37.27 kB / 0.8248 GB, free: 14.04 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.158e-05/0.5088, allocations: 4.875 kB / 0.8248 GB, free: 14.04 MB / 0.6198 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.958e-05/0.5089, allocations: 117.2 kB / 0.8249 GB, free: 13.91 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.561e-05/0.5089, allocations: 10.98 kB / 0.8249 GB, free: 13.91 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.041e-05/0.5089, allocations: 23.56 kB / 0.8249 GB, free: 13.89 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.885e-06/0.5089, allocations: 1.375 kB / 0.8249 GB, free: 13.89 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.913e-06/0.5089, allocations: 0 / 0.8249 GB, free: 13.89 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.797e-06/0.5089, allocations: 0.6094 kB / 0.8249 GB, free: 13.89 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009949/0.5099, allocations: 0.5288 MB / 0.8254 GB, free: 13.59 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.565e-06/0.5099, allocations: 3.938 kB / 0.8254 GB, free: 13.59 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001344/0.5101, allocations: 60.48 kB / 0.8255 GB, free: 13.58 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.306e-06/0.5101, allocations: 0 / 0.8255 GB, free: 13.58 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.468e-05/0.5101, allocations: 8.891 kB / 0.8255 GB, free: 13.57 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.186e-06/0.5101, allocations: 5.531 kB / 0.8255 GB, free: 13.57 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.5101, allocations: 0 / 0.8255 GB, free: 13.57 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005129/0.5106, allocations: 343.8 kB / 0.8258 GB, free: 13.39 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 1.518e-05/0.5106, allocations: 9.188 kB / 0.8258 GB, free: 13.38 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.617e-05/0.5106, allocations: 2.406 kB / 0.8258 GB, free: 13.38 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001193/0.5108, allocations: 36.89 kB / 0.8259 GB, free: 13.38 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.684e-05/0.5108, allocations: 9 kB / 0.8259 GB, free: 13.38 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.074e-05/0.5108, allocations: 9.406 kB / 0.8259 GB, free: 13.38 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 4.157e-05/0.5108, allocations: 94.28 kB / 0.826 GB, free: 13.29 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5e-08/0.5108, allocations: 0 / 0.826 GB, free: 13.29 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002325/0.5111, allocations: 39.69 kB / 0.826 GB, free: 13.29 MB / 0.6198 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.000166/0.5112, allocations: 133.6 kB / 0.8262 GB, free: 13.18 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0005124/0.5118, allocations: 201.1 kB / 0.8263 GB, free: 13.15 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.5118, allocations: 0 / 0.8263 GB, free: 13.15 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0002262/0.512, allocations: 107.7 kB / 0.8265 GB, free: 13.14 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001849/0.5122, allocations: 8.531 kB / 0.8265 GB, free: 13.13 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009049/0.5131, allocations: 427.2 kB / 0.8269 GB, free: 12.94 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.901e-05/0.5131, allocations: 73.05 kB / 0.8269 GB, free: 12.86 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.958e-05/0.5132, allocations: 19.47 kB / 0.827 GB, free: 12.86 MB / 0.6198 GB Notification: Performance of SimCode: time 1.102e-06/0.5132, allocations: 1.375 kB / 0.827 GB, free: 12.86 MB / 0.6198 GB Notification: Performance of Templates: time 0.002871/0.5161, allocations: 1.448 MB / 0.8284 GB, free: 12.75 MB / 0.6198 GB " [Timeout remaining time 659] 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.603146762121469] Failed to read output from testmodel.py, exit status != 0: 0.5221724980510771 0.5321543449999999 0.027436861000000003 Calling exit ...