Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Math.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.001371/0.001371, allocations: 77.39 kB / 19.75 MB, free: 2.055 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.001503/0.001503, allocations: 157.4 kB / 23 MB, free: 4.949 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.458/1.458, allocations: 177.2 MB / 203.4 MB, free: 9.277 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.8122/0.8122, allocations: 101.3 MB / 361.1 MB, free: 10.11 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.Examples.InverseXRegularized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Examples.InverseXRegularized") translateModel(IDEAS.Utilities.Math.Examples.InverseXRegularized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.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.002155/0.002155, allocations: 69 kB / 0.5356 GB, free: 5.5 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.1809/0.1831, allocations: 85.88 MB / 0.6195 GB, free: 1.844 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.InverseXRegularized): time 0.003347/0.1864, allocations: 1.458 MB / 0.6209 GB, free: 384 kB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.001634/0.1881, allocations: 0.7564 MB / 0.6217 GB, free: 15.61 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.263e-05/0.1881, allocations: 0 / 0.6217 GB, free: 15.61 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 3.853e-05/0.1882, allocations: 3.938 kB / 0.6217 GB, free: 15.61 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 4.626e-05/0.1882, allocations: 7.875 kB / 0.6217 GB, free: 15.6 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005901/0.1888, allocations: 138.4 kB / 0.6218 GB, free: 15.46 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 8.796e-05/0.1889, allocations: 35.91 kB / 0.6218 GB, free: 15.43 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001071/0.189, allocations: 3.984 kB / 0.6218 GB, free: 15.43 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 7.035e-05/0.1891, allocations: 19.98 kB / 0.6219 GB, free: 15.41 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 6.379e-05/0.1891, allocations: 19.92 kB / 0.6219 GB, free: 15.39 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.843e-05/0.1891, allocations: 4 kB / 0.6219 GB, free: 15.38 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004626/0.1896, allocations: 251.5 kB / 0.6221 GB, free: 15.14 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 3.482e-05/0.1896, allocations: 11.98 kB / 0.6221 GB, free: 15.12 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 2.916e-05/0.1897, allocations: 11.94 kB / 0.6221 GB, free: 15.11 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0004061/0.1901, allocations: 187.5 kB / 0.6223 GB, free: 14.93 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/0.1901, allocations: 0 / 0.6223 GB, free: 14.93 MB / 0.5294 GB Notification: Performance of FrontEnd: time 2.244e-06/0.1901, allocations: 0 / 0.6223 GB, free: 14.93 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 6.302e-06/0.1901, allocations: 0 / 0.6223 GB, free: 14.93 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0006299/0.1907, allocations: 301.9 kB / 0.6226 GB, free: 14.61 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.557e-05/0.1908, allocations: 8.031 kB / 0.6226 GB, free: 14.6 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005287/0.1913, allocations: 72.8 kB / 0.6227 GB, free: 14.53 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001324/0.1914, allocations: 106.5 kB / 0.6228 GB, free: 14.4 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.777e-05/0.1915, allocations: 4.375 kB / 0.6228 GB, free: 14.39 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.07e-05/0.1915, allocations: 4.375 kB / 0.6228 GB, free: 14.39 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003538/0.1918, allocations: 85.94 kB / 0.6229 GB, free: 14.3 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.061e-05/0.1918, allocations: 0 / 0.6229 GB, free: 14.3 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.269e-05/0.1918, allocations: 0 / 0.6229 GB, free: 14.3 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.392e-06/0.1919, allocations: 7.938 kB / 0.6229 GB, free: 14.29 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004428/0.1923, allocations: 99.83 kB / 0.623 GB, free: 14.2 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005807/0.1929, allocations: 232.6 kB / 0.6232 GB, free: 13.94 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004253/0.1933, allocations: 102.4 kB / 0.6233 GB, free: 13.83 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002213/0.1935, allocations: 44.88 kB / 0.6233 GB, free: 13.78 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 2.045e-05/0.1935, allocations: 0 / 0.6233 GB, free: 13.78 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.353e-05/0.1936, allocations: 42.5 kB / 0.6234 GB, free: 13.73 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=2): time 1.062e-06/0.1936, allocations: 0 / 0.6234 GB, free: 13.73 MB / 0.5294 GB Notification: Performance of matching and sorting (n=2): time 0.0008069/0.1944, allocations: 169.5 kB / 0.6235 GB, free: 13.56 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.432e-05/0.1944, allocations: 51.41 kB / 0.6236 GB, free: 13.5 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001036/0.1945, allocations: 105.8 kB / 0.6237 GB, free: 13.38 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.275e-05/0.1946, allocations: 25.7 kB / 0.6237 GB, free: 13.35 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 5.286e-05/0.1946, allocations: 80.27 kB / 0.6238 GB, free: 13.27 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 2.361e-05/0.1946, allocations: 11.95 kB / 0.6238 GB, free: 13.26 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.737e-05/0.1947, allocations: 13.72 kB / 0.6238 GB, free: 13.24 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001513/0.1948, allocations: 314.8 kB / 0.6241 GB, free: 12.92 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002308/0.1951, allocations: 47.95 kB / 0.6242 GB, free: 12.88 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002093/0.1953, allocations: 43.95 kB / 0.6242 GB, free: 12.83 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004057/0.1957, allocations: 96.77 kB / 0.6243 GB, free: 12.73 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.1957, allocations: 0 / 0.6243 GB, free: 12.73 MB / 0.5294 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0004794/0.1962, allocations: 121.5 kB / 0.6244 GB, free: 12.61 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.975e-05/0.1962, allocations: 8 kB / 0.6244 GB, free: 12.6 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.919e-06/0.1962, allocations: 0 / 0.6244 GB, free: 12.6 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.476e-05/0.1962, allocations: 0 / 0.6244 GB, free: 12.6 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001736/0.1964, allocations: 24 kB / 0.6244 GB, free: 12.58 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.051e-06/0.1964, allocations: 0 / 0.6244 GB, free: 12.58 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001209/0.1965, allocations: 19.92 kB / 0.6245 GB, free: 12.56 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.224e-05/0.1965, allocations: 4 kB / 0.6245 GB, free: 12.55 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 (2): * Single equations (assignments): 2 * 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.0001085/0.1966, allocations: 117.8 kB / 0.6246 GB, free: 12.43 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.031e-05/0.1967, allocations: 3.953 kB / 0.6246 GB, free: 12.43 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.845e-05/0.1967, allocations: 7.312 kB / 0.6246 GB, free: 12.42 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.844e-06/0.1967, allocations: 4 kB / 0.6246 GB, free: 12.42 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.1967, allocations: 0 / 0.6246 GB, free: 12.42 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.846e-06/0.1967, allocations: 7.875 kB / 0.6246 GB, free: 12.41 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001584/0.1968, allocations: 113.3 kB / 0.6247 GB, free: 12.27 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.256e-06/0.1968, allocations: 3.938 kB / 0.6247 GB, free: 12.27 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001383/0.197, allocations: 23.91 kB / 0.6247 GB, free: 12.24 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.434e-06/0.197, allocations: 0 / 0.6247 GB, free: 12.24 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.578e-05/0.197, allocations: 8 kB / 0.6247 GB, free: 12.23 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.562e-06/0.197, allocations: 0 / 0.6247 GB, free: 12.23 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.452e-06/0.197, allocations: 256 / 0.6247 GB, free: 12.23 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000552/0.1976, allocations: 215.5 kB / 0.625 GB, free: 12.01 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 1.78e-05/0.1976, allocations: 3.938 kB / 0.625 GB, free: 12 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.85e-05/0.1976, allocations: 8 kB / 0.625 GB, free: 12 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001537/0.1978, allocations: 15.97 kB / 0.625 GB, free: 11.98 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.696e-05/0.1978, allocations: 7.984 kB / 0.625 GB, free: 11.97 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.415e-06/0.1978, allocations: 3.984 kB / 0.625 GB, free: 11.97 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 5.511e-05/0.1979, allocations: 87.31 kB / 0.6251 GB, free: 11.88 MB / 0.5294 GB Notification: Performance of sort global known variables: time 9e-08/0.1979, allocations: 0 / 0.6251 GB, free: 11.88 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0002462/0.1981, allocations: 12 kB / 0.6251 GB, free: 11.87 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (2): * Single equations (assignments): 2 * 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.0001777/0.1983, allocations: 111.1 kB / 0.6252 GB, free: 11.75 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0005075/0.1988, allocations: 95.91 kB / 0.6253 GB, free: 11.66 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.993e-06/0.1988, allocations: 0 / 0.6253 GB, free: 11.66 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0002291/0.199, allocations: 52 kB / 0.6253 GB, free: 11.61 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003068/0.1993, allocations: 3.938 kB / 0.6253 GB, free: 11.6 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006185/0.1999, allocations: 165.5 kB / 0.6255 GB, free: 11.41 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.246e-05/0.2, allocations: 63.34 kB / 0.6256 GB, free: 11.33 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 6.44e-05/0.2001, allocations: 11.94 kB / 0.6256 GB, free: 11.32 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.447e-05/0.2001, allocations: 12.5 kB / 0.6256 GB, free: 11.31 MB / 0.5294 GB Notification: Performance of SimCode: time 5.71e-07/0.2001, allocations: 0 / 0.6256 GB, free: 11.31 MB / 0.5294 GB Notification: Performance of Templates: time 0.003761/0.2039, allocations: 0.8642 MB / 0.6264 GB, free: 10.46 MB / 0.5294 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Utilities.Math.Examples.InverseXRegularized.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Utilities.Math.Examples.InverseXRegularized.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Examples.InverseXRegularized.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Examples.InverseXRegularized.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Examples.InverseXRegularized.sim & ./IDEAS_IDEAS.Utilities.Math.Examples.InverseXRegularized -abortSlowSimulation -alarm=480 -s gbode -gbnls=internal -gberr=embedded -gbm=esdirk4 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Math.Examples.InverseXRegularized.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.3700269549153745] Failed to read output from testmodel.py, exit status != 0: 0.21235667308792472 0.229493876 0.036136465 Calling exit ...