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.00085/0.00085, allocations: 80.45 kB / 19.9 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.0008915/0.0008915, allocations: 165.9 kB / 23.18 MB, free: 1.375 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.9436/0.9436, 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 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.7131/0.7131, allocations: 154.7 MB / 414.7 MB, free: 0.7656 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.001424/0.001424, allocations: 68.08 kB / 0.6196 GB, free: 12.94 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.5547/0.5561, allocations: 102 MB / 0.7192 GB, free: 23.78 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.MatrixGain): time 0.002125/0.5582, allocations: 0.737 MB / 0.7199 GB, free: 23.32 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.001053/0.5593, allocations: 0.8579 MB / 0.7207 GB, free: 22.68 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.975e-05/0.5593, allocations: 5.406 kB / 0.7207 GB, free: 22.67 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.0002368/0.5596, allocations: 56.8 kB / 0.7208 GB, free: 22.66 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 5.743e-05/0.5596, allocations: 34.67 kB / 0.7208 GB, free: 22.65 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 8.903e-05/0.5597, allocations: 18.69 kB / 0.7208 GB, free: 22.64 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.0001421/0.5599, allocations: 88.58 kB / 0.7209 GB, free: 22.61 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001432/0.56, allocations: 25.14 kB / 0.7209 GB, free: 22.59 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001072/0.5601, allocations: 53.69 kB / 0.721 GB, free: 22.57 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001762/0.5603, allocations: 87.48 kB / 0.7211 GB, free: 22.55 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 3.09e-05/0.5603, allocations: 7.719 kB / 0.7211 GB, free: 22.55 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 1.739e-05/0.5603, allocations: 7.75 kB / 0.7211 GB, free: 22.55 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 8.937e-05/0.5604, allocations: 33.33 kB / 0.7211 GB, free: 22.54 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 5.177e-05/0.5605, allocations: 40.38 kB / 0.7212 GB, free: 22.51 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0001884/0.5607, allocations: 121.5 kB / 0.7213 GB, free: 22.46 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 6.242e-06/0.5607, allocations: 0 / 0.7213 GB, free: 22.46 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.425e-06/0.5607, allocations: 0 / 0.7213 GB, free: 22.46 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 8.646e-06/0.5607, allocations: 5.719 kB / 0.7213 GB, free: 22.46 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.0006818/0.5614, allocations: 387.7 kB / 0.7217 GB, free: 22.15 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 6.63e-05/0.5614, allocations: 10.06 kB / 0.7217 GB, free: 22.15 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.283e-05/0.5615, allocations: 14.66 kB / 0.7217 GB, free: 22.14 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001816/0.5617, allocations: 142.6 kB / 0.7218 GB, free: 22 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.51e-05/0.5617, allocations: 10.53 kB / 0.7218 GB, free: 21.99 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.17e-05/0.5617, allocations: 7.812 kB / 0.7218 GB, free: 21.99 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003403/0.562, allocations: 153.3 kB / 0.722 GB, free: 21.91 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.035e-05/0.5621, allocations: 192 / 0.722 GB, free: 21.91 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.558e-05/0.5621, allocations: 5 kB / 0.722 GB, free: 21.91 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.392e-06/0.5621, allocations: 1.188 kB / 0.722 GB, free: 21.91 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003507/0.5624, allocations: 169.6 kB / 0.7221 GB, free: 21.88 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005579/0.563, allocations: 441.7 kB / 0.7226 GB, free: 21.55 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003063/0.5633, allocations: 168.8 kB / 0.7227 GB, free: 21.47 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001834/0.5635, allocations: 92.38 kB / 0.7228 GB, free: 21.44 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.803e-05/0.5635, allocations: 2.312 kB / 0.7228 GB, free: 21.44 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.424e-05/0.5635, allocations: 37.06 kB / 0.7229 GB, free: 21.39 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=8): time 2.434e-06/0.5635, allocations: 5.094 kB / 0.7229 GB, free: 21.39 MB / 0.6355 GB Notification: Performance of matching and sorting (n=8): time 0.0006479/0.5642, allocations: 287.5 kB / 0.7231 GB, free: 21.3 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.808e-05/0.5642, allocations: 79.33 kB / 0.7232 GB, free: 21.21 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000149/0.5644, allocations: 161 kB / 0.7234 GB, free: 21.09 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.294e-05/0.5644, allocations: 26.64 kB / 0.7234 GB, free: 21.06 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 5.226e-05/0.5644, allocations: 100.5 kB / 0.7235 GB, free: 20.97 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 4.159e-05/0.5645, allocations: 29.31 kB / 0.7235 GB, free: 20.95 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.537e-05/0.5645, allocations: 21.28 kB / 0.7235 GB, free: 20.93 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 6.42e-05/0.5646, allocations: 327.3 kB / 0.7238 GB, free: 20.61 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001824/0.5648, allocations: 75.39 kB / 0.7239 GB, free: 20.59 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001723/0.5649, allocations: 97.34 kB / 0.724 GB, free: 20.56 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003274/0.5653, allocations: 176.6 kB / 0.7242 GB, free: 20.51 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.106e-06/0.5653, allocations: 3.938 kB / 0.7242 GB, free: 20.5 MB / 0.6355 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000375/0.5656, allocations: 208.6 kB / 0.7244 GB, free: 20.43 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.206e-05/0.5657, allocations: 9.922 kB / 0.7244 GB, free: 20.43 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.815e-06/0.5657, allocations: 1.438 kB / 0.7244 GB, free: 20.43 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.81e-05/0.5657, allocations: 0 / 0.7244 GB, free: 20.43 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001591/0.5659, allocations: 35.09 kB / 0.7244 GB, free: 20.43 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.606e-06/0.5659, allocations: 0.5625 kB / 0.7244 GB, free: 20.43 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.853e-05/0.566, allocations: 27.47 kB / 0.7245 GB, free: 20.43 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.815e-06/0.566, allocations: 2.25 kB / 0.7245 GB, free: 20.43 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 9.262e-05/0.5661, allocations: 137.6 kB / 0.7246 GB, free: 20.3 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.461e-05/0.5661, allocations: 9.766 kB / 0.7246 GB, free: 20.29 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.781e-05/0.5661, allocations: 19.02 kB / 0.7246 GB, free: 20.28 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.809e-06/0.5661, allocations: 1.594 kB / 0.7246 GB, free: 20.28 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.672e-06/0.5661, allocations: 0.7031 kB / 0.7246 GB, free: 20.28 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.229e-06/0.5661, allocations: 2.266 kB / 0.7246 GB, free: 20.28 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001933/0.5663, allocations: 163.8 kB / 0.7248 GB, free: 20.13 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.576e-06/0.5663, allocations: 1.703 kB / 0.7248 GB, free: 20.13 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001111/0.5664, allocations: 37.12 kB / 0.7248 GB, free: 20.12 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.977e-06/0.5665, allocations: 5.094 kB / 0.7248 GB, free: 20.12 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.511e-05/0.5665, allocations: 13.78 kB / 0.7248 GB, free: 20.11 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.475e-06/0.5665, allocations: 1.781 kB / 0.7248 GB, free: 20.11 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.333e-06/0.5665, allocations: 0 / 0.7248 GB, free: 20.11 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004078/0.5669, allocations: 372.2 kB / 0.7252 GB, free: 19.87 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 1.704e-05/0.5669, allocations: 16.52 kB / 0.7252 GB, free: 19.86 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.731e-05/0.5669, allocations: 13.19 kB / 0.7252 GB, free: 19.85 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001082/0.567, allocations: 23.25 kB / 0.7252 GB, free: 19.85 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.972e-05/0.5671, allocations: 16.81 kB / 0.7253 GB, free: 19.84 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.131e-06/0.5671, allocations: 2.406 kB / 0.7253 GB, free: 19.84 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 7.335e-05/0.5672, allocations: 124.2 kB / 0.7254 GB, free: 19.75 MB / 0.6355 GB Notification: Performance of sort global known variables: time 5e-08/0.5672, allocations: 0 / 0.7254 GB, free: 19.75 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.000198/0.5674, allocations: 16 kB / 0.7254 GB, free: 19.75 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 0.0001244/0.5675, allocations: 93.64 kB / 0.7255 GB, free: 19.67 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0003999/0.5679, allocations: 175.2 kB / 0.7256 GB, free: 19.63 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.345e-06/0.5679, allocations: 0 / 0.7256 GB, free: 19.63 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0001727/0.5681, allocations: 83.31 kB / 0.7257 GB, free: 19.62 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003202/0.5684, allocations: 20.56 kB / 0.7257 GB, free: 19.61 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000505/0.5689, allocations: 256.1 kB / 0.726 GB, free: 19.43 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001003/0.569, allocations: 101 kB / 0.7261 GB, free: 19.36 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 7.971e-05/0.5691, allocations: 26.58 kB / 0.7261 GB, free: 19.36 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.352e-05/0.5691, allocations: 21.62 kB / 0.7261 GB, free: 19.34 MB / 0.6355 GB Notification: Performance of SimCode: time 7.71e-07/0.5691, allocations: 0 / 0.7261 GB, free: 19.34 MB / 0.6355 GB Notification: Performance of Templates: time 0.003647/0.5728, allocations: 1.238 MB / 0.7273 GB, free: 19.2 MB / 0.6355 GB " [Timeout remaining time 659] 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 -s gbode -gbnls=internal -gberr=embedded -gbm=radauIIA3 -lv LOG_STATS > IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.MatrixGain.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.415345255983993] Failed to read output from testmodel.py, exit status != 0: 0.5813549950253218 0.595172317 0.031754958 Calling exit ...