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.0008172/0.0008172, allocations: 100.4 kB / 19.7 MB, free: 448 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.0008334/0.0008334, allocations: 216.9 kB / 23 MB, free: 2.988 MB / 13.93 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.9414/0.9414, allocations: 230.6 MB / 256.8 MB, free: 9.598 MB / 202.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.7401/0.7401, allocations: 203.5 MB / 0.5046 GB, free: 10.71 MB / 410.7 MB " [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.0009512/0.0009512, allocations: 71.52 kB / 0.7191 GB, free: 3.848 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4529/0.4539, allocations: 102 MB / 0.8186 GB, free: 1.523 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.MatrixGain): time 0.001272/0.4552, allocations: 0.744 MB / 0.8194 GB, free: 1.055 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0005545/0.4557, allocations: 0.8509 MB / 0.8202 GB, free: 424 kB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.516e-05/0.4558, allocations: 2.344 kB / 0.8202 GB, free: 424 kB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0001662/0.4559, allocations: 55.7 kB / 0.8203 GB, free: 412 kB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 4.359e-05/0.456, allocations: 48.78 kB / 0.8203 GB, free: 388 kB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 6.502e-05/0.456, allocations: 18.44 kB / 0.8203 GB, free: 380 kB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 9.863e-05/0.4561, allocations: 88.42 kB / 0.8204 GB, free: 344 kB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001056/0.4562, allocations: 13.45 kB / 0.8204 GB, free: 340 kB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 5.594e-05/0.4563, allocations: 49.3 kB / 0.8205 GB, free: 320 kB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001186/0.4564, allocations: 82.38 kB / 0.8205 GB, free: 300 kB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.724e-05/0.4564, allocations: 7.5 kB / 0.8206 GB, free: 300 kB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 1.044e-05/0.4564, allocations: 7.594 kB / 0.8206 GB, free: 300 kB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 5.318e-05/0.4565, allocations: 35.38 kB / 0.8206 GB, free: 284 kB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 3.426e-05/0.4565, allocations: 34.67 kB / 0.8206 GB, free: 264 kB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001238/0.4567, allocations: 129.1 kB / 0.8207 GB, free: 216 kB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.437e-06/0.4567, allocations: 0 / 0.8207 GB, free: 216 kB / 0.6042 GB Notification: Performance of FrontEnd: time 1.433e-06/0.4567, allocations: 0 / 0.8207 GB, free: 216 kB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.95e-06/0.4567, allocations: 0 / 0.8207 GB, free: 216 kB / 0.6042 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.000477/0.4571, allocations: 391.6 kB / 0.8211 GB, free: 15.89 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.028e-05/0.4572, allocations: 11.61 kB / 0.8211 GB, free: 15.89 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.989e-05/0.4572, allocations: 16.34 kB / 0.8211 GB, free: 15.88 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001356/0.4573, allocations: 152.4 kB / 0.8213 GB, free: 15.73 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.014e-05/0.4574, allocations: 8.781 kB / 0.8213 GB, free: 15.73 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.055e-05/0.4574, allocations: 1.875 kB / 0.8213 GB, free: 15.73 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002518/0.4576, allocations: 155.1 kB / 0.8215 GB, free: 15.65 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.933e-06/0.4576, allocations: 192 / 0.8215 GB, free: 15.65 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.083e-05/0.4576, allocations: 4.812 kB / 0.8215 GB, free: 15.65 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.12e-06/0.4576, allocations: 1.469 kB / 0.8215 GB, free: 15.65 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002795/0.4579, allocations: 172.2 kB / 0.8216 GB, free: 15.61 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004635/0.4584, allocations: 430.4 kB / 0.822 GB, free: 15.3 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002266/0.4586, allocations: 171.6 kB / 0.8222 GB, free: 15.21 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001279/0.4587, allocations: 89.91 kB / 0.8223 GB, free: 15.19 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.131e-05/0.4587, allocations: 0 / 0.8223 GB, free: 15.19 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.79e-05/0.4588, allocations: 33 kB / 0.8223 GB, free: 15.15 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=8): time 8.31e-07/0.4588, allocations: 0 / 0.8223 GB, free: 15.15 MB / 0.6198 GB Notification: Performance of matching and sorting (n=8): time 0.0004847/0.4592, allocations: 288.8 kB / 0.8226 GB, free: 15.06 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.471e-05/0.4593, allocations: 78.64 kB / 0.8227 GB, free: 14.97 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.833e-05/0.4594, allocations: 163.9 kB / 0.8228 GB, free: 14.85 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.292e-05/0.4594, allocations: 29.64 kB / 0.8228 GB, free: 14.82 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 4.506e-05/0.4594, allocations: 108.6 kB / 0.823 GB, free: 14.71 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.545e-05/0.4595, allocations: 25.69 kB / 0.823 GB, free: 14.7 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.342e-05/0.4595, allocations: 25.72 kB / 0.823 GB, free: 14.67 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.779e-05/0.4596, allocations: 322.3 kB / 0.8233 GB, free: 14.36 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001348/0.4597, allocations: 76.53 kB / 0.8234 GB, free: 14.34 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001332/0.4598, allocations: 91.8 kB / 0.8235 GB, free: 14.31 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002576/0.4601, allocations: 177.6 kB / 0.8236 GB, free: 14.26 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.398e-06/0.4601, allocations: 5.094 kB / 0.8236 GB, free: 14.26 MB / 0.6198 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002979/0.4604, allocations: 207.8 kB / 0.8238 GB, free: 14.19 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.254e-05/0.4604, allocations: 6.828 kB / 0.8238 GB, free: 14.19 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.577e-06/0.4604, allocations: 0 / 0.8238 GB, free: 14.19 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.051e-05/0.4604, allocations: 1.25 kB / 0.8238 GB, free: 14.19 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001136/0.4605, allocations: 37.45 kB / 0.8239 GB, free: 14.18 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.57e-06/0.4605, allocations: 1.5 kB / 0.8239 GB, free: 14.18 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.182e-05/0.4606, allocations: 31.28 kB / 0.8239 GB, free: 14.18 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.181e-06/0.4606, allocations: 6.562 kB / 0.8239 GB, free: 14.17 MB / 0.6198 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 7.112e-05/0.4607, allocations: 136.9 kB / 0.8241 GB, free: 14.04 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.295e-05/0.4607, allocations: 8.984 kB / 0.8241 GB, free: 14.04 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.456e-05/0.4607, allocations: 18.2 kB / 0.8241 GB, free: 14.02 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.774e-06/0.4607, allocations: 2.312 kB / 0.8241 GB, free: 14.02 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.787e-06/0.4608, allocations: 0.7969 kB / 0.8241 GB, free: 14.02 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.025e-06/0.4608, allocations: 9.344 kB / 0.8241 GB, free: 14.02 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001555/0.4609, allocations: 161 kB / 0.8242 GB, free: 13.87 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.4609, allocations: 1.375 kB / 0.8242 GB, free: 13.87 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.363e-05/0.461, allocations: 37.03 kB / 0.8243 GB, free: 13.87 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.683e-06/0.461, allocations: 1.406 kB / 0.8243 GB, free: 13.87 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.065e-06/0.461, allocations: 1.281 kB / 0.8243 GB, free: 13.87 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.452e-06/0.461, allocations: 1.891 kB / 0.8243 GB, free: 13.87 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.461, allocations: 0 / 0.8243 GB, free: 13.87 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003424/0.4613, allocations: 388.5 kB / 0.8247 GB, free: 13.61 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 1.064e-05/0.4614, allocations: 12.23 kB / 0.8247 GB, free: 13.61 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.328e-05/0.4614, allocations: 1.781 kB / 0.8247 GB, free: 13.61 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.753e-05/0.4615, allocations: 27.27 kB / 0.8247 GB, free: 13.6 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.302e-05/0.4615, allocations: 7.953 kB / 0.8247 GB, free: 13.6 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.621e-06/0.4615, allocations: 5.5 kB / 0.8247 GB, free: 13.6 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 6.542e-05/0.4616, allocations: 120.5 kB / 0.8248 GB, free: 13.52 MB / 0.6198 GB Notification: Performance of sort global known variables: time 4e-08/0.4616, allocations: 0 / 0.8248 GB, free: 13.52 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001697/0.4618, allocations: 19.97 kB / 0.8248 GB, free: 13.51 MB / 0.6198 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 7.364e-05/0.4618, allocations: 101 kB / 0.8249 GB, free: 13.42 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0003135/0.4621, allocations: 171.7 kB / 0.8251 GB, free: 13.39 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.432e-06/0.4621, allocations: 0 / 0.8251 GB, free: 13.39 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001348/0.4623, allocations: 91.81 kB / 0.8252 GB, free: 13.37 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002339/0.4625, allocations: 18.84 kB / 0.8252 GB, free: 13.36 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003679/0.4629, allocations: 280.6 kB / 0.8255 GB, free: 13.15 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.589e-05/0.463, allocations: 99.64 kB / 0.8256 GB, free: 13.07 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.161e-05/0.463, allocations: 12.69 kB / 0.8256 GB, free: 13.06 MB / 0.6198 GB Notification: Performance of SimCode: time 4.11e-07/0.463, allocations: 4 kB / 0.8256 GB, free: 13.06 MB / 0.6198 GB Notification: Performance of Templates: time 0.00221/0.4652, allocations: 1.538 MB / 0.8271 GB, free: 12.95 MB / 0.6198 GB " [Timeout remaining time 660] 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 -lv LOG_STATS > IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.MatrixGain.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.803261874709278] Failed to read output from testmodel.py, exit status != 0: 0.4710115659981966 0.482926398 0.024391376000000003 Calling exit ...