Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.MatrixGain.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.0007278/0.0007278, allocations: 76.5 kB / 19.93 MB, free: 4.633 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.0007372/0.0007372, allocations: 174.3 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.8483/0.8483, allocations: 177.1 MB / 203.5 MB, free: 5.719 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:686:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:694:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo): time 0.6934/0.6934, allocations: 154.6 MB / 414.5 MB, free: 0.7969 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.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 4.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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.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.Controls.OBC.CDL.Reals.Validation.MatrixGain,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.MatrixGain") translateModel(IDEAS.Controls.OBC.CDL.Reals.Validation.MatrixGain,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.MatrixGain") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.984e-06/1.984e-06, allocations: 0 / 0.6194 GB, free: 13.13 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.248e-05/2.447e-05, allocations: 3.188 kB / 0.6194 GB, free: 13.12 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.MatrixGain): time 0.00119/0.001215, allocations: 0.7449 MB / 0.6201 GB, free: 12.38 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.0007652/0.00198, allocations: 0.8548 MB / 0.621 GB, free: 11.51 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.182e-05/0.002032, allocations: 0 / 0.621 GB, free: 11.51 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 0.0001777/0.002209, allocations: 55.8 kB / 0.621 GB, free: 11.46 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 4.283e-05/0.002252, allocations: 35.83 kB / 0.621 GB, free: 11.42 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 6.966e-05/0.002322, allocations: 19.97 kB / 0.6211 GB, free: 11.4 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.0001031/0.002425, allocations: 95.69 kB / 0.6212 GB, free: 11.31 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001125/0.002538, allocations: 19.95 kB / 0.6212 GB, free: 11.29 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 7.171e-05/0.002609, allocations: 51.89 kB / 0.6212 GB, free: 11.24 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001163/0.002726, allocations: 79.83 kB / 0.6213 GB, free: 11.16 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 2.689e-05/0.002753, allocations: 8 kB / 0.6213 GB, free: 11.15 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 1.074e-05/0.002763, allocations: 8 kB / 0.6213 GB, free: 11.14 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 5.398e-05/0.002817, allocations: 35.91 kB / 0.6213 GB, free: 11.11 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 3.486e-05/0.002852, allocations: 27.91 kB / 0.6214 GB, free: 11.08 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0001328/0.002985, allocations: 139.4 kB / 0.6215 GB, free: 10.95 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 2.084e-06/0.002987, allocations: 0 / 0.6215 GB, free: 10.95 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.162e-06/0.002988, allocations: 4 kB / 0.6215 GB, free: 10.94 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 4.088e-06/0.002992, allocations: 0 / 0.6215 GB, free: 10.94 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0007487/0.003741, allocations: 385.7 kB / 0.6219 GB, free: 10.53 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.423e-05/0.003775, allocations: 8.031 kB / 0.6219 GB, free: 10.52 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.054e-05/0.003806, allocations: 8.891 kB / 0.6219 GB, free: 10.52 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001407/0.003946, allocations: 145.6 kB / 0.622 GB, free: 10.35 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.074e-05/0.003957, allocations: 8.375 kB / 0.622 GB, free: 10.34 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.348e-05/0.003971, allocations: 4.375 kB / 0.622 GB, free: 10.34 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000247/0.004218, allocations: 155.7 kB / 0.6222 GB, free: 10.17 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.995e-06/0.004226, allocations: 192 / 0.6222 GB, free: 10.17 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.779e-06/0.004235, allocations: 384 / 0.6222 GB, free: 10.17 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.721e-06/0.004241, allocations: 4.375 kB / 0.6222 GB, free: 10.17 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002652/0.004506, allocations: 171.8 kB / 0.6224 GB, free: 10 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004677/0.004974, allocations: 444.6 kB / 0.6228 GB, free: 9.531 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002281/0.005202, allocations: 157.1 kB / 0.6229 GB, free: 9.359 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001309/0.005333, allocations: 93.67 kB / 0.623 GB, free: 9.262 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 1.677e-05/0.00535, allocations: 7.984 kB / 0.623 GB, free: 9.254 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.096e-05/0.005371, allocations: 42.48 kB / 0.6231 GB, free: 9.203 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=8): time 1.022e-06/0.005372, allocations: 0 / 0.6231 GB, free: 9.203 MB / 0.5886 GB Notification: Performance of matching and sorting (n=8): time 0.0004864/0.005858, allocations: 285.3 kB / 0.6233 GB, free: 8.918 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.46e-05/0.005893, allocations: 81.11 kB / 0.6234 GB, free: 8.82 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.177e-05/0.005984, allocations: 167.5 kB / 0.6236 GB, free: 8.648 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.16e-05/0.005996, allocations: 25.7 kB / 0.6236 GB, free: 8.617 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 4.315e-05/0.006039, allocations: 96.14 kB / 0.6237 GB, free: 8.52 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 2.714e-05/0.006066, allocations: 31.73 kB / 0.6237 GB, free: 8.488 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.336e-05/0.0061, allocations: 25.72 kB / 0.6238 GB, free: 8.457 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 7.484e-05/0.006175, allocations: 322.8 kB / 0.6241 GB, free: 8.133 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001245/0.006299, allocations: 75.92 kB / 0.6241 GB, free: 8.059 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001244/0.006423, allocations: 89.64 kB / 0.6242 GB, free: 7.965 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002413/0.006665, allocations: 177.5 kB / 0.6244 GB, free: 7.785 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.846e-06/0.006668, allocations: 0 / 0.6244 GB, free: 7.785 MB / 0.5886 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002851/0.006953, allocations: 213.4 kB / 0.6246 GB, free: 7.57 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.236e-05/0.006965, allocations: 11.94 kB / 0.6246 GB, free: 7.559 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.468e-06/0.00697, allocations: 0 / 0.6246 GB, free: 7.559 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.077e-05/0.00698, allocations: 0 / 0.6246 GB, free: 7.559 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001079/0.007088, allocations: 35.95 kB / 0.6246 GB, free: 7.523 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.709e-06/0.007093, allocations: 0 / 0.6246 GB, free: 7.523 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6e-05/0.007153, allocations: 23.97 kB / 0.6247 GB, free: 7.5 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.931e-06/0.007159, allocations: 3.938 kB / 0.6247 GB, free: 7.496 MB / 0.5886 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (8): * Single equations (assignments): 8 * 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.686e-05/0.007226, allocations: 134.8 kB / 0.6248 GB, free: 7.355 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.555e-05/0.007251, allocations: 19.78 kB / 0.6248 GB, free: 7.336 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.89e-05/0.00728, allocations: 24.33 kB / 0.6248 GB, free: 7.309 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.095e-06/0.007283, allocations: 4 kB / 0.6248 GB, free: 7.305 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.318e-06/0.007288, allocations: 0 / 0.6248 GB, free: 7.305 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.816e-06/0.00729, allocations: 0 / 0.6248 GB, free: 7.305 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001536/0.007444, allocations: 161.2 kB / 0.625 GB, free: 7.117 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.007445, allocations: 0 / 0.625 GB, free: 7.117 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.765e-05/0.007523, allocations: 39.89 kB / 0.625 GB, free: 7.078 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.202e-06/0.007524, allocations: 4 kB / 0.625 GB, free: 7.074 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.828e-06/0.007534, allocations: 7.938 kB / 0.625 GB, free: 7.066 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.12e-07/0.007535, allocations: 0 / 0.625 GB, free: 7.066 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.11e-07/0.007535, allocations: 4 kB / 0.625 GB, free: 7.062 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003183/0.007853, allocations: 371.1 kB / 0.6254 GB, free: 6.684 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 9.959e-06/0.007863, allocations: 7.906 kB / 0.6254 GB, free: 6.676 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.391e-05/0.007877, allocations: 11.94 kB / 0.6254 GB, free: 6.664 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.387e-05/0.007971, allocations: 31.94 kB / 0.6254 GB, free: 6.633 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.126e-05/0.008012, allocations: 7.984 kB / 0.6255 GB, free: 6.625 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.499e-06/0.008017, allocations: 7.938 kB / 0.6255 GB, free: 6.617 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 5.488e-05/0.008072, allocations: 120.3 kB / 0.6256 GB, free: 6.5 MB / 0.5886 GB Notification: Performance of sort global known variables: time 6e-08/0.008072, allocations: 0 / 0.6256 GB, free: 6.5 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0001724/0.008244, allocations: 20 kB / 0.6256 GB, free: 6.48 MB / 0.5886 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (8): * Single equations (assignments): 8 * 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 6.997e-05/0.008314, allocations: 95.25 kB / 0.6257 GB, free: 6.375 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0002945/0.008609, allocations: 171.8 kB / 0.6259 GB, free: 6.207 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.493e-06/0.00861, allocations: 0 / 0.6259 GB, free: 6.207 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.0001335/0.008744, allocations: 87.92 kB / 0.6259 GB, free: 6.121 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002393/0.008983, allocations: 13.86 kB / 0.626 GB, free: 6.109 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003647/0.009348, allocations: 295.2 kB / 0.6262 GB, free: 5.785 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.666e-05/0.009414, allocations: 96.25 kB / 0.6263 GB, free: 5.672 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.45e-05/0.009459, allocations: 16.5 kB / 0.6263 GB, free: 5.656 MB / 0.5886 GB Notification: Performance of SimCode: time 5.11e-07/0.009459, allocations: 0 / 0.6263 GB, free: 5.656 MB / 0.5886 GB Notification: Performance of Templates: time 0.002037/0.0115, allocations: 1.539 MB / 0.6278 GB, free: 4.125 MB / 0.5886 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.MatrixGain.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.MatrixGain.pipe ; mkfifo IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.MatrixGain.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.MatrixGain.pipe >> ../files/IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.MatrixGain.sim & ./IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.MatrixGain -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.MatrixGain.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.103237378410995] Failed to read output from testmodel.py, exit status != 0: 0.016238750889897346 0.023908938 0.019273894 Calling exit ...