Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_AixLib.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.0007232/0.0007232, allocations: 79.69 kB / 20.03 MB, free: 4.488 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.0007437/0.0007437, allocations: 165.3 kB / 23.33 MB, free: 1.188 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.8522/0.8522, allocations: 177.1 MB / 203.6 MB, free: 5.699 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.03384/0.03384, allocations: 9.128 MB / 269.2 MB, free: 4.43 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.0003611/0.0003611, allocations: 27.95 kB / 328.7 MB, free: 20.58 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.507/1.507, allocations: 275 MB / 0.6476 GB, free: 2.477 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.MatrixGain,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.MatrixGain") translateModel(AixLib.Controls.OBC.CDL.Reals.Validation.MatrixGain,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.MatrixGain") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.182e-06/1.182e-06, allocations: 0 / 0.9295 GB, free: 8.027 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.621e-05/1.739e-05, allocations: 6.219 kB / 0.9295 GB, free: 8.02 MB / 0.698 GB Notification: Performance of NFInst.instantiate(AixLib.Controls.OBC.CDL.Reals.Validation.MatrixGain): time 0.001128/0.001145, allocations: 0.7396 MB / 0.9303 GB, free: 7.301 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.000701/0.001846, allocations: 0.8587 MB / 0.9311 GB, free: 6.43 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.566e-05/0.001892, allocations: 0.625 kB / 0.9311 GB, free: 6.43 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.0001762/0.002068, allocations: 63.78 kB / 0.9312 GB, free: 6.367 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 4.255e-05/0.002111, allocations: 34.45 kB / 0.9312 GB, free: 6.336 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 6.301e-05/0.002174, allocations: 19.97 kB / 0.9312 GB, free: 6.316 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 9.739e-05/0.002271, allocations: 95.69 kB / 0.9313 GB, free: 6.223 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001013/0.002372, allocations: 11.94 kB / 0.9313 GB, free: 6.211 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 7.442e-05/0.002447, allocations: 59.86 kB / 0.9314 GB, free: 6.152 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001104/0.002557, allocations: 80.39 kB / 0.9314 GB, free: 6.074 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 2.173e-05/0.002579, allocations: 9.094 kB / 0.9314 GB, free: 6.066 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 1.144e-05/0.002591, allocations: 8 kB / 0.9315 GB, free: 6.059 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 5.319e-05/0.002644, allocations: 31.91 kB / 0.9315 GB, free: 6.027 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 3.447e-05/0.002678, allocations: 28.95 kB / 0.9315 GB, free: 6 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0001242/0.002802, allocations: 131.5 kB / 0.9316 GB, free: 5.871 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 2.074e-06/0.002804, allocations: 0 / 0.9316 GB, free: 5.871 MB / 0.698 GB Notification: Performance of FrontEnd: time 9.82e-07/0.002805, allocations: 4.5 kB / 0.9316 GB, free: 5.867 MB / 0.698 GB Notification: Performance of Transformations before backend: time 3.086e-06/0.002809, allocations: 0.5625 kB / 0.9316 GB, free: 5.867 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0004723/0.003281, allocations: 383.6 kB / 0.932 GB, free: 5.461 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.476e-05/0.003316, allocations: 15.42 kB / 0.932 GB, free: 5.449 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.898e-05/0.003345, allocations: 16.84 kB / 0.932 GB, free: 5.434 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001294/0.003474, allocations: 142.5 kB / 0.9322 GB, free: 5.27 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.047e-06/0.003483, allocations: 384 / 0.9322 GB, free: 5.27 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.597e-05/0.003499, allocations: 8.375 kB / 0.9322 GB, free: 5.262 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002415/0.003741, allocations: 154 kB / 0.9323 GB, free: 5.102 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.853e-06/0.003747, allocations: 4.125 kB / 0.9323 GB, free: 5.098 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.104e-05/0.003758, allocations: 5.094 kB / 0.9323 GB, free: 5.094 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.429e-06/0.003763, allocations: 384 / 0.9323 GB, free: 5.094 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002749/0.004038, allocations: 176 kB / 0.9325 GB, free: 4.926 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004566/0.004494, allocations: 436.5 kB / 0.9329 GB, free: 4.465 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002325/0.004727, allocations: 154.4 kB / 0.9331 GB, free: 4.297 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001384/0.004865, allocations: 99.03 kB / 0.9332 GB, free: 4.195 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.286e-05/0.004878, allocations: 4.844 kB / 0.9332 GB, free: 4.191 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.197e-05/0.0049, allocations: 46.44 kB / 0.9332 GB, free: 4.137 MB / 0.698 GB Notification: Performance of pre-optimization done (n=8): time 1.122e-06/0.004901, allocations: 0.6562 kB / 0.9332 GB, free: 4.137 MB / 0.698 GB Notification: Performance of matching and sorting (n=8): time 0.0007423/0.005643, allocations: 285.1 kB / 0.9335 GB, free: 3.855 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.77e-05/0.005671, allocations: 77.11 kB / 0.9336 GB, free: 3.762 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.993e-05/0.005771, allocations: 160.7 kB / 0.9337 GB, free: 3.598 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.265e-05/0.005784, allocations: 33.14 kB / 0.9337 GB, free: 3.562 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 4.404e-05/0.005828, allocations: 108.1 kB / 0.9339 GB, free: 3.453 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.605e-05/0.005854, allocations: 35.72 kB / 0.9339 GB, free: 3.418 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.127e-05/0.005885, allocations: 17.72 kB / 0.9339 GB, free: 3.395 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 7.362e-05/0.005959, allocations: 322.8 kB / 0.9342 GB, free: 3.07 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001269/0.006086, allocations: 75.92 kB / 0.9343 GB, free: 2.996 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001293/0.006215, allocations: 93.39 kB / 0.9344 GB, free: 2.902 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002512/0.006466, allocations: 173.5 kB / 0.9345 GB, free: 2.727 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/0.006468, allocations: 0 / 0.9345 GB, free: 2.727 MB / 0.698 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002928/0.006761, allocations: 206.3 kB / 0.9347 GB, free: 2.52 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.174e-05/0.006773, allocations: 7.938 kB / 0.9347 GB, free: 2.512 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.909e-06/0.006777, allocations: 4 kB / 0.9347 GB, free: 2.508 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.052e-05/0.006788, allocations: 0 / 0.9347 GB, free: 2.508 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000109/0.006897, allocations: 35.89 kB / 0.9348 GB, free: 2.473 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.723e-06/0.006904, allocations: 4 kB / 0.9348 GB, free: 2.469 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.374e-05/0.006967, allocations: 31.91 kB / 0.9348 GB, free: 2.438 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.883e-06/0.006974, allocations: 4 kB / 0.9348 GB, free: 2.434 MB / 0.698 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.245e-05/0.007037, allocations: 121.8 kB / 0.9349 GB, free: 2.305 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.763e-05/0.007064, allocations: 19.84 kB / 0.935 GB, free: 2.285 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.649e-05/0.007091, allocations: 24.33 kB / 0.935 GB, free: 2.262 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.375e-06/0.007093, allocations: 0 / 0.935 GB, free: 2.262 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.61e-07/0.007094, allocations: 0 / 0.935 GB, free: 2.262 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 1.044e-05/0.007104, allocations: 11.89 kB / 0.935 GB, free: 2.25 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.324e-05/0.007118, allocations: 4 kB / 0.935 GB, free: 2.246 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.954e-05/0.007217, allocations: 27.95 kB / 0.935 GB, free: 2.219 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.433e-05/0.007261, allocations: 12.45 kB / 0.935 GB, free: 2.207 MB / 0.698 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0003624/0.007624, allocations: 379.9 kB / 0.9354 GB, free: 1.828 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0003383/0.007962, allocations: 457.8 kB / 0.9358 GB, free: 1.363 MB / 0.698 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001397/0.008102, allocations: 87.91 kB / 0.9359 GB, free: 1.277 MB / 0.698 GB Notification: Performance of sorting global known variables: time 5.634e-05/0.008158, allocations: 121.4 kB / 0.936 GB, free: 1.16 MB / 0.698 GB Notification: Performance of Backend: time 2.21e-07/0.008158, allocations: 0 / 0.936 GB, free: 1.16 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0003895/0.008548, allocations: 162.3 kB / 0.9362 GB, free: 0.9922 MB / 0.698 GB Notification: Performance of SimCode: time 0.0004369/0.008985, allocations: 0.671 MB / 0.9368 GB, free: 280 kB / 0.698 GB Notification: Performance of Templates: time 0.002745/0.01173, allocations: 1.774 MB / 0.9386 GB, free: 14.53 MB / 0.7137 GB " [Timeout remaining time 660] make -j1 -f AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.MatrixGain.makefile [Timeout 660] (rm -f AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.MatrixGain.pipe ; mkfifo AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.MatrixGain.pipe ; head -c 1048576 < AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.MatrixGain.pipe >> ../files/AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.MatrixGain.sim & ./AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.MatrixGain -abortSlowSimulation -alarm=480 -lv LOG_STATS > AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.MatrixGain.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.640537622384727] Failed to read output from testmodel.py, exit status != 0: 0.016023756936192513 0.024362380000000003 0.019948343 Calling exit ...