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.002362/0.002362, allocations: 85.48 kB / 19.44 MB, free: 344 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.002825/0.002825, allocations: 177.2 kB / 22.76 MB, free: 1.66 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 1.587/1.587, allocations: 177.1 MB / 203.1 MB, free: 5.617 MB / 186.7 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-535:34: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-535:42: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.359/1.359, allocations: 154.8 MB / 414.4 MB, free: 448 kB / 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 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: Performance of FrontEnd - loaded program: time 3.125e-06/3.125e-06, allocations: 0 / 0.5199 GB, free: 2.219 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.222e-05/3.535e-05, allocations: 2.312 kB / 0.5199 GB, free: 2.215 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.MatrixGain): time 0.003281/0.003316, allocations: 0.7624 MB / 0.5207 GB, free: 1.48 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.002146/0.005462, allocations: 0.8471 MB / 0.5215 GB, free: 0.6211 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.107e-05/0.005533, allocations: 0 / 0.5215 GB, free: 0.6211 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003268/0.00586, allocations: 69.06 kB / 0.5216 GB, free: 0.5547 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001386/0.005999, allocations: 31.78 kB / 0.5216 GB, free: 0.5234 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001238/0.006123, allocations: 23.44 kB / 0.5216 GB, free: 0.5039 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002361/0.006359, allocations: 95.73 kB / 0.5217 GB, free: 420 kB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000155/0.006514, allocations: 11.98 kB / 0.5217 GB, free: 408 kB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001735/0.006687, allocations: 55.88 kB / 0.5218 GB, free: 352 kB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002442/0.006931, allocations: 75.84 kB / 0.5218 GB, free: 276 kB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 4.299e-05/0.006974, allocations: 8 kB / 0.5218 GB, free: 268 kB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.235e-05/0.007007, allocations: 8 kB / 0.5219 GB, free: 260 kB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001025/0.007109, allocations: 35.89 kB / 0.5219 GB, free: 224 kB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 8.406e-05/0.007193, allocations: 31.86 kB / 0.5219 GB, free: 192 kB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002712/0.007465, allocations: 116.2 kB / 0.522 GB, free: 76 kB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.113e-06/0.007472, allocations: 4.562 kB / 0.522 GB, free: 72 kB / 490.7 MB Notification: Performance of FrontEnd: time 6.222e-06/0.007478, allocations: 4 kB / 0.522 GB, free: 68 kB / 490.7 MB Notification: Performance of Transformations before backend: time 6.071e-06/0.007484, allocations: 0.5 kB / 0.522 GB, free: 68 kB / 490.7 MB 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.001244/0.008728, allocations: 486 kB / 0.5225 GB, free: 15.55 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.606e-05/0.008774, allocations: 8.031 kB / 0.5225 GB, free: 15.55 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.55e-05/0.008859, allocations: 16.83 kB / 0.5225 GB, free: 15.53 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004726/0.009332, allocations: 152.4 kB / 0.5227 GB, free: 15.36 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.355e-05/0.009356, allocations: 9.25 kB / 0.5227 GB, free: 15.35 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.739e-05/0.009383, allocations: 4.375 kB / 0.5227 GB, free: 15.34 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005288/0.009912, allocations: 106.5 kB / 0.5228 GB, free: 15.23 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.274e-05/0.009924, allocations: 1.812 kB / 0.5228 GB, free: 15.23 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.817e-05/0.009943, allocations: 384 / 0.5228 GB, free: 15.23 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.529e-05/0.009958, allocations: 4.375 kB / 0.5228 GB, free: 15.22 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006236/0.01058, allocations: 84.62 kB / 0.5229 GB, free: 15.14 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001288/0.01187, allocations: 488 kB / 0.5233 GB, free: 14.62 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004946/0.01236, allocations: 115.5 kB / 0.5235 GB, free: 14.49 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003372/0.0127, allocations: 51.44 kB / 0.5235 GB, free: 14.43 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 3.021e-05/0.01273, allocations: 4.781 kB / 0.5235 GB, free: 14.43 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.26e-05/0.01279, allocations: 45.27 kB / 0.5235 GB, free: 14.37 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=8): time 2.956e-06/0.0128, allocations: 1.531 kB / 0.5235 GB, free: 14.37 MB / 0.4948 GB Notification: Performance of matching and sorting (n=8): time 0.001168/0.01397, allocations: 160 kB / 0.5237 GB, free: 14.21 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.163e-05/0.01406, allocations: 77.11 kB / 0.5238 GB, free: 14.12 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003623/0.01442, allocations: 227.2 kB / 0.524 GB, free: 13.88 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 3.919e-05/0.01446, allocations: 29.7 kB / 0.524 GB, free: 13.84 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001872/0.01465, allocations: 158.8 kB / 0.5242 GB, free: 13.68 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 7.376e-05/0.01472, allocations: 27.8 kB / 0.5242 GB, free: 13.66 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001044/0.01482, allocations: 27.31 kB / 0.5242 GB, free: 13.62 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.000432/0.01526, allocations: 0.5006 MB / 0.5247 GB, free: 13.11 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002782/0.01553, allocations: 28.92 kB / 0.5247 GB, free: 13.08 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003088/0.01584, allocations: 56.28 kB / 0.5248 GB, free: 13.02 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005623/0.0164, allocations: 91.94 kB / 0.5249 GB, free: 12.92 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.216e-06/0.01641, allocations: 1.219 kB / 0.5249 GB, free: 12.92 MB / 0.4948 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0007063/0.01711, allocations: 126.1 kB / 0.525 GB, free: 12.79 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.188e-05/0.01714, allocations: 4 kB / 0.525 GB, free: 12.79 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.402e-06/0.01714, allocations: 0.6562 kB / 0.525 GB, free: 12.79 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.21e-05/0.01716, allocations: 5.156 kB / 0.525 GB, free: 12.79 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003185/0.01748, allocations: 27.91 kB / 0.525 GB, free: 12.76 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.256e-05/0.0175, allocations: 4 kB / 0.525 GB, free: 12.75 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001917/0.01769, allocations: 18.36 kB / 0.5251 GB, free: 12.74 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.052e-05/0.01771, allocations: 4 kB / 0.5251 GB, free: 12.73 MB / 0.4948 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.0001969/0.0179, allocations: 156.6 kB / 0.5252 GB, free: 12.57 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000111/0.01802, allocations: 23.84 kB / 0.5252 GB, free: 12.55 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.34e-05/0.01811, allocations: 20.33 kB / 0.5253 GB, free: 12.52 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.966e-06/0.01811, allocations: 3.094 kB / 0.5253 GB, free: 12.52 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/0.01812, allocations: 0 / 0.5253 GB, free: 12.52 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.558e-06/0.01812, allocations: 4 kB / 0.5253 GB, free: 12.52 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004927/0.01861, allocations: 164.6 kB / 0.5254 GB, free: 12.32 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.464e-06/0.01862, allocations: 0 / 0.5254 GB, free: 12.32 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000289/0.01891, allocations: 27.97 kB / 0.5254 GB, free: 12.3 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.928e-06/0.01891, allocations: 0 / 0.5254 GB, free: 12.3 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.209e-05/0.01893, allocations: 7.875 kB / 0.5255 GB, free: 12.29 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.885e-06/0.01893, allocations: 1.5 kB / 0.5255 GB, free: 12.29 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.01894, allocations: 4 kB / 0.5255 GB, free: 12.29 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009427/0.01988, allocations: 385.5 kB / 0.5258 GB, free: 11.89 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 3.193e-05/0.01991, allocations: 11.91 kB / 0.5258 GB, free: 11.88 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.827e-05/0.01996, allocations: 11.92 kB / 0.5258 GB, free: 11.87 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003206/0.02028, allocations: 15.98 kB / 0.5259 GB, free: 11.85 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.968e-05/0.02038, allocations: 12.31 kB / 0.5259 GB, free: 11.84 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.301e-05/0.02039, allocations: 0 / 0.5259 GB, free: 11.84 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0004445/0.02084, allocations: 168.5 kB / 0.526 GB, free: 11.68 MB / 0.4948 GB Notification: Performance of sort global known variables: time 3.3e-07/0.02084, allocations: 0 / 0.526 GB, free: 11.68 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0005408/0.02138, allocations: 16 kB / 0.5261 GB, free: 11.66 MB / 0.4948 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.0001994/0.02158, allocations: 103.1 kB / 0.5262 GB, free: 11.55 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0007048/0.02228, allocations: 96.88 kB / 0.5262 GB, free: 11.45 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.02228, allocations: 0 / 0.5262 GB, free: 11.45 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0003375/0.02262, allocations: 56.62 kB / 0.5263 GB, free: 11.39 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000661/0.02328, allocations: 20.55 kB / 0.5263 GB, free: 11.38 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008704/0.02415, allocations: 246.1 kB / 0.5266 GB, free: 11.1 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001753/0.02433, allocations: 92.97 kB / 0.5266 GB, free: 10.99 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.0001295/0.02446, allocations: 24.55 kB / 0.5267 GB, free: 10.96 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.992e-05/0.02454, allocations: 14 kB / 0.5267 GB, free: 10.95 MB / 0.4948 GB Notification: Performance of SimCode: time 5.92e-07/0.02454, allocations: 0 / 0.5267 GB, free: 10.95 MB / 0.4948 GB Notification: Performance of Templates: time 0.005615/0.03015, allocations: 1.237 MB / 0.5279 GB, free: 9.781 MB / 0.4948 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=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.MatrixGain.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.033312025014311]