Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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.0008148/0.0008148, allocations: 80.48 kB / 19.93 MB, free: 4.629 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.0008824/0.0008824, allocations: 177.9 kB / 23.21 MB, free: 1.348 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.8615/0.8615, allocations: 177.1 MB / 203.5 MB, free: 5.672 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.7093/0.7093, allocations: 154.5 MB / 414.5 MB, free: 0.8477 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.Examples.InverseXRegularized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Examples.InverseXRegularized") translateModel(IDEAS.Utilities.Math.Examples.InverseXRegularized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Examples.InverseXRegularized") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.242e-06/1.242e-06, allocations: 0 / 0.6193 GB, free: 13.26 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.409e-05/1.533e-05, allocations: 2.281 kB / 0.6193 GB, free: 13.26 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.InverseXRegularized): time 0.00159/0.001605, allocations: 1.457 MB / 0.6207 GB, free: 11.79 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.0008254/0.00243, allocations: 0.7555 MB / 0.6214 GB, free: 11.03 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.236e-05/0.002463, allocations: 4 kB / 0.6214 GB, free: 11.02 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 2.548e-05/0.002488, allocations: 3.938 kB / 0.6215 GB, free: 11.02 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 3.949e-05/0.002528, allocations: 3.984 kB / 0.6215 GB, free: 11.02 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003505/0.002878, allocations: 135.4 kB / 0.6216 GB, free: 10.88 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 5.857e-05/0.002937, allocations: 31.91 kB / 0.6216 GB, free: 10.85 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 7.841e-05/0.003015, allocations: 8 kB / 0.6216 GB, free: 10.84 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 4.764e-05/0.003063, allocations: 19.92 kB / 0.6216 GB, free: 10.82 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 4.038e-05/0.003103, allocations: 11.98 kB / 0.6217 GB, free: 10.81 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 1.307e-05/0.003116, allocations: 4 kB / 0.6217 GB, free: 10.81 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002454/0.003362, allocations: 259.4 kB / 0.6219 GB, free: 10.55 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 1.299e-05/0.003375, allocations: 3.984 kB / 0.6219 GB, free: 10.55 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 1.849e-05/0.003393, allocations: 11.98 kB / 0.6219 GB, free: 10.54 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0002272/0.00362, allocations: 211.4 kB / 0.6221 GB, free: 10.33 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 1.913e-06/0.003622, allocations: 4 kB / 0.6221 GB, free: 10.33 MB / 0.5886 GB Notification: Performance of FrontEnd: time 7.62e-07/0.003623, allocations: 0 / 0.6221 GB, free: 10.33 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 3.526e-06/0.003626, allocations: 3.938 kB / 0.6221 GB, free: 10.32 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003479/0.003974, allocations: 297.9 kB / 0.6224 GB, free: 10 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.167e-05/0.004006, allocations: 17.41 kB / 0.6224 GB, free: 9.988 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002416/0.004248, allocations: 64.84 kB / 0.6225 GB, free: 9.926 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.386e-05/0.004311, allocations: 105.8 kB / 0.6226 GB, free: 9.797 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.79e-05/0.004329, allocations: 384 / 0.6226 GB, free: 9.797 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.357e-05/0.004343, allocations: 12.36 kB / 0.6226 GB, free: 9.785 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001728/0.004516, allocations: 82.19 kB / 0.6227 GB, free: 9.699 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.881e-06/0.004522, allocations: 192 / 0.6227 GB, free: 9.699 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.749e-06/0.004531, allocations: 384 / 0.6227 GB, free: 9.699 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.919e-06/0.004536, allocations: 3.938 kB / 0.6227 GB, free: 9.695 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002005/0.004737, allocations: 95.84 kB / 0.6228 GB, free: 9.602 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003066/0.005043, allocations: 236.5 kB / 0.623 GB, free: 9.34 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001848/0.005228, allocations: 94.5 kB / 0.6231 GB, free: 9.238 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001001/0.005328, allocations: 52.86 kB / 0.6231 GB, free: 9.184 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 1.188e-05/0.00534, allocations: 0 / 0.6231 GB, free: 9.184 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.536e-05/0.005355, allocations: 34.5 kB / 0.6232 GB, free: 9.141 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=2): time 5.91e-07/0.005356, allocations: 0 / 0.6232 GB, free: 9.141 MB / 0.5886 GB Notification: Performance of matching and sorting (n=2): time 0.0003788/0.005735, allocations: 169.6 kB / 0.6233 GB, free: 8.969 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.715e-05/0.005762, allocations: 55.39 kB / 0.6234 GB, free: 8.902 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.998e-05/0.005812, allocations: 101.9 kB / 0.6235 GB, free: 8.793 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 9.748e-06/0.005822, allocations: 25.7 kB / 0.6235 GB, free: 8.762 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 3.11e-05/0.005853, allocations: 84.14 kB / 0.6236 GB, free: 8.676 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 1.904e-05/0.005872, allocations: 11.94 kB / 0.6236 GB, free: 8.664 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.737e-05/0.005899, allocations: 13.75 kB / 0.6236 GB, free: 8.645 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 6.639e-05/0.005966, allocations: 314.8 kB / 0.6239 GB, free: 8.328 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.818e-05/0.006064, allocations: 43.95 kB / 0.624 GB, free: 8.285 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.336e-05/0.006157, allocations: 51.94 kB / 0.624 GB, free: 8.234 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001813/0.006338, allocations: 96.7 kB / 0.6241 GB, free: 8.137 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.482e-06/0.00634, allocations: 0 / 0.6241 GB, free: 8.137 MB / 0.5886 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002166/0.006556, allocations: 117.6 kB / 0.6242 GB, free: 8.016 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.228e-05/0.006569, allocations: 10.59 kB / 0.6242 GB, free: 8.008 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.687e-06/0.006572, allocations: 0 / 0.6242 GB, free: 8.008 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.729e-06/0.006582, allocations: 0 / 0.6242 GB, free: 8.008 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.399e-05/0.006666, allocations: 28 kB / 0.6243 GB, free: 7.98 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.298e-06/0.00667, allocations: 0 / 0.6243 GB, free: 7.98 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.009e-05/0.006721, allocations: 23.97 kB / 0.6243 GB, free: 7.957 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.25e-06/0.006726, allocations: 0 / 0.6243 GB, free: 7.957 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 (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.0001024/0.006828, allocations: 106.8 kB / 0.6244 GB, free: 7.844 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.676e-05/0.006845, allocations: 11.89 kB / 0.6244 GB, free: 7.832 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.651e-05/0.006872, allocations: 11.55 kB / 0.6244 GB, free: 7.816 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.854e-06/0.006873, allocations: 0 / 0.6244 GB, free: 7.816 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.259e-06/0.006879, allocations: 8 kB / 0.6244 GB, free: 7.809 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.215e-06/0.006881, allocations: 0 / 0.6244 GB, free: 7.809 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.211e-05/0.006973, allocations: 121.2 kB / 0.6245 GB, free: 7.66 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.71e-07/0.006974, allocations: 0 / 0.6245 GB, free: 7.66 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.738e-05/0.007031, allocations: 27.91 kB / 0.6245 GB, free: 7.633 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.002e-06/0.007032, allocations: 0 / 0.6245 GB, free: 7.633 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.835e-06/0.00704, allocations: 3.938 kB / 0.6246 GB, free: 7.629 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.21e-07/0.007041, allocations: 0 / 0.6246 GB, free: 7.629 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.007041, allocations: 0 / 0.6246 GB, free: 7.629 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002457/0.007287, allocations: 223.5 kB / 0.6248 GB, free: 7.395 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 5.501e-06/0.007293, allocations: 3.938 kB / 0.6248 GB, free: 7.391 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.158e-05/0.007304, allocations: 3.938 kB / 0.6248 GB, free: 7.387 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.82e-05/0.007372, allocations: 19.97 kB / 0.6248 GB, free: 7.367 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.875e-05/0.007401, allocations: 0 / 0.6248 GB, free: 7.367 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.887e-06/0.007405, allocations: 0 / 0.6248 GB, free: 7.367 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 2.603e-05/0.007431, allocations: 87.27 kB / 0.6249 GB, free: 7.281 MB / 0.5886 GB Notification: Performance of sort global known variables: time 6e-08/0.007431, allocations: 4 kB / 0.6249 GB, free: 7.277 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0001587/0.00759, allocations: 8 kB / 0.6249 GB, free: 7.27 MB / 0.5886 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 9.704e-05/0.007687, allocations: 107.2 kB / 0.625 GB, free: 7.156 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0002301/0.007917, allocations: 103.8 kB / 0.6251 GB, free: 7.055 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.202e-06/0.007918, allocations: 3.938 kB / 0.6251 GB, free: 7.051 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 9.786e-05/0.008016, allocations: 43.95 kB / 0.6251 GB, free: 7.008 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001777/0.008194, allocations: 4.125 kB / 0.6251 GB, free: 7.004 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003326/0.008526, allocations: 190.5 kB / 0.6253 GB, free: 6.785 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.779e-05/0.008564, allocations: 59.34 kB / 0.6254 GB, free: 6.707 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.459e-05/0.008599, allocations: 12.5 kB / 0.6254 GB, free: 6.695 MB / 0.5886 GB Notification: Performance of SimCode: time 3.71e-07/0.008599, allocations: 0 / 0.6254 GB, free: 6.695 MB / 0.5886 GB Notification: Performance of Templates: time 0.001598/0.0102, allocations: 0.9184 MB / 0.6263 GB, free: 5.785 MB / 0.5886 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Utilities.Math.Examples.InverseXRegularized.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Utilities.Math.Examples.InverseXRegularized.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Examples.InverseXRegularized.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Examples.InverseXRegularized.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Examples.InverseXRegularized.sim & ./IDEAS_dev_IDEAS.Utilities.Math.Examples.InverseXRegularized -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Math.Examples.InverseXRegularized.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.9365603951737285] Failed to read output from testmodel.py, exit status != 0: 0.014532464556396008 0.022456327 0.01710163 Calling exit ...