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.001295/0.001295, allocations: 79.73 kB / 19.76 MB, free: 1.871 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.001411/0.001411, allocations: 156 kB / 23.01 MB, free: 4.605 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.396/1.396, allocations: 177.2 MB / 203.4 MB, free: 8.961 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.794/0.794, allocations: 101.3 MB / 361.1 MB, free: 9.531 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.002051/0.002051, allocations: 65.64 kB / 0.5356 GB, free: 5.234 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.1806/0.1827, allocations: 85.89 MB / 0.6195 GB, free: 1.566 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.InverseXRegularized): time 0.004082/0.1868, allocations: 1.455 MB / 0.6209 GB, free: 104 kB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.002004/0.1888, allocations: 0.7563 MB / 0.6216 GB, free: 15.34 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.917e-05/0.1888, allocations: 4 kB / 0.6217 GB, free: 15.33 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 2.723e-05/0.1888, allocations: 7.875 kB / 0.6217 GB, free: 15.32 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 5.236e-05/0.1889, allocations: 3.938 kB / 0.6217 GB, free: 15.32 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006064/0.1895, allocations: 131.5 kB / 0.6218 GB, free: 15.19 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 9.704e-05/0.1896, allocations: 31.91 kB / 0.6218 GB, free: 15.16 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 8.084e-05/0.1897, allocations: 4 kB / 0.6218 GB, free: 15.16 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 5.54e-05/0.1897, allocations: 19.91 kB / 0.6218 GB, free: 15.14 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 7.208e-05/0.1898, allocations: 19.92 kB / 0.6219 GB, free: 15.12 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.82e-05/0.1898, allocations: 4 kB / 0.6219 GB, free: 15.11 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006305/0.1904, allocations: 247.5 kB / 0.6221 GB, free: 14.87 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 2.513e-05/0.1905, allocations: 15.97 kB / 0.6221 GB, free: 14.86 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 2.877e-05/0.1905, allocations: 7.938 kB / 0.6221 GB, free: 14.85 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0004456/0.1909, allocations: 191.4 kB / 0.6223 GB, free: 14.66 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 7.143e-06/0.1909, allocations: 4 kB / 0.6223 GB, free: 14.66 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.282e-06/0.191, allocations: 0 / 0.6223 GB, free: 14.66 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 4.308e-06/0.191, allocations: 0 / 0.6223 GB, free: 14.66 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.0007115/0.1917, allocations: 300.5 kB / 0.6226 GB, free: 14.34 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.053e-05/0.1917, allocations: 8.031 kB / 0.6226 GB, free: 14.33 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007962/0.1925, allocations: 72.8 kB / 0.6227 GB, free: 14.26 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001607/0.1927, allocations: 110.5 kB / 0.6228 GB, free: 14.12 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.866e-05/0.1927, allocations: 8.375 kB / 0.6228 GB, free: 14.12 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.625e-05/0.1927, allocations: 4.359 kB / 0.6228 GB, free: 14.11 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005036/0.1932, allocations: 81.94 kB / 0.6229 GB, free: 14.03 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.129e-05/0.1932, allocations: 0 / 0.6229 GB, free: 14.03 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.784e-05/0.1932, allocations: 7.938 kB / 0.6229 GB, free: 14.02 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.669e-06/0.1932, allocations: 0 / 0.6229 GB, free: 14.02 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008052/0.1941, allocations: 99.83 kB / 0.623 GB, free: 13.92 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007693/0.1948, allocations: 228.6 kB / 0.6232 GB, free: 13.67 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007098/0.1955, allocations: 102.4 kB / 0.6233 GB, free: 13.56 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004095/0.1959, allocations: 44.88 kB / 0.6233 GB, free: 13.51 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 1.922e-05/0.196, allocations: 8 kB / 0.6233 GB, free: 13.5 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.226e-05/0.196, allocations: 30.56 kB / 0.6234 GB, free: 13.46 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=2): time 1.833e-06/0.196, allocations: 0 / 0.6234 GB, free: 13.46 MB / 0.5294 GB Notification: Performance of matching and sorting (n=2): time 0.00134/0.1973, allocations: 173.4 kB / 0.6235 GB, free: 13.29 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.103e-05/0.1974, allocations: 51.41 kB / 0.6236 GB, free: 13.23 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001186/0.1975, allocations: 101.9 kB / 0.6237 GB, free: 13.12 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 3.174e-05/0.1976, allocations: 29.83 kB / 0.6237 GB, free: 13.08 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 7.683e-05/0.1976, allocations: 88.12 kB / 0.6238 GB, free: 12.99 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 3.187e-05/0.1977, allocations: 11.89 kB / 0.6238 GB, free: 12.98 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.582e-05/0.1977, allocations: 9.719 kB / 0.6238 GB, free: 12.96 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0002135/0.1979, allocations: 318.8 kB / 0.6241 GB, free: 12.64 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003998/0.1983, allocations: 43.94 kB / 0.6242 GB, free: 12.6 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003891/0.1987, allocations: 47.95 kB / 0.6242 GB, free: 12.55 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007444/0.1995, allocations: 92.77 kB / 0.6243 GB, free: 12.46 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/0.1995, allocations: 0 / 0.6243 GB, free: 12.46 MB / 0.5294 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0007883/0.2003, allocations: 125.5 kB / 0.6244 GB, free: 12.33 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.054e-05/0.2003, allocations: 7.984 kB / 0.6244 GB, free: 12.32 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.478e-06/0.2003, allocations: 0 / 0.6244 GB, free: 12.32 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.394e-05/0.2003, allocations: 3.969 kB / 0.6244 GB, free: 12.32 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002666/0.2006, allocations: 23.97 kB / 0.6244 GB, free: 12.3 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.25e-06/0.2006, allocations: 4 kB / 0.6245 GB, free: 12.29 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002116/0.2008, allocations: 11.98 kB / 0.6245 GB, free: 12.28 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.75e-05/0.2008, allocations: 4 kB / 0.6245 GB, free: 12.28 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.0001207/0.2009, allocations: 109.8 kB / 0.6246 GB, free: 12.16 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.726e-05/0.201, allocations: 11.94 kB / 0.6246 GB, free: 12.15 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.386e-05/0.201, allocations: 11.31 kB / 0.6246 GB, free: 12.14 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.355e-06/0.201, allocations: 0 / 0.6246 GB, free: 12.14 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.647e-06/0.201, allocations: 3.938 kB / 0.6246 GB, free: 12.14 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.515e-06/0.201, allocations: 0 / 0.6246 GB, free: 12.14 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002562/0.2013, allocations: 109.3 kB / 0.6247 GB, free: 12 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.601e-06/0.2013, allocations: 3.938 kB / 0.6247 GB, free: 12 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002548/0.2016, allocations: 23.91 kB / 0.6247 GB, free: 11.97 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.076e-06/0.2016, allocations: 8.25 kB / 0.6247 GB, free: 11.96 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.215e-05/0.2016, allocations: 0 / 0.6247 GB, free: 11.96 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.53e-06/0.2016, allocations: 4 kB / 0.6247 GB, free: 11.96 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.492e-06/0.2016, allocations: 0 / 0.6247 GB, free: 11.96 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009432/0.2025, allocations: 215.5 kB / 0.6249 GB, free: 11.73 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 1.998e-05/0.2025, allocations: 7.938 kB / 0.625 GB, free: 11.73 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.176e-05/0.2026, allocations: 0 / 0.625 GB, free: 11.73 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002778/0.2028, allocations: 15.97 kB / 0.625 GB, free: 11.71 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.534e-05/0.2029, allocations: 4 kB / 0.625 GB, free: 11.71 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.42e-05/0.2029, allocations: 8.031 kB / 0.625 GB, free: 11.7 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 7.655e-05/0.203, allocations: 83.27 kB / 0.6251 GB, free: 11.62 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.81e-07/0.203, allocations: 0 / 0.6251 GB, free: 11.62 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0004709/0.2034, allocations: 15.94 kB / 0.6251 GB, free: 11.6 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.0001851/0.2036, allocations: 95.25 kB / 0.6252 GB, free: 11.5 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0008661/0.2045, allocations: 103.8 kB / 0.6253 GB, free: 11.39 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.2045, allocations: 0 / 0.6253 GB, free: 11.39 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0004259/0.2049, allocations: 48.02 kB / 0.6253 GB, free: 11.35 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004636/0.2054, allocations: 15.92 kB / 0.6253 GB, free: 11.33 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008859/0.2063, allocations: 169.5 kB / 0.6255 GB, free: 11.14 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.728e-05/0.2064, allocations: 55.36 kB / 0.6255 GB, free: 11.07 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0001072/0.2065, allocations: 8 kB / 0.6255 GB, free: 11.06 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.231e-05/0.2065, allocations: 16.47 kB / 0.6256 GB, free: 11.04 MB / 0.5294 GB Notification: Performance of SimCode: time 4.31e-07/0.2065, allocations: 4 kB / 0.6256 GB, free: 11.04 MB / 0.5294 GB Notification: Performance of Templates: time 0.005226/0.2117, allocations: 0.8593 MB / 0.6264 GB, free: 10.19 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 ida -lv LOG_STATS > IDEAS_IDEAS.Utilities.Math.Examples.InverseXRegularized.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.082025991054252] Failed to read output from testmodel.py, exit status != 0: 0.22120010806247592 0.24893814800000003 0.052851759000000005 Calling exit ...