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.0009679/0.0009679, allocations: 76.45 kB / 19.91 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.00102/0.00102, 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.8408/0.8408, 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 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 0.7024/0.7024, allocations: 155 MB / 415 MB, free: 496 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 179] 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.0009147/0.0009147, allocations: 75.88 kB / 0.62 GB, free: 12.67 MB / 0.5886 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.404/0.4049, allocations: 102 MB / 0.7196 GB, free: 23.49 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.MatrixGain): time 0.001474/0.4064, allocations: 0.7298 MB / 0.7203 GB, free: 23.03 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.0007809/0.4072, allocations: 0.8612 MB / 0.7211 GB, free: 22.38 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.172e-05/0.4072, allocations: 2.25 kB / 0.7211 GB, free: 22.38 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.0001964/0.4074, allocations: 57.06 kB / 0.7212 GB, free: 22.37 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 5.472e-05/0.4075, allocations: 42.81 kB / 0.7212 GB, free: 22.36 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 8.246e-05/0.4076, allocations: 18.09 kB / 0.7212 GB, free: 22.35 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.0001195/0.4077, allocations: 88.7 kB / 0.7213 GB, free: 22.31 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001198/0.4078, allocations: 17.14 kB / 0.7213 GB, free: 22.3 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 8.978e-05/0.4079, allocations: 57.66 kB / 0.7214 GB, free: 22.28 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001317/0.408, allocations: 79.17 kB / 0.7215 GB, free: 22.27 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 2.626e-05/0.4081, allocations: 12.44 kB / 0.7215 GB, free: 22.26 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 1.318e-05/0.4081, allocations: 8 kB / 0.7215 GB, free: 22.26 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 5.831e-05/0.4081, allocations: 36.28 kB / 0.7215 GB, free: 22.25 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 4.042e-05/0.4082, allocations: 36.64 kB / 0.7215 GB, free: 22.22 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0001459/0.4083, allocations: 130.6 kB / 0.7217 GB, free: 22.17 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.4083, allocations: 0 / 0.7217 GB, free: 22.17 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.004e-06/0.4083, allocations: 1.406 kB / 0.7217 GB, free: 22.17 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 5.269e-06/0.4083, allocations: 0 / 0.7217 GB, free: 22.17 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.0005518/0.4089, allocations: 401.2 kB / 0.722 GB, free: 21.85 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.897e-05/0.4089, allocations: 10.66 kB / 0.7221 GB, free: 21.85 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.217e-05/0.4089, allocations: 15.25 kB / 0.7221 GB, free: 21.84 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001271/0.4091, allocations: 145.5 kB / 0.7222 GB, free: 21.7 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.052e-05/0.4091, allocations: 3.703 kB / 0.7222 GB, free: 21.7 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.496e-05/0.4091, allocations: 7.938 kB / 0.7222 GB, free: 21.69 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002753/0.4094, allocations: 152.8 kB / 0.7224 GB, free: 21.62 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.656e-06/0.4094, allocations: 192 / 0.7224 GB, free: 21.62 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.232e-05/0.4094, allocations: 9.375 kB / 0.7224 GB, free: 21.61 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.661e-06/0.4094, allocations: 6.391 kB / 0.7224 GB, free: 21.61 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000295/0.4097, allocations: 161.3 kB / 0.7225 GB, free: 21.58 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004657/0.4102, allocations: 446.3 kB / 0.723 GB, free: 21.25 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002511/0.4104, allocations: 156.6 kB / 0.7231 GB, free: 21.18 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000144/0.4106, allocations: 92.2 kB / 0.7232 GB, free: 21.15 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.288e-05/0.4106, allocations: 6.125 kB / 0.7232 GB, free: 21.14 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.777e-05/0.4106, allocations: 37.73 kB / 0.7232 GB, free: 21.1 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=8): time 1.012e-06/0.4106, allocations: 3.938 kB / 0.7232 GB, free: 21.1 MB / 0.6355 GB Notification: Performance of matching and sorting (n=8): time 0.0005171/0.4111, allocations: 287.1 kB / 0.7235 GB, free: 21.01 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.91e-05/0.4111, allocations: 84.33 kB / 0.7236 GB, free: 20.91 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.391e-05/0.4112, allocations: 159 kB / 0.7238 GB, free: 20.8 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 9.348e-06/0.4112, allocations: 30.83 kB / 0.7238 GB, free: 20.77 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 3.319e-05/0.4113, allocations: 100.7 kB / 0.7239 GB, free: 20.67 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.677e-05/0.4113, allocations: 34.28 kB / 0.7239 GB, free: 20.64 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.13e-05/0.4113, allocations: 21.5 kB / 0.7239 GB, free: 20.62 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 3.249e-05/0.4114, allocations: 321.2 kB / 0.7242 GB, free: 20.31 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001511/0.4115, allocations: 81.05 kB / 0.7243 GB, free: 20.29 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001375/0.4117, allocations: 88.97 kB / 0.7244 GB, free: 20.27 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002673/0.4119, allocations: 173.3 kB / 0.7246 GB, free: 20.22 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/0.4119, allocations: 11.88 kB / 0.7246 GB, free: 20.21 MB / 0.6355 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0003118/0.4122, allocations: 204.4 kB / 0.7248 GB, free: 20.14 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.477e-05/0.4122, allocations: 5.469 kB / 0.7248 GB, free: 20.14 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.9e-06/0.4123, allocations: 0 / 0.7248 GB, free: 20.14 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.276e-05/0.4123, allocations: 1.75 kB / 0.7248 GB, free: 20.14 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001287/0.4124, allocations: 41.67 kB / 0.7248 GB, free: 20.13 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.39e-06/0.4124, allocations: 1.031 kB / 0.7248 GB, free: 20.13 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.079e-05/0.4125, allocations: 28.27 kB / 0.7248 GB, free: 20.13 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.145e-06/0.4125, allocations: 3.047 kB / 0.7248 GB, free: 20.13 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 6.03e-05/0.4125, allocations: 128.4 kB / 0.725 GB, free: 20.01 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.787e-05/0.4126, allocations: 10.19 kB / 0.725 GB, free: 20 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.962e-05/0.4126, allocations: 21.95 kB / 0.725 GB, free: 19.98 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.036e-06/0.4126, allocations: 1.953 kB / 0.725 GB, free: 19.98 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.819e-06/0.4126, allocations: 5.094 kB / 0.725 GB, free: 19.98 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.238e-06/0.4126, allocations: 1.688 kB / 0.725 GB, free: 19.98 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001546/0.4128, allocations: 160.8 kB / 0.7252 GB, free: 19.84 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.193e-06/0.4128, allocations: 0 / 0.7252 GB, free: 19.84 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.273e-05/0.4129, allocations: 34.42 kB / 0.7252 GB, free: 19.84 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.595e-06/0.4129, allocations: 1.25 kB / 0.7252 GB, free: 19.84 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.357e-06/0.4129, allocations: 1.844 kB / 0.7252 GB, free: 19.84 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.724e-06/0.4129, allocations: 3.938 kB / 0.7252 GB, free: 19.83 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.4129, allocations: 5.219 kB / 0.7252 GB, free: 19.83 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003403/0.4132, allocations: 384.2 kB / 0.7256 GB, free: 19.58 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 1.363e-05/0.4132, allocations: 20.86 kB / 0.7256 GB, free: 19.56 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.283e-05/0.4132, allocations: 5.938 kB / 0.7256 GB, free: 19.56 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001028/0.4133, allocations: 26.59 kB / 0.7256 GB, free: 19.55 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.225e-05/0.4134, allocations: 9.359 kB / 0.7256 GB, free: 19.55 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.03e-06/0.4134, allocations: 5.281 kB / 0.7256 GB, free: 19.55 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 5.701e-05/0.4135, allocations: 124.3 kB / 0.7258 GB, free: 19.46 MB / 0.6355 GB Notification: Performance of sort global known variables: time 6e-08/0.4135, allocations: 0 / 0.7258 GB, free: 19.46 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0001905/0.4136, allocations: 20.28 kB / 0.7258 GB, free: 19.46 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 8.407e-05/0.4137, allocations: 97.77 kB / 0.7259 GB, free: 19.37 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0003406/0.4141, allocations: 169.9 kB / 0.726 GB, free: 19.34 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.4141, allocations: 1.188 kB / 0.726 GB, free: 19.34 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0001476/0.4142, allocations: 92.7 kB / 0.7261 GB, free: 19.32 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002706/0.4145, allocations: 14.39 kB / 0.7261 GB, free: 19.31 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004021/0.4149, allocations: 286.2 kB / 0.7264 GB, free: 19.1 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.092e-05/0.415, allocations: 97.3 kB / 0.7265 GB, free: 19.03 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.546e-05/0.415, allocations: 16.88 kB / 0.7265 GB, free: 19.02 MB / 0.6355 GB Notification: Performance of SimCode: time 5.71e-07/0.415, allocations: 0 / 0.7265 GB, free: 19.02 MB / 0.6355 GB Notification: Performance of Templates: time 0.002796/0.4178, allocations: 1.541 MB / 0.728 GB, free: 18.91 MB / 0.6355 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.372181518934667] Failed to read output from testmodel.py, exit status != 0: 0.42326570698060095 0.433575841 0.023590410000000003 Calling exit ...