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.000755/0.000755, allocations: 76.45 kB / 19.91 MB, free: 12 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.000795/0.000795, allocations: 165.9 kB / 23.18 MB, free: 1.383 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.8573/0.8573, allocations: 177.2 MB / 203.6 MB, free: 5.758 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.6972/0.6972, allocations: 154.7 MB / 414.7 MB, free: 0.7578 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: 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.0008925/0.0008925, allocations: 73.77 kB / 0.6196 GB, free: 13.04 MB / 0.5886 GB [/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. Notification: Performance of FrontEnd - Absyn->SCode: time 0.4101/0.411, allocations: 101.9 MB / 0.7192 GB, free: 23.6 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.MatrixGain): time 0.001361/0.4123, allocations: 0.7365 MB / 0.7199 GB, free: 23.14 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.0006425/0.413, allocations: 0.8521 MB / 0.7207 GB, free: 22.5 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.35e-05/0.413, allocations: 5.031 kB / 0.7207 GB, free: 22.5 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.0002024/0.4132, allocations: 57.23 kB / 0.7208 GB, free: 22.49 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 4.727e-05/0.4133, allocations: 38.55 kB / 0.7208 GB, free: 22.48 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 6.946e-05/0.4133, allocations: 18.94 kB / 0.7208 GB, free: 22.47 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.0001139/0.4134, allocations: 93.19 kB / 0.7209 GB, free: 22.43 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001184/0.4136, allocations: 17.27 kB / 0.7209 GB, free: 22.42 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 8.416e-05/0.4137, allocations: 53.89 kB / 0.721 GB, free: 22.4 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001369/0.4138, allocations: 86.62 kB / 0.7211 GB, free: 22.38 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 2.425e-05/0.4138, allocations: 8.031 kB / 0.7211 GB, free: 22.38 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 1.408e-05/0.4138, allocations: 7.906 kB / 0.7211 GB, free: 22.38 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 6.309e-05/0.4139, allocations: 45.11 kB / 0.7211 GB, free: 22.36 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 3.853e-05/0.4139, allocations: 32.73 kB / 0.7212 GB, free: 22.34 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0001537/0.4141, allocations: 129.4 kB / 0.7213 GB, free: 22.29 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/0.4141, allocations: 0.5625 kB / 0.7213 GB, free: 22.29 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.683e-06/0.4141, allocations: 3.938 kB / 0.7213 GB, free: 22.29 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 5.871e-06/0.4141, allocations: 0.9375 kB / 0.7213 GB, free: 22.29 MB / 0.6355 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.0005005/0.4146, allocations: 393 kB / 0.7217 GB, free: 21.97 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.768e-05/0.4146, allocations: 9.641 kB / 0.7217 GB, free: 21.97 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.065e-05/0.4147, allocations: 14.69 kB / 0.7217 GB, free: 21.96 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001326/0.4148, allocations: 146.1 kB / 0.7218 GB, free: 21.82 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.067e-05/0.4148, allocations: 6.797 kB / 0.7218 GB, free: 21.81 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.489e-05/0.4148, allocations: 6.844 kB / 0.7218 GB, free: 21.81 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002602/0.4151, allocations: 156.4 kB / 0.722 GB, free: 21.73 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.126e-06/0.4151, allocations: 192 / 0.722 GB, free: 21.73 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.2e-05/0.4151, allocations: 13.16 kB / 0.722 GB, free: 21.72 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.17e-06/0.4151, allocations: 5.156 kB / 0.722 GB, free: 21.72 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002929/0.4154, allocations: 166.3 kB / 0.7222 GB, free: 21.69 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000473/0.4159, allocations: 441.9 kB / 0.7226 GB, free: 21.36 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002442/0.4161, allocations: 160 kB / 0.7227 GB, free: 21.29 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001402/0.4163, allocations: 97.84 kB / 0.7228 GB, free: 21.25 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.38e-05/0.4163, allocations: 1.062 kB / 0.7228 GB, free: 21.25 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.474e-05/0.4163, allocations: 33.84 kB / 0.7229 GB, free: 21.21 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=8): time 1.082e-06/0.4163, allocations: 0 / 0.7229 GB, free: 21.21 MB / 0.6355 GB Notification: Performance of matching and sorting (n=8): time 0.000511/0.4168, allocations: 288 kB / 0.7231 GB, free: 21.13 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.445e-05/0.4168, allocations: 79.27 kB / 0.7232 GB, free: 21.04 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.891e-05/0.4169, allocations: 160.5 kB / 0.7234 GB, free: 20.92 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 8.125e-06/0.4169, allocations: 26.73 kB / 0.7234 GB, free: 20.89 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 3.345e-05/0.417, allocations: 105.9 kB / 0.7235 GB, free: 20.79 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.51e-05/0.417, allocations: 28.88 kB / 0.7235 GB, free: 20.77 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.049e-05/0.417, allocations: 21.25 kB / 0.7235 GB, free: 20.75 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 3.301e-05/0.417, allocations: 322.5 kB / 0.7239 GB, free: 20.43 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001364/0.4172, allocations: 80.23 kB / 0.7239 GB, free: 20.41 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001363/0.4173, allocations: 96.5 kB / 0.724 GB, free: 20.38 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002672/0.4176, allocations: 177.9 kB / 0.7242 GB, free: 20.33 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.4176, allocations: 3.938 kB / 0.7242 GB, free: 20.32 MB / 0.6355 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0003017/0.4179, allocations: 209.7 kB / 0.7244 GB, free: 20.25 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.276e-05/0.4179, allocations: 5.031 kB / 0.7244 GB, free: 20.25 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.67e-06/0.4179, allocations: 4.859 kB / 0.7244 GB, free: 20.25 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.329e-05/0.4179, allocations: 5.156 kB / 0.7244 GB, free: 20.25 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001197/0.418, allocations: 38.03 kB / 0.7244 GB, free: 20.24 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.32e-06/0.418, allocations: 1.438 kB / 0.7244 GB, free: 20.24 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.086e-05/0.4181, allocations: 27.78 kB / 0.7245 GB, free: 20.24 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.173e-06/0.4181, allocations: 1.375 kB / 0.7245 GB, free: 20.24 MB / 0.6355 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 5.178e-05/0.4182, allocations: 130.4 kB / 0.7246 GB, free: 20.12 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.254e-05/0.4182, allocations: 8.609 kB / 0.7246 GB, free: 20.11 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.64e-05/0.4182, allocations: 27.56 kB / 0.7246 GB, free: 20.09 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.144e-06/0.4182, allocations: 1.188 kB / 0.7246 GB, free: 20.09 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.737e-06/0.4182, allocations: 1.156 kB / 0.7246 GB, free: 20.09 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.845e-06/0.4182, allocations: 0 / 0.7246 GB, free: 20.09 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001341/0.4184, allocations: 165.1 kB / 0.7248 GB, free: 19.94 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.4184, allocations: 1.094 kB / 0.7248 GB, free: 19.94 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.473e-05/0.4184, allocations: 38.12 kB / 0.7248 GB, free: 19.94 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.445e-06/0.4185, allocations: 1.281 kB / 0.7248 GB, free: 19.94 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.887e-06/0.4185, allocations: 1.312 kB / 0.7248 GB, free: 19.94 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.4185, allocations: 6.047 kB / 0.7248 GB, free: 19.93 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.71e-07/0.4185, allocations: 0 / 0.7248 GB, free: 19.93 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000319/0.4188, allocations: 379.3 kB / 0.7252 GB, free: 19.69 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 1.2e-05/0.4188, allocations: 17.38 kB / 0.7252 GB, free: 19.68 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.233e-05/0.4188, allocations: 4.969 kB / 0.7252 GB, free: 19.67 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001/0.4189, allocations: 27.58 kB / 0.7253 GB, free: 19.67 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.133e-05/0.419, allocations: 12.72 kB / 0.7253 GB, free: 19.66 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.188e-06/0.419, allocations: 1.594 kB / 0.7253 GB, free: 19.66 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 5.071e-05/0.419, allocations: 124.4 kB / 0.7254 GB, free: 19.58 MB / 0.6355 GB Notification: Performance of sort global known variables: time 5e-08/0.419, allocations: 1.219 kB / 0.7254 GB, free: 19.58 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.000177/0.4192, allocations: 19.22 kB / 0.7254 GB, free: 19.57 MB / 0.6355 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 7.327e-05/0.4193, allocations: 93.53 kB / 0.7255 GB, free: 19.49 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0003227/0.4196, allocations: 175.4 kB / 0.7257 GB, free: 19.45 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.4196, allocations: 0 / 0.7257 GB, free: 19.45 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0001417/0.4197, allocations: 87.52 kB / 0.7257 GB, free: 19.44 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002415/0.42, allocations: 19.17 kB / 0.7258 GB, free: 19.43 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003575/0.4203, allocations: 286.7 kB / 0.726 GB, free: 19.21 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.709e-05/0.4204, allocations: 99.64 kB / 0.7261 GB, free: 19.14 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.169e-05/0.4204, allocations: 12.94 kB / 0.7261 GB, free: 19.13 MB / 0.6355 GB Notification: Performance of SimCode: time 8.32e-07/0.4204, allocations: 0 / 0.7261 GB, free: 19.13 MB / 0.6355 GB Notification: Performance of Templates: time 0.002587/0.423, allocations: 1.553 MB / 0.7277 GB, free: 19.02 MB / 0.6355 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.565708513837308] Failed to read output from testmodel.py, exit status != 0: 0.4284377908334136 0.43728820999999996 0.020602332 Calling exit ...