Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.MatrixMin.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.0007341/0.0007341, allocations: 79.69 kB / 20.03 MB, free: 4.492 MB / 18.57 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.0007619/0.0007619, allocations: 165.3 kB / 23.33 MB, free: 1.191 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.8653/0.8653, allocations: 177.1 MB / 203.7 MB, free: 5.719 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/package.mo): time 0.0342/0.0342, allocations: 9.114 MB / 269.2 MB, free: 4.453 MB / 250.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/EmbeddedTargets/STM32F4/Functions/HAL.mo:5:3-11:14:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/Incubate/OperatingSystem/DynamicArray.mo:6:3-94:18:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/Incubate/Utilities/Functions.mo:1041:3-1062:27:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/Incubate/Utilities/Functions.mo:1064:3-1092:25:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF master/package.mo): time 0.0004037/0.0004037, allocations: 27.95 kB / 328.7 MB, free: 20.61 MB / 266.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/EmbeddedTargets/STM32F4/Functions/HAL.mo:5:3-11:14:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/Incubate/OperatingSystem/DynamicArray.mo:6:3-94:18:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/Incubate/Utilities/Functions.mo:1041:3-1062:27:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/Incubate/Utilities/Functions.mo:1064:3-1092:25:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 3.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 3.0.0/package.mo): time 1.464/1.464, allocations: 275 MB / 0.6476 GB, free: 2.488 MB / 0.4949 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/EmbeddedTargets/STM32F4/Functions/HAL.mo:5:3-11:14:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/Incubate/OperatingSystem/DynamicArray.mo:6:3-94:18:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/Incubate/Utilities/Functions.mo:1041:3-1062:27:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/Incubate/Utilities/Functions.mo:1064:3-1092:25:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 178] Using package AixLib with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 3.0.0/package.mo) Using package SDF with version 0.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF master/package.mo) Using package Modelica_DeviceDrivers with version 2.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.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(AixLib.Controls.OBC.CDL.Reals.Validation.MatrixMin,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.MatrixMin") translateModel(AixLib.Controls.OBC.CDL.Reals.Validation.MatrixMin,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.MatrixMin") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.543e-06/1.543e-06, allocations: 0 / 0.9295 GB, free: 8.055 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.155e-05/2.309e-05, allocations: 5.875 kB / 0.9295 GB, free: 8.051 MB / 0.698 GB Notification: Performance of NFInst.instantiate(AixLib.Controls.OBC.CDL.Reals.Validation.MatrixMin): time 0.001201/0.001224, allocations: 0.7179 MB / 0.9302 GB, free: 7.352 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.0002158/0.001439, allocations: 61.58 kB / 0.9303 GB, free: 7.293 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.698e-05/0.001486, allocations: 7.938 kB / 0.9303 GB, free: 7.285 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.0001301/0.001617, allocations: 19.8 kB / 0.9303 GB, free: 7.266 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 4.272e-05/0.001659, allocations: 12.73 kB / 0.9303 GB, free: 7.254 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001376/0.001797, allocations: 33.66 kB / 0.9304 GB, free: 7.223 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.000148/0.001945, allocations: 131.6 kB / 0.9305 GB, free: 7.094 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001589/0.002104, allocations: 85.7 kB / 0.9306 GB, free: 7.008 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 7.821e-05/0.002182, allocations: 95.84 kB / 0.9307 GB, free: 6.914 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 7.172e-05/0.002254, allocations: 68.31 kB / 0.9307 GB, free: 6.848 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 2.975e-05/0.002284, allocations: 12 kB / 0.9307 GB, free: 6.836 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 2.08e-05/0.002304, allocations: 17.34 kB / 0.9307 GB, free: 6.82 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 5.736e-05/0.002362, allocations: 47.84 kB / 0.9308 GB, free: 6.773 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 5.31e-05/0.002415, allocations: 55.83 kB / 0.9308 GB, free: 6.719 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0001796/0.002594, allocations: 235.8 kB / 0.9311 GB, free: 6.488 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 2.044e-06/0.002596, allocations: 0.6875 kB / 0.9311 GB, free: 6.488 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.072e-06/0.002598, allocations: 0 / 0.9311 GB, free: 6.488 MB / 0.698 GB Notification: Performance of Transformations before backend: time 3.677e-06/0.002601, allocations: 0.7188 kB / 0.9311 GB, free: 6.488 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 50 * Number of variables: 50 Notification: Performance of Generate backend data structure: time 0.0003928/0.002994, allocations: 431.3 kB / 0.9315 GB, free: 6.035 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.642e-05/0.00303, allocations: 14.23 kB / 0.9315 GB, free: 6.023 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.061e-05/0.003071, allocations: 28.75 kB / 0.9315 GB, free: 5.996 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001817/0.003253, allocations: 201.9 kB / 0.9317 GB, free: 5.773 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.45e-05/0.003267, allocations: 12.75 kB / 0.9317 GB, free: 5.762 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.255e-05/0.00329, allocations: 20.38 kB / 0.9317 GB, free: 5.742 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003389/0.003629, allocations: 345.4 kB / 0.9321 GB, free: 5.395 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.729e-06/0.003638, allocations: 1.156 kB / 0.9321 GB, free: 5.395 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.595e-05/0.003654, allocations: 8.375 kB / 0.9321 GB, free: 5.387 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.636e-05/0.003681, allocations: 20.12 kB / 0.9321 GB, free: 5.367 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002262/0.003907, allocations: 264.3 kB / 0.9324 GB, free: 5.109 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007061/0.004613, allocations: 0.9221 MB / 0.9333 GB, free: 4.148 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 6.449e-05/0.004678, allocations: 175 kB / 0.9334 GB, free: 3.969 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.279e-05/0.0047, allocations: 84.08 kB / 0.9335 GB, free: 3.883 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.184e-05/0.004722, allocations: 83.16 kB / 0.9336 GB, free: 3.801 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.307e-05/0.004755, allocations: 109.8 kB / 0.9337 GB, free: 3.684 MB / 0.698 GB Notification: Performance of pre-optimization done (n=0): time 1.082e-06/0.004756, allocations: 0 / 0.9337 GB, free: 3.684 MB / 0.698 GB Notification: Performance of matching and sorting (n=0): time 6.658e-05/0.004823, allocations: 44.83 kB / 0.9337 GB, free: 3.637 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.084e-05/0.004844, allocations: 51.41 kB / 0.9338 GB, free: 3.574 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001948/0.005038, allocations: 269.2 kB / 0.934 GB, free: 3.305 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 7.825e-06/0.005046, allocations: 25.7 kB / 0.9341 GB, free: 3.273 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 8.46e-05/0.005131, allocations: 188 kB / 0.9342 GB, free: 3.082 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.344e-06/0.005133, allocations: 0 / 0.9342 GB, free: 3.082 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.823e-05/0.005171, allocations: 33.7 kB / 0.9343 GB, free: 3.043 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.000326/0.005497, allocations: 322.8 kB / 0.9346 GB, free: 2.719 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.985e-05/0.005547, allocations: 51.95 kB / 0.9346 GB, free: 2.668 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.509e-05/0.005612, allocations: 103.6 kB / 0.9347 GB, free: 2.543 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.425e-05/0.005707, allocations: 109.3 kB / 0.9348 GB, free: 2.414 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.907e-06/0.005711, allocations: 7.5 kB / 0.9348 GB, free: 2.41 MB / 0.698 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002044/0.005915, allocations: 181.3 kB / 0.935 GB, free: 2.227 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.174e-05/0.005927, allocations: 4 kB / 0.935 GB, free: 2.223 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.791e-06/0.005932, allocations: 4 kB / 0.935 GB, free: 2.219 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.145e-05/0.005944, allocations: 0 / 0.935 GB, free: 2.219 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.398e-05/0.006018, allocations: 26.83 kB / 0.935 GB, free: 2.195 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.759e-06/0.006028, allocations: 4 kB / 0.9351 GB, free: 2.191 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.039e-05/0.006078, allocations: 23.86 kB / 0.9351 GB, free: 2.168 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.159e-05/0.00609, allocations: 8 kB / 0.9351 GB, free: 2.16 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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.0001068/0.006196, allocations: 249.1 kB / 0.9353 GB, free: 1.906 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.533e-05/0.006242, allocations: 116.8 kB / 0.9354 GB, free: 1.785 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.005e-05/0.006282, allocations: 125.2 kB / 0.9356 GB, free: 1.66 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.572e-05/0.006317, allocations: 177.9 kB / 0.9357 GB, free: 1.48 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.42e-05/0.006342, allocations: 108.9 kB / 0.9358 GB, free: 1.367 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 3.067e-05/0.006372, allocations: 112.9 kB / 0.9359 GB, free: 1.25 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.029e-05/0.006423, allocations: 188.2 kB / 0.9361 GB, free: 1.059 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.676e-05/0.006479, allocations: 109 kB / 0.9362 GB, free: 0.9453 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.196e-05/0.006521, allocations: 180.5 kB / 0.9364 GB, free: 0.7617 MB / 0.698 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 5.79e-05/0.006579, allocations: 263.5 kB / 0.9366 GB, free: 0.4961 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001095/0.006689, allocations: 394.9 kB / 0.937 GB, free: 88 kB / 0.698 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 3.889e-05/0.006728, allocations: 105 kB / 0.9371 GB, free: 15.98 MB / 0.7137 GB Notification: Performance of sorting global known variables: time 0.000117/0.006845, allocations: 199.2 kB / 0.9373 GB, free: 15.78 MB / 0.7137 GB Notification: Performance of Backend: time 2.6e-07/0.006845, allocations: 3.938 kB / 0.9373 GB, free: 15.78 MB / 0.7137 GB Notification: Performance of simCode: created initialization part: time 0.0002851/0.00713, allocations: 134.5 kB / 0.9374 GB, free: 15.64 MB / 0.7137 GB Notification: Performance of SimCode: time 0.0007035/0.007833, allocations: 1.132 MB / 0.9385 GB, free: 14.45 MB / 0.7137 GB Notification: Performance of Templates: time 0.002668/0.0105, allocations: 1.36 MB / 0.9399 GB, free: 13.12 MB / 0.7137 GB " [Timeout remaining time 660] make -j1 -f AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.MatrixMin.makefile [Timeout 660] (rm -f AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.MatrixMin.pipe ; mkfifo AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.MatrixMin.pipe ; head -c 1048576 < AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.MatrixMin.pipe >> ../files/AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.MatrixMin.sim & ./AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.MatrixMin -abortSlowSimulation -alarm=480 -lv LOG_STATS > AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.MatrixMin.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.532444064505398] Failed to read output from testmodel.py, exit status != 0: 0.015761802904307842 0.024200507000000003 0.019699084000000002 Calling exit ...