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.001401/0.001401, allocations: 88.72 kB / 19.44 MB, free: 356 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.001568/0.001568, allocations: 157.7 kB / 22.75 MB, free: 1.684 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.504/1.504, allocations: 177.1 MB / 203.1 MB, free: 5.609 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.244/1.244, allocations: 154.8 MB / 414.4 MB, free: 464 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 2.024e-06/2.024e-06, allocations: 0 / 0.5199 GB, free: 2.199 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.837e-05/3.04e-05, allocations: 2.312 kB / 0.5199 GB, free: 2.195 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.MatrixGain): time 0.001908/0.001938, allocations: 0.738 MB / 0.5206 GB, free: 1.484 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001207/0.003145, allocations: 0.852 MB / 0.5215 GB, free: 0.6211 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.746e-05/0.003193, allocations: 4 kB / 0.5215 GB, free: 0.6172 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002176/0.00341, allocations: 57.19 kB / 0.5215 GB, free: 0.5625 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 6.953e-05/0.00348, allocations: 31.84 kB / 0.5216 GB, free: 0.5312 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 8.024e-05/0.00356, allocations: 24.78 kB / 0.5216 GB, free: 0.5078 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001638/0.003724, allocations: 91.67 kB / 0.5217 GB, free: 428 kB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001066/0.00383, allocations: 12 kB / 0.5217 GB, free: 416 kB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001111/0.003942, allocations: 60.73 kB / 0.5217 GB, free: 356 kB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001575/0.004099, allocations: 76.84 kB / 0.5218 GB, free: 280 kB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 2.776e-05/0.004127, allocations: 8 kB / 0.5218 GB, free: 272 kB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.99e-05/0.004147, allocations: 8 kB / 0.5218 GB, free: 264 kB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 7.382e-05/0.00422, allocations: 40.52 kB / 0.5219 GB, free: 224 kB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 5.364e-05/0.004274, allocations: 25.67 kB / 0.5219 GB, free: 200 kB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001946/0.004469, allocations: 131.5 kB / 0.522 GB, free: 68 kB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.786e-06/0.004471, allocations: 0 / 0.522 GB, free: 68 kB / 490.7 MB Notification: Performance of FrontEnd: time 7.82e-07/0.004472, allocations: 0 / 0.522 GB, free: 68 kB / 490.7 MB Notification: Performance of Transformations before backend: time 4.529e-06/0.004477, allocations: 0 / 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.0008672/0.005344, allocations: 388.1 kB / 0.5224 GB, free: 15.66 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.761e-05/0.005382, allocations: 8.031 kB / 0.5224 GB, free: 15.65 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.948e-05/0.005441, allocations: 17.52 kB / 0.5224 GB, free: 15.63 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002177/0.005659, allocations: 141.6 kB / 0.5226 GB, free: 15.47 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.979e-06/0.005669, allocations: 5.062 kB / 0.5226 GB, free: 15.46 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.945e-05/0.005688, allocations: 8.375 kB / 0.5226 GB, free: 15.46 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004402/0.006128, allocations: 157.8 kB / 0.5227 GB, free: 15.3 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.606e-06/0.006137, allocations: 192 / 0.5227 GB, free: 15.3 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.063e-05/0.006158, allocations: 8.375 kB / 0.5227 GB, free: 15.29 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.929e-06/0.006163, allocations: 384 / 0.5227 GB, free: 15.29 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005995/0.006762, allocations: 169.5 kB / 0.5229 GB, free: 15.12 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008857/0.007648, allocations: 442.7 kB / 0.5233 GB, free: 14.66 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004379/0.008086, allocations: 158.5 kB / 0.5235 GB, free: 14.49 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002956/0.008381, allocations: 99.48 kB / 0.5236 GB, free: 14.39 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.754e-05/0.008399, allocations: 0 / 0.5236 GB, free: 14.39 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.139e-05/0.00845, allocations: 38.5 kB / 0.5236 GB, free: 14.34 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=8): time 9.52e-07/0.008451, allocations: 2.188 kB / 0.5236 GB, free: 14.34 MB / 0.4948 GB Notification: Performance of matching and sorting (n=8): time 0.0009851/0.009436, allocations: 290.8 kB / 0.5239 GB, free: 14.05 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.063e-05/0.009507, allocations: 81.11 kB / 0.5239 GB, free: 13.95 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003871/0.009894, allocations: 160.7 kB / 0.5241 GB, free: 13.79 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 2.687e-05/0.009921, allocations: 29.7 kB / 0.5241 GB, free: 13.75 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 8.304e-05/0.01, allocations: 101.2 kB / 0.5242 GB, free: 13.65 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 4.933e-05/0.01005, allocations: 31.73 kB / 0.5243 GB, free: 13.62 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.374e-05/0.01011, allocations: 21.72 kB / 0.5243 GB, free: 13.59 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001931/0.0103, allocations: 326.1 kB / 0.5246 GB, free: 13.27 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000279/0.01058, allocations: 75.92 kB / 0.5247 GB, free: 13.19 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002718/0.01085, allocations: 85.64 kB / 0.5247 GB, free: 13.1 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005378/0.01139, allocations: 176.5 kB / 0.5249 GB, free: 12.93 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.522e-06/0.01139, allocations: 0 / 0.5249 GB, free: 12.93 MB / 0.4948 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0006137/0.012, allocations: 218.8 kB / 0.5251 GB, free: 12.71 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.514e-05/0.01202, allocations: 6.688 kB / 0.5251 GB, free: 12.7 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.119e-06/0.01202, allocations: 2.719 kB / 0.5251 GB, free: 12.7 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.018e-05/0.01204, allocations: 4 kB / 0.5251 GB, free: 12.7 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002224/0.01227, allocations: 35.95 kB / 0.5252 GB, free: 12.66 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.604e-06/0.01227, allocations: 4 kB / 0.5252 GB, free: 12.66 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001499/0.01242, allocations: 19.97 kB / 0.5252 GB, free: 12.64 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.213e-05/0.01244, allocations: 10.38 kB / 0.5252 GB, free: 12.63 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.0001242/0.01256, allocations: 125.8 kB / 0.5253 GB, free: 12.5 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.619e-05/0.01263, allocations: 19.84 kB / 0.5253 GB, free: 12.48 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.593e-05/0.01268, allocations: 20.33 kB / 0.5254 GB, free: 12.46 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.318e-06/0.01269, allocations: 4 kB / 0.5254 GB, free: 12.45 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.997e-06/0.01269, allocations: 0 / 0.5254 GB, free: 12.45 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.465e-06/0.01269, allocations: 1.531 kB / 0.5254 GB, free: 12.45 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002861/0.01298, allocations: 161.2 kB / 0.5255 GB, free: 12.27 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.417e-06/0.01298, allocations: 4 kB / 0.5255 GB, free: 12.26 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001996/0.01318, allocations: 45.23 kB / 0.5256 GB, free: 12.22 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.873e-06/0.01318, allocations: 0 / 0.5256 GB, free: 12.22 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.373e-05/0.0132, allocations: 3.938 kB / 0.5256 GB, free: 12.21 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/0.0132, allocations: 2.438 kB / 0.5256 GB, free: 12.21 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.0132, allocations: 0 / 0.5256 GB, free: 12.21 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007128/0.01391, allocations: 377.3 kB / 0.5259 GB, free: 11.83 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.886e-05/0.01393, allocations: 11.91 kB / 0.5259 GB, free: 11.82 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.458e-05/0.01396, allocations: 7.938 kB / 0.5259 GB, free: 11.81 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002095/0.01417, allocations: 23.91 kB / 0.526 GB, free: 11.79 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.502e-05/0.01424, allocations: 17.38 kB / 0.526 GB, free: 11.77 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.077e-05/0.01425, allocations: 4 kB / 0.526 GB, free: 11.77 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0001145/0.01437, allocations: 122.5 kB / 0.5261 GB, free: 11.65 MB / 0.4948 GB Notification: Performance of sort global known variables: time 6e-08/0.01437, allocations: 0 / 0.5261 GB, free: 11.65 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0002801/0.01465, allocations: 17.28 kB / 0.5261 GB, free: 11.64 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.00014/0.01479, allocations: 95.25 kB / 0.5262 GB, free: 11.53 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0006076/0.01539, allocations: 174.6 kB / 0.5264 GB, free: 11.36 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.0154, allocations: 0 / 0.5264 GB, free: 11.36 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0002871/0.01568, allocations: 89.47 kB / 0.5265 GB, free: 11.28 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003848/0.01607, allocations: 13.5 kB / 0.5265 GB, free: 11.27 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006232/0.01669, allocations: 277.5 kB / 0.5267 GB, free: 10.96 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001243/0.01682, allocations: 93.27 kB / 0.5268 GB, free: 10.85 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 8.803e-05/0.0169, allocations: 29.16 kB / 0.5269 GB, free: 10.82 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.806e-05/0.01696, allocations: 17.16 kB / 0.5269 GB, free: 10.81 MB / 0.4948 GB Notification: Performance of SimCode: time 4.11e-07/0.01696, allocations: 0 / 0.5269 GB, free: 10.81 MB / 0.4948 GB Notification: Performance of Templates: time 0.004331/0.02129, allocations: 1.239 MB / 0.5281 GB, free: 9.637 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=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.MatrixGain.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.903440684080124]