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.0007446/0.0007446, allocations: 76.45 kB / 19.9 MB, free: 12 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.0007801/0.0007801, allocations: 165.9 kB / 23.18 MB, free: 1.379 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.8913/0.8913, allocations: 177.2 MB / 203.6 MB, free: 5.758 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.7591/0.7591, allocations: 154.7 MB / 414.7 MB, free: 0.7383 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.0009732/0.0009732, allocations: 68.56 kB / 0.6196 GB, free: 13.08 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.4954/0.4963, allocations: 102 MB / 0.7192 GB, free: 23.66 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.MatrixGain): time 0.001491/0.4978, allocations: 0.737 MB / 0.7199 GB, free: 23.2 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.0007969/0.4986, allocations: 0.8518 MB / 0.7207 GB, free: 22.56 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.569e-05/0.4987, allocations: 1.125 kB / 0.7207 GB, free: 22.56 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.000205/0.4989, allocations: 56.17 kB / 0.7208 GB, free: 22.55 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 5.263e-05/0.499, allocations: 48.03 kB / 0.7208 GB, free: 22.53 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 7.751e-05/0.499, allocations: 18.11 kB / 0.7208 GB, free: 22.52 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.0001195/0.4991, allocations: 92.89 kB / 0.7209 GB, free: 22.48 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000126/0.4993, allocations: 16.8 kB / 0.7209 GB, free: 22.48 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 9.083e-05/0.4994, allocations: 61.95 kB / 0.721 GB, free: 22.45 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001387/0.4995, allocations: 79.11 kB / 0.7211 GB, free: 22.43 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 2.557e-05/0.4995, allocations: 8.562 kB / 0.7211 GB, free: 22.43 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 1.485e-05/0.4995, allocations: 7.781 kB / 0.7211 GB, free: 22.43 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 6.702e-05/0.4996, allocations: 36 kB / 0.7211 GB, free: 22.42 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 4.299e-05/0.4997, allocations: 37.66 kB / 0.7212 GB, free: 22.39 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.000168/0.4998, allocations: 124.9 kB / 0.7213 GB, free: 22.35 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.4998, allocations: 0 / 0.7213 GB, free: 22.35 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.974e-06/0.4998, allocations: 0 / 0.7213 GB, free: 22.35 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 6.112e-06/0.4998, allocations: 1.188 kB / 0.7213 GB, free: 22.35 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.0005289/0.5004, allocations: 388.7 kB / 0.7217 GB, free: 22.04 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.001e-05/0.5004, allocations: 13.77 kB / 0.7217 GB, free: 22.03 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.127e-05/0.5004, allocations: 14.12 kB / 0.7217 GB, free: 22.02 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001358/0.5006, allocations: 147.2 kB / 0.7218 GB, free: 21.88 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.145e-05/0.5006, allocations: 3.281 kB / 0.7218 GB, free: 21.88 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.65e-05/0.5006, allocations: 15.16 kB / 0.7218 GB, free: 21.87 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002818/0.5009, allocations: 152.8 kB / 0.722 GB, free: 21.8 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.727e-06/0.5009, allocations: 192 / 0.722 GB, free: 21.8 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.218e-05/0.5009, allocations: 9.031 kB / 0.722 GB, free: 21.79 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.421e-06/0.5009, allocations: 5.094 kB / 0.722 GB, free: 21.79 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003098/0.5012, allocations: 163.5 kB / 0.7222 GB, free: 21.76 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004974/0.5017, allocations: 440.1 kB / 0.7226 GB, free: 21.43 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002652/0.502, allocations: 165.1 kB / 0.7227 GB, free: 21.36 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001454/0.5021, allocations: 92.36 kB / 0.7228 GB, free: 21.32 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.565e-05/0.5021, allocations: 2.281 kB / 0.7228 GB, free: 21.32 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.714e-05/0.5022, allocations: 36.81 kB / 0.7229 GB, free: 21.28 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=8): time 1.553e-06/0.5022, allocations: 0 / 0.7229 GB, free: 21.28 MB / 0.6355 GB Notification: Performance of matching and sorting (n=8): time 0.0005373/0.5027, allocations: 289.2 kB / 0.7231 GB, free: 21.2 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.664e-05/0.5027, allocations: 79.55 kB / 0.7232 GB, free: 21.1 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001088/0.5028, allocations: 159 kB / 0.7234 GB, free: 20.98 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 8.787e-06/0.5028, allocations: 33.7 kB / 0.7234 GB, free: 20.95 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 3.477e-05/0.5029, allocations: 100.4 kB / 0.7235 GB, free: 20.85 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.867e-05/0.5029, allocations: 34.45 kB / 0.7235 GB, free: 20.82 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.316e-05/0.5029, allocations: 20.91 kB / 0.7235 GB, free: 20.8 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 3.775e-05/0.503, allocations: 323.2 kB / 0.7239 GB, free: 20.49 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001447/0.5031, allocations: 75.58 kB / 0.7239 GB, free: 20.48 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001443/0.5033, allocations: 96.22 kB / 0.724 GB, free: 20.44 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002834/0.5035, allocations: 174.5 kB / 0.7242 GB, free: 20.39 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.5035, allocations: 3.938 kB / 0.7242 GB, free: 20.39 MB / 0.6355 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0003195/0.5039, allocations: 208.4 kB / 0.7244 GB, free: 20.32 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.493e-05/0.5039, allocations: 4.844 kB / 0.7244 GB, free: 20.32 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.532e-06/0.5039, allocations: 2.078 kB / 0.7244 GB, free: 20.32 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.359e-05/0.5039, allocations: 1.188 kB / 0.7244 GB, free: 20.32 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001307/0.504, allocations: 41.31 kB / 0.7244 GB, free: 20.31 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.492e-06/0.504, allocations: 5.312 kB / 0.7244 GB, free: 20.31 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.226e-05/0.5041, allocations: 31.58 kB / 0.7245 GB, free: 20.3 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.103e-06/0.5041, allocations: 1.938 kB / 0.7245 GB, free: 20.3 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 5.755e-05/0.5042, allocations: 130.2 kB / 0.7246 GB, free: 20.18 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.589e-05/0.5042, allocations: 9.5 kB / 0.7246 GB, free: 20.18 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.958e-05/0.5042, allocations: 21.88 kB / 0.7246 GB, free: 20.16 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.695e-06/0.5042, allocations: 1.344 kB / 0.7246 GB, free: 20.16 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-06/0.5042, allocations: 1.156 kB / 0.7246 GB, free: 20.16 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.34e-06/0.5042, allocations: 2.781 kB / 0.7246 GB, free: 20.16 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000154/0.5044, allocations: 160.3 kB / 0.7248 GB, free: 20.01 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-06/0.5044, allocations: 4.562 kB / 0.7248 GB, free: 20.01 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.093e-05/0.5045, allocations: 33.91 kB / 0.7248 GB, free: 20.01 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.415e-06/0.5045, allocations: 1.875 kB / 0.7248 GB, free: 20.01 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.729e-06/0.5045, allocations: 9.438 kB / 0.7248 GB, free: 20 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.485e-06/0.5045, allocations: 0.75 kB / 0.7248 GB, free: 20 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.645e-06/0.5045, allocations: 1.281 kB / 0.7248 GB, free: 20 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003451/0.5049, allocations: 387 kB / 0.7252 GB, free: 19.75 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 1.211e-05/0.5049, allocations: 17.03 kB / 0.7252 GB, free: 19.73 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.45e-05/0.5049, allocations: 1.953 kB / 0.7252 GB, free: 19.73 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001039/0.505, allocations: 27.27 kB / 0.7252 GB, free: 19.73 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.747e-05/0.505, allocations: 7.062 kB / 0.7252 GB, free: 19.73 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.839e-06/0.505, allocations: 2.594 kB / 0.7253 GB, free: 19.73 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 5.252e-05/0.5051, allocations: 124.4 kB / 0.7254 GB, free: 19.64 MB / 0.6355 GB Notification: Performance of sort global known variables: time 5e-08/0.5051, allocations: 0 / 0.7254 GB, free: 19.64 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0001816/0.5053, allocations: 24.97 kB / 0.7254 GB, free: 19.64 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.94e-05/0.5054, allocations: 96.41 kB / 0.7255 GB, free: 19.55 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0003529/0.5057, allocations: 163.6 kB / 0.7256 GB, free: 19.52 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.5057, allocations: 0 / 0.7256 GB, free: 19.52 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0001503/0.5059, allocations: 95.55 kB / 0.7257 GB, free: 19.5 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002627/0.5061, allocations: 15.03 kB / 0.7257 GB, free: 19.49 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003912/0.5065, allocations: 250.2 kB / 0.726 GB, free: 19.32 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.957e-05/0.5066, allocations: 104.4 kB / 0.7261 GB, free: 19.24 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 6.327e-05/0.5067, allocations: 27 kB / 0.7261 GB, free: 19.24 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.857e-05/0.5067, allocations: 16.28 kB / 0.7261 GB, free: 19.23 MB / 0.6355 GB Notification: Performance of SimCode: time 5.41e-07/0.5067, allocations: 5.375 kB / 0.7261 GB, free: 19.22 MB / 0.6355 GB Notification: Performance of Templates: time 0.003007/0.5097, allocations: 1.242 MB / 0.7273 GB, free: 19.08 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 cvode -lv LOG_STATS > IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.MatrixGain.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.3217648229328915] Failed to read output from testmodel.py, exit status != 0: 0.5159826779272407 0.526183059 0.024097622000000003 Calling exit ...