Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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.0007503/0.0007503, allocations: 80.44 kB / 19.91 MB, free: 4 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.0007951/0.0007951, allocations: 169.2 kB / 23.19 MB, free: 1.371 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.9046/0.9046, allocations: 177.2 MB / 203.6 MB, free: 5.766 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:686: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:694:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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 master/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 master/package.mo): time 0.7195/0.7195, allocations: 154.9 MB / 414.9 MB, free: 0.5078 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.Controls.OBC.CDL.Reals.Validation.MatrixGain,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_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_dev_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.000974/0.000974, allocations: 75.89 kB / 0.6199 GB, free: 12.7 MB / 0.5886 GB [/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. Notification: Performance of FrontEnd - Absyn->SCode: time 0.4571/0.458, allocations: 102 MB / 0.7195 GB, free: 23.45 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.MatrixGain): time 0.001577/0.4596, allocations: 0.7482 MB / 0.7202 GB, free: 22.98 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.0008409/0.4604, allocations: 0.8512 MB / 0.7211 GB, free: 22.34 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.594e-05/0.4605, allocations: 1.125 kB / 0.7211 GB, free: 22.34 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.0002092/0.4607, allocations: 56.84 kB / 0.7211 GB, free: 22.33 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 5.424e-05/0.4608, allocations: 44.06 kB / 0.7212 GB, free: 22.31 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 7.7e-05/0.4608, allocations: 18.56 kB / 0.7212 GB, free: 22.3 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.0001418/0.461, allocations: 92.3 kB / 0.7213 GB, free: 22.27 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001327/0.4611, allocations: 16.55 kB / 0.7213 GB, free: 22.26 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 9.854e-05/0.4612, allocations: 57.47 kB / 0.7213 GB, free: 22.23 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001552/0.4614, allocations: 84.86 kB / 0.7214 GB, free: 22.21 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 2.649e-05/0.4614, allocations: 7.25 kB / 0.7214 GB, free: 22.21 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 1.348e-05/0.4614, allocations: 7.219 kB / 0.7214 GB, free: 22.21 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 6.746e-05/0.4615, allocations: 41.5 kB / 0.7215 GB, free: 22.2 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 4.161e-05/0.4615, allocations: 36.61 kB / 0.7215 GB, free: 22.17 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0001575/0.4617, allocations: 134.8 kB / 0.7216 GB, free: 22.12 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 5.761e-06/0.4617, allocations: 4 kB / 0.7216 GB, free: 22.12 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.934e-06/0.4617, allocations: 0 / 0.7216 GB, free: 22.12 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 6.311e-06/0.4617, allocations: 0 / 0.7216 GB, free: 22.12 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.0005497/0.4622, allocations: 389.5 kB / 0.722 GB, free: 21.8 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.525e-05/0.4623, allocations: 9.906 kB / 0.722 GB, free: 21.8 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.452e-05/0.4623, allocations: 18.67 kB / 0.722 GB, free: 21.79 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001387/0.4625, allocations: 143.2 kB / 0.7222 GB, free: 21.65 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.066e-05/0.4625, allocations: 6.125 kB / 0.7222 GB, free: 21.65 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.809e-05/0.4625, allocations: 8.094 kB / 0.7222 GB, free: 21.64 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002853/0.4628, allocations: 152.5 kB / 0.7223 GB, free: 21.57 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.979e-06/0.4628, allocations: 0.8906 kB / 0.7223 GB, free: 21.57 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.264e-05/0.4628, allocations: 9.25 kB / 0.7223 GB, free: 21.57 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.801e-06/0.4628, allocations: 5.219 kB / 0.7223 GB, free: 21.56 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003211/0.4631, allocations: 166 kB / 0.7225 GB, free: 21.54 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005957/0.4637, allocations: 446.2 kB / 0.7229 GB, free: 21.2 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002711/0.464, allocations: 167.5 kB / 0.7231 GB, free: 21.12 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001501/0.4641, allocations: 90.66 kB / 0.7232 GB, free: 21.09 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.511e-05/0.4642, allocations: 0.9375 kB / 0.7232 GB, free: 21.09 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.879e-05/0.4642, allocations: 37.95 kB / 0.7232 GB, free: 21.05 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=8): time 1.593e-06/0.4642, allocations: 0 / 0.7232 GB, free: 21.05 MB / 0.6355 GB Notification: Performance of matching and sorting (n=8): time 0.0005392/0.4647, allocations: 283.9 kB / 0.7235 GB, free: 20.97 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.004e-05/0.4647, allocations: 82.14 kB / 0.7236 GB, free: 20.87 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001191/0.4649, allocations: 160.1 kB / 0.7237 GB, free: 20.75 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.076e-05/0.4649, allocations: 34.89 kB / 0.7237 GB, free: 20.71 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 3.904e-05/0.4649, allocations: 100.4 kB / 0.7238 GB, free: 20.62 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.757e-05/0.4649, allocations: 29.77 kB / 0.7239 GB, free: 20.6 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.435e-05/0.465, allocations: 21.83 kB / 0.7239 GB, free: 20.58 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 4.197e-05/0.465, allocations: 322.4 kB / 0.7242 GB, free: 20.26 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001442/0.4652, allocations: 75.3 kB / 0.7243 GB, free: 20.25 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001426/0.4653, allocations: 94.47 kB / 0.7244 GB, free: 20.22 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000278/0.4656, allocations: 167.8 kB / 0.7245 GB, free: 20.18 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.4656, allocations: 1.062 kB / 0.7245 GB, free: 20.18 MB / 0.6355 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000323/0.4659, allocations: 215.8 kB / 0.7247 GB, free: 20.1 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.042e-05/0.4659, allocations: 7.656 kB / 0.7247 GB, free: 20.1 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.152e-06/0.4659, allocations: 4 kB / 0.7247 GB, free: 20.09 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.475e-05/0.4659, allocations: 2.328 kB / 0.7247 GB, free: 20.09 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001313/0.4661, allocations: 33.52 kB / 0.7248 GB, free: 20.09 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.068e-05/0.4661, allocations: 4.688 kB / 0.7248 GB, free: 20.09 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.206e-05/0.4662, allocations: 31.58 kB / 0.7248 GB, free: 20.08 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.394e-06/0.4662, allocations: 2.344 kB / 0.7248 GB, free: 20.08 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 6.38e-05/0.4662, allocations: 134.3 kB / 0.7249 GB, free: 19.96 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.52e-05/0.4663, allocations: 12.39 kB / 0.7249 GB, free: 19.95 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.719e-05/0.4663, allocations: 18.56 kB / 0.725 GB, free: 19.93 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.01e-06/0.4663, allocations: 2.453 kB / 0.725 GB, free: 19.93 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.4663, allocations: 0 / 0.725 GB, free: 19.93 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 1.181e-05/0.4663, allocations: 12.75 kB / 0.725 GB, free: 19.93 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.53e-05/0.4663, allocations: 1.922 kB / 0.725 GB, free: 19.93 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000105/0.4664, allocations: 31.5 kB / 0.725 GB, free: 19.92 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.784e-05/0.4665, allocations: 16.25 kB / 0.725 GB, free: 19.91 MB / 0.6355 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.000389/0.4669, allocations: 381.2 kB / 0.7254 GB, free: 19.69 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0003607/0.4672, allocations: 456 kB / 0.7258 GB, free: 19.37 MB / 0.6355 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001579/0.4674, allocations: 84.59 kB / 0.7259 GB, free: 19.36 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 7.036e-05/0.4675, allocations: 124.2 kB / 0.726 GB, free: 19.27 MB / 0.6355 GB Notification: Performance of Backend: time 4.01e-07/0.4675, allocations: 0 / 0.726 GB, free: 19.27 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0004609/0.4679, allocations: 163.9 kB / 0.7262 GB, free: 19.19 MB / 0.6355 GB Notification: Performance of SimCode: time 0.0004427/0.4684, allocations: 0.6666 MB / 0.7268 GB, free: 18.55 MB / 0.6355 GB Notification: Performance of Templates: time 0.003595/0.472, allocations: 1.778 MB / 0.7286 GB, free: 18.38 MB / 0.6355 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.MatrixGain.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.MatrixGain.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.MatrixGain.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.MatrixGain.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.MatrixGain.sim & ./IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.MatrixGain -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.MatrixGain.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.102973795030266] Failed to read output from testmodel.py, exit status != 0: 0.47781094908714294 0.48533936400000005 0.021726755 Calling exit ...