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.001326/0.001326, allocations: 75.25 kB / 19.16 MB, free: 2.566 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.001457/0.001457, allocations: 168 kB / 22.44 MB, free: 5.301 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.426/1.426, allocations: 177.2 MB / 202.8 MB, free: 9.191 MB / 190.1 MB " [Timeout remaining time 178] 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 1.167/1.167, allocations: 155 MB / 414.2 MB, free: 4.941 MB / 382.1 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 178] 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.002917/0.002917, allocations: 78.38 kB / 0.6192 GB, free: 4.102 MB / 0.5294 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.5319/0.5349, allocations: 102 MB / 0.7188 GB, free: 1.762 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.MatrixGain): time 0.001775/0.5366, allocations: 0.7425 MB / 0.7195 GB, free: 1.289 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0007736/0.5374, allocations: 0.8589 MB / 0.7204 GB, free: 0.6445 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.656e-05/0.5375, allocations: 1.188 kB / 0.7204 GB, free: 0.6445 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.000199/0.5377, allocations: 56.59 kB / 0.7204 GB, free: 0.6328 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 6.866e-05/0.5377, allocations: 37.94 kB / 0.7205 GB, free: 0.6211 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 7.558e-05/0.5378, allocations: 19.2 kB / 0.7205 GB, free: 0.6133 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001196/0.5379, allocations: 92.53 kB / 0.7206 GB, free: 0.5742 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001192/0.538, allocations: 16.31 kB / 0.7206 GB, free: 0.5664 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 9.928e-05/0.5381, allocations: 54.45 kB / 0.7206 GB, free: 0.5469 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001439/0.5383, allocations: 83.42 kB / 0.7207 GB, free: 0.5273 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.344e-05/0.5383, allocations: 7.562 kB / 0.7207 GB, free: 0.5273 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 1.417e-05/0.5383, allocations: 7.875 kB / 0.7207 GB, free: 0.5273 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 6.634e-05/0.5384, allocations: 45.27 kB / 0.7208 GB, free: 0.5039 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 4.662e-05/0.5384, allocations: 32.98 kB / 0.7208 GB, free: 496 kB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001667/0.5386, allocations: 133.9 kB / 0.7209 GB, free: 440 kB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.079e-06/0.5386, allocations: 9.219 kB / 0.7209 GB, free: 432 kB / 0.6075 GB Notification: Performance of FrontEnd: time 1.694e-06/0.5386, allocations: 0 / 0.7209 GB, free: 432 kB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.241e-05/0.5386, allocations: 0 / 0.7209 GB, free: 432 kB / 0.6075 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.0006709/0.5393, allocations: 388.5 kB / 0.7213 GB, free: 112 kB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.761e-05/0.5393, allocations: 12.34 kB / 0.7213 GB, free: 112 kB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.835e-05/0.5394, allocations: 13.59 kB / 0.7213 GB, free: 104 kB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002388/0.5396, allocations: 140.1 kB / 0.7215 GB, free: 15.96 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.414e-05/0.5396, allocations: 2.406 kB / 0.7215 GB, free: 15.96 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.711e-05/0.5397, allocations: 8.938 kB / 0.7215 GB, free: 15.96 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004321/0.5401, allocations: 153.6 kB / 0.7216 GB, free: 15.88 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.055e-05/0.5401, allocations: 4.125 kB / 0.7216 GB, free: 15.88 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.024e-05/0.5401, allocations: 7.938 kB / 0.7216 GB, free: 15.87 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.741e-06/0.5401, allocations: 1.438 kB / 0.7216 GB, free: 15.87 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005519/0.5407, allocations: 167.1 kB / 0.7218 GB, free: 15.84 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008449/0.5415, allocations: 444.5 kB / 0.7222 GB, free: 15.51 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004098/0.5419, allocations: 161.9 kB / 0.7224 GB, free: 15.44 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002769/0.5422, allocations: 92.34 kB / 0.7225 GB, free: 15.41 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 1.86e-05/0.5422, allocations: 2.047 kB / 0.7225 GB, free: 15.41 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.021e-05/0.5423, allocations: 36.75 kB / 0.7225 GB, free: 15.36 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=8): time 3.166e-06/0.5423, allocations: 3.984 kB / 0.7225 GB, free: 15.36 MB / 0.6231 GB Notification: Performance of matching and sorting (n=8): time 0.0009413/0.5432, allocations: 292.3 kB / 0.7228 GB, free: 15.27 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.42e-05/0.5433, allocations: 80.08 kB / 0.7229 GB, free: 15.18 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001885/0.5434, allocations: 159.6 kB / 0.723 GB, free: 15.06 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 2.498e-05/0.5435, allocations: 30.86 kB / 0.723 GB, free: 15.03 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 6.703e-05/0.5435, allocations: 101.2 kB / 0.7231 GB, free: 14.93 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 3.99e-05/0.5436, allocations: 28.86 kB / 0.7232 GB, free: 14.91 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.48e-05/0.5436, allocations: 21.52 kB / 0.7232 GB, free: 14.89 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001525/0.5438, allocations: 321.7 kB / 0.7235 GB, free: 14.57 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002624/0.544, allocations: 80.69 kB / 0.7236 GB, free: 14.56 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002655/0.5443, allocations: 89.05 kB / 0.7237 GB, free: 14.53 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005705/0.5449, allocations: 177 kB / 0.7238 GB, free: 14.48 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.631e-06/0.5449, allocations: 3.938 kB / 0.7238 GB, free: 14.48 MB / 0.6231 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0006554/0.5455, allocations: 204.3 kB / 0.724 GB, free: 14.41 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.966e-05/0.5456, allocations: 7.75 kB / 0.724 GB, free: 14.41 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.931e-06/0.5456, allocations: 1.156 kB / 0.724 GB, free: 14.41 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.953e-05/0.5456, allocations: 5.031 kB / 0.724 GB, free: 14.41 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000226/0.5458, allocations: 37.89 kB / 0.7241 GB, free: 14.4 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.561e-06/0.5458, allocations: 1.094 kB / 0.7241 GB, free: 14.4 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001463/0.546, allocations: 27.84 kB / 0.7241 GB, free: 14.4 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.197e-05/0.546, allocations: 2.859 kB / 0.7241 GB, free: 14.4 MB / 0.6231 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 0.0001235/0.5461, allocations: 133 kB / 0.7242 GB, free: 14.27 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.537e-05/0.5462, allocations: 13.3 kB / 0.7242 GB, free: 14.27 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.712e-05/0.5462, allocations: 19.16 kB / 0.7243 GB, free: 14.25 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.356e-06/0.5462, allocations: 5 kB / 0.7243 GB, free: 14.25 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.468e-06/0.5462, allocations: 1.031 kB / 0.7243 GB, free: 14.25 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.087e-06/0.5462, allocations: 5.203 kB / 0.7243 GB, free: 14.24 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002722/0.5465, allocations: 161.3 kB / 0.7244 GB, free: 14.1 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.243e-06/0.5465, allocations: 0.5625 kB / 0.7244 GB, free: 14.1 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001878/0.5467, allocations: 33.62 kB / 0.7245 GB, free: 14.1 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.795e-06/0.5467, allocations: 1.672 kB / 0.7245 GB, free: 14.1 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.147e-05/0.5467, allocations: 1.219 kB / 0.7245 GB, free: 14.1 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.695e-06/0.5467, allocations: 5 kB / 0.7245 GB, free: 14.09 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/0.5467, allocations: 5.234 kB / 0.7245 GB, free: 14.09 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000699/0.5474, allocations: 380.4 kB / 0.7248 GB, free: 13.84 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 2.158e-05/0.5474, allocations: 17.11 kB / 0.7248 GB, free: 13.83 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.045e-05/0.5474, allocations: 0.7031 kB / 0.7248 GB, free: 13.83 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001995/0.5476, allocations: 28.92 kB / 0.7249 GB, free: 13.83 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.295e-05/0.5477, allocations: 14.7 kB / 0.7249 GB, free: 13.82 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.496e-06/0.5477, allocations: 2.375 kB / 0.7249 GB, free: 13.82 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 9.924e-05/0.5478, allocations: 123.8 kB / 0.725 GB, free: 13.73 MB / 0.6231 GB Notification: Performance of sort global known variables: time 7e-08/0.5478, allocations: 0 / 0.725 GB, free: 13.73 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0002737/0.5481, allocations: 21 kB / 0.725 GB, free: 13.73 MB / 0.6231 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 0.0001262/0.5482, allocations: 101.8 kB / 0.7251 GB, free: 13.64 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.000588/0.5488, allocations: 170.9 kB / 0.7253 GB, free: 13.61 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 1.844e-06/0.5488, allocations: 0 / 0.7253 GB, free: 13.61 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0002748/0.5491, allocations: 92.72 kB / 0.7254 GB, free: 13.59 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003639/0.5494, allocations: 19.88 kB / 0.7254 GB, free: 13.57 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005208/0.55, allocations: 254 kB / 0.7256 GB, free: 13.39 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001024/0.5501, allocations: 100.3 kB / 0.7257 GB, free: 13.32 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 7.755e-05/0.5501, allocations: 27.81 kB / 0.7258 GB, free: 13.32 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.961e-05/0.5502, allocations: 11.91 kB / 0.7258 GB, free: 13.31 MB / 0.6231 GB Notification: Performance of SimCode: time 8.02e-07/0.5502, allocations: 5.438 kB / 0.7258 GB, free: 13.3 MB / 0.6231 GB Notification: Performance of Templates: time 0.003968/0.5542, allocations: 1.239 MB / 0.727 GB, free: 13.16 MB / 0.6231 GB " [Timeout remaining time 659] 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: 6.098199060186744] Failed to read output from testmodel.py, exit status != 0: 0.5639138761907816 0.576509276 0.034977786000000004 Calling exit ...