Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.MatrixMax.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.0007757/0.0007757, allocations: 105.5 kB / 18.95 MB, free: 1.188 MB / 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.001301/0.001301, allocations: 207.6 kB / 22.25 MB, free: 3.59 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.9497/0.9497, allocations: 230.6 MB / 256 MB, free: 9.602 MB / 202.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.7518/0.7518, allocations: 203.8 MB / 0.5042 GB, free: 10.43 MB / 410.7 MB " [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: "" <> buildModelFMU(IDEAS.Controls.OBC.CDL.Reals.Validation.MatrixMax,fileNamePrefix="IDEAS_dev_IDEAS_Controls_OBC_CDL_Reals_Validation_MatrixMax",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.OBC.CDL.Reals.Validation.MatrixMax,fileNamePrefix="IDEAS_dev_IDEAS_Controls_OBC_CDL_Reals_Validation_MatrixMax",fmuType="me",version="2.0",platforms={"static"}) [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.0009836/0.0009836, allocations: 66.69 kB / 0.7182 GB, free: 4.012 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4739/0.4749, allocations: 102 MB / 0.8178 GB, free: 1.043 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.MatrixMax): time 0.001456/0.4763, allocations: 0.7187 MB / 0.8185 GB, free: 0.5898 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0002215/0.4765, allocations: 51.69 kB / 0.8186 GB, free: 0.5586 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.806e-05/0.4766, allocations: 10.75 kB / 0.8186 GB, free: 0.5508 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0001468/0.4767, allocations: 20.97 kB / 0.8186 GB, free: 0.5352 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 4.671e-05/0.4768, allocations: 16.08 kB / 0.8186 GB, free: 0.5273 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001633/0.4769, allocations: 24.92 kB / 0.8187 GB, free: 0.5195 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0001554/0.4771, allocations: 119.7 kB / 0.8188 GB, free: 488 kB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001753/0.4773, allocations: 92.45 kB / 0.8189 GB, free: 444 kB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 5.782e-05/0.4773, allocations: 70.89 kB / 0.8189 GB, free: 416 kB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 7.097e-05/0.4774, allocations: 87.58 kB / 0.819 GB, free: 372 kB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 2.391e-05/0.4774, allocations: 11.81 kB / 0.819 GB, free: 372 kB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 1.898e-05/0.4774, allocations: 11.25 kB / 0.819 GB, free: 372 kB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 5.998e-05/0.4775, allocations: 53.98 kB / 0.8191 GB, free: 344 kB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 5.135e-05/0.4776, allocations: 61.28 kB / 0.8191 GB, free: 308 kB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.000201/0.4778, allocations: 238.1 kB / 0.8194 GB, free: 224 kB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.057e-06/0.4778, allocations: 0.7031 kB / 0.8194 GB, free: 224 kB / 0.6042 GB Notification: Performance of FrontEnd: time 1.934e-06/0.4778, allocations: 0 / 0.8194 GB, free: 224 kB / 0.6042 GB Notification: Performance of Transformations before backend: time 6.212e-06/0.4778, allocations: 0 / 0.8194 GB, free: 224 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: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.0004288/0.4782, allocations: 435 kB / 0.8198 GB, free: 15.85 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.871e-05/0.4782, allocations: 16.38 kB / 0.8198 GB, free: 15.85 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.609e-05/0.4783, allocations: 55.11 kB / 0.8199 GB, free: 15.8 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.395e-05/0.4783, allocations: 23.23 kB / 0.8199 GB, free: 15.79 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001959/0.4785, allocations: 202 kB / 0.8201 GB, free: 15.62 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.533e-05/0.4785, allocations: 16.31 kB / 0.8201 GB, free: 15.61 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.909e-05/0.4786, allocations: 16.8 kB / 0.8201 GB, free: 15.61 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003588/0.4789, allocations: 336.5 kB / 0.8204 GB, free: 15.49 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.698e-06/0.4789, allocations: 0 / 0.8204 GB, free: 15.49 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.525e-05/0.4789, allocations: 5.281 kB / 0.8204 GB, free: 15.48 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.933e-05/0.479, allocations: 18.06 kB / 0.8204 GB, free: 15.48 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002666/0.4792, allocations: 268.2 kB / 0.8207 GB, free: 15.43 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009842/0.4802, allocations: 1.04 MB / 0.8217 GB, free: 14.71 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 7.498e-05/0.4803, allocations: 171.2 kB / 0.8219 GB, free: 14.53 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.414e-05/0.4803, allocations: 81.39 kB / 0.822 GB, free: 14.45 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.034e-05/0.4803, allocations: 75.28 kB / 0.822 GB, free: 14.38 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.063e-05/0.4804, allocations: 116.2 kB / 0.8221 GB, free: 14.25 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=0): time 2.013e-06/0.4804, allocations: 5.141 kB / 0.8221 GB, free: 14.25 MB / 0.6198 GB Notification: Performance of matching and sorting (n=0): time 7.668e-05/0.4805, allocations: 52.66 kB / 0.8222 GB, free: 14.2 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.022e-05/0.4805, allocations: 127.8 kB / 0.8223 GB, free: 14.07 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004114/0.4809, allocations: 0.4961 MB / 0.8228 GB, free: 13.87 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 9.238e-06/0.4809, allocations: 26.7 kB / 0.8228 GB, free: 13.84 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 9.084e-05/0.481, allocations: 173 kB / 0.823 GB, free: 13.69 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 4.258e-06/0.481, allocations: 1.062 kB / 0.823 GB, free: 13.69 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.177e-05/0.4811, allocations: 32.41 kB / 0.823 GB, free: 13.67 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 8.745e-05/0.4811, allocations: 342.8 kB / 0.8234 GB, free: 13.34 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.832e-05/0.4812, allocations: 43.38 kB / 0.8234 GB, free: 13.34 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.578e-05/0.4813, allocations: 96.5 kB / 0.8235 GB, free: 13.27 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000101/0.4814, allocations: 106.3 kB / 0.8236 GB, free: 13.2 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.965e-06/0.4814, allocations: 1.406 kB / 0.8236 GB, free: 13.2 MB / 0.6198 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002305/0.4816, allocations: 183.7 kB / 0.8238 GB, free: 13.12 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.654e-05/0.4816, allocations: 10.19 kB / 0.8238 GB, free: 13.12 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.382e-06/0.4816, allocations: 2.078 kB / 0.8238 GB, free: 13.12 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.503e-05/0.4816, allocations: 2.75 kB / 0.8238 GB, free: 13.12 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.367e-05/0.4817, allocations: 18.33 kB / 0.8238 GB, free: 13.12 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.961e-06/0.4817, allocations: 7.172 kB / 0.8238 GB, free: 13.11 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.45e-05/0.4818, allocations: 35.5 kB / 0.8238 GB, free: 13.1 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.619e-05/0.4818, allocations: 16.34 kB / 0.8239 GB, free: 13.09 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (7): * Single equations (assignments): 7 * 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.0001277/0.4819, allocations: 246.5 kB / 0.8241 GB, free: 12.89 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.525e-05/0.482, allocations: 137.8 kB / 0.8242 GB, free: 12.76 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.67e-05/0.482, allocations: 133.1 kB / 0.8243 GB, free: 12.64 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.141e-05/0.4821, allocations: 181.5 kB / 0.8245 GB, free: 12.46 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.88e-05/0.4821, allocations: 178.2 kB / 0.8247 GB, free: 12.28 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.103e-05/0.4822, allocations: 183 kB / 0.8249 GB, free: 12.1 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002097/0.4824, allocations: 449.4 kB / 0.8253 GB, free: 11.67 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.552e-05/0.4824, allocations: 111 kB / 0.8254 GB, free: 11.55 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.499e-05/0.4824, allocations: 110.8 kB / 0.8255 GB, free: 11.44 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.161e-05/0.4825, allocations: 182.2 kB / 0.8257 GB, free: 11.26 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.344e-05/0.4825, allocations: 186.2 kB / 0.8259 GB, free: 11.07 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.003e-05/0.4825, allocations: 178.3 kB / 0.826 GB, free: 10.89 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.121e-05/0.4826, allocations: 182.2 kB / 0.8262 GB, free: 10.71 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001159/0.4827, allocations: 323.8 kB / 0.8265 GB, free: 10.38 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 7.258e-05/0.4828, allocations: 149.4 kB / 0.8266 GB, free: 10.25 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.726e-05/0.4828, allocations: 183.9 kB / 0.8268 GB, free: 10.07 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.079e-05/0.4829, allocations: 111.5 kB / 0.8269 GB, free: 9.961 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.58e-05/0.4829, allocations: 185.8 kB / 0.8271 GB, free: 9.773 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.678e-05/0.483, allocations: 103.3 kB / 0.8272 GB, free: 9.668 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0002734/0.4832, allocations: 362.5 kB / 0.8276 GB, free: 9.527 MB / 0.6198 GB Notification: Performance of sort global known variables: time 7.1e-08/0.4832, allocations: 1.469 kB / 0.8276 GB, free: 9.527 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001789/0.4834, allocations: 23.34 kB / 0.8276 GB, free: 9.527 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (0): * Single equations (assignments): 0 * 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.0003171/0.4837, allocations: 0.8329 MB / 0.8284 GB, free: 8.699 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.000122/0.4839, allocations: 68.95 kB / 0.8285 GB, free: 8.684 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.4839, allocations: 448 / 0.8285 GB, free: 8.684 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 8.71e-07/0.4839, allocations: 4 kB / 0.8285 GB, free: 8.68 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004448/0.4843, allocations: 482.2 kB / 0.8289 GB, free: 8.219 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002507/0.4868, allocations: 3.278 MB / 0.8321 GB, free: 6.328 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000128/0.4869, allocations: 170.7 kB / 0.8323 GB, free: 6.242 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 8.631e-05/0.487, allocations: 47.05 kB / 0.8323 GB, free: 6.238 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.53e-05/0.4871, allocations: 59.11 kB / 0.8324 GB, free: 6.195 MB / 0.6198 GB Notification: Performance of SimCode: time 9.72e-07/0.4871, allocations: 0.5 kB / 0.8324 GB, free: 6.195 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02043/0.5076, allocations: 5.227 MB / 0.8375 GB, free: 5.105 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.828/7.336, allocations: 9.969 kB / 0.8375 GB, free: 5.102 MB / 0.6198 GB " [Timeout remaining time 653] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.MatrixMax.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.MatrixMax.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.MatrixMax.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.MatrixMax.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Controls_OBC_CDL_Reals_Validation_MatrixMax_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Controls_OBC_CDL_Reals_Validation_MatrixMax.fmu > IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.MatrixMax.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.155337370932102] Failed to read output from testmodel.py, exit status != 0: 7.416632615961134 7.425677123 6.945975778 Calling exit ...