Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr StewartPlatform_StewartPlatform.Tests.Switch2_test.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.001475/0.001475, allocations: 79.91 kB / 19.18 MB, free: 2.516 MB / 14.72 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.001644/0.001644, allocations: 162.8 kB / 22.46 MB, free: 5.375 MB / 14.72 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 1.456/1.456, allocations: 177.1 MB / 202.8 MB, free: 9.152 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/StewartPlatform 1.0.2/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/StewartPlatform 1.0.2/package.mo): time 0.03384/0.03384, allocations: 5.068 MB / 264.2 MB, free: 11.73 MB / 254.1 MB " [Timeout remaining time 180] Using package StewartPlatform with version 1.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/StewartPlatform 1.0.2/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(StewartPlatform.Tests.Switch2_test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="StewartPlatform_StewartPlatform.Tests.Switch2_test") translateModel(StewartPlatform.Tests.Switch2_test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="StewartPlatform_StewartPlatform.Tests.Switch2_test") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.394e-06/2.394e-06, allocations: 0 / 389.7 MB, free: 12.62 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.55e-05/2.789e-05, allocations: 2.281 kB / 389.7 MB, free: 12.61 MB / 318.1 MB Notification: Performance of NFInst.instantiate(StewartPlatform.Tests.Switch2_test): time 0.005699/0.005726, allocations: 3.598 MB / 393.3 MB, free: 8.996 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.006721/0.01245, allocations: 3.88 MB / 397.2 MB, free: 5.102 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004148/0.01286, allocations: 15.94 kB / 397.2 MB, free: 5.086 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009412/0.0138, allocations: 290.2 kB / 397.5 MB, free: 4.801 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003522/0.01733, allocations: 1.436 MB / 398.9 MB, free: 3.359 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005639/0.01789, allocations: 231.4 kB / 399.1 MB, free: 3.133 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.004894/0.02278, allocations: 3.608 MB / 402.7 MB, free: 15.52 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009077/0.02369, allocations: 0.5424 MB / 403.3 MB, free: 14.93 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001453/0.02514, allocations: 0.9198 MB / 404.2 MB, free: 14.01 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001106/0.02625, allocations: 0.8026 MB / 405 MB, free: 13.21 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002153/0.02647, allocations: 120 kB / 405.1 MB, free: 13.09 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00198/0.02845, allocations: 0.9667 MB / 406.1 MB, free: 12.12 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009832/0.02943, allocations: 0.9624 MB / 407 MB, free: 11.16 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008322/0.03026, allocations: 0.6 MB / 407.6 MB, free: 10.55 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003765/0.03403, allocations: 2.98 MB / 410.6 MB, free: 7.566 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.448e-06/0.03403, allocations: 0 / 410.6 MB, free: 7.566 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.714e-06/0.03403, allocations: 0 / 410.6 MB, free: 7.566 MB / 334.1 MB Notification: Performance of Transformations before backend: time 2.625e-05/0.03406, allocations: 0 / 410.6 MB, free: 7.566 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 184 * Number of variables: 184 Notification: Performance of Generate backend data structure: time 0.004522/0.03858, allocations: 2.37 MB / 413 MB, free: 5.156 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.434e-05/0.03863, allocations: 8.031 kB / 413 MB, free: 5.148 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001461/0.04009, allocations: 319.4 kB / 413.3 MB, free: 4.836 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003274/0.04336, allocations: 1.885 MB / 415.2 MB, free: 2.914 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006756/0.04404, allocations: 0.7694 MB / 416 MB, free: 2.012 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001603/0.0442, allocations: 68.38 kB / 416 MB, free: 1.945 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003806/0.048, allocations: 1.695 MB / 417.7 MB, free: 212 kB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.845e-05/0.04802, allocations: 4.188 kB / 417.7 MB, free: 208 kB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001163/0.04814, allocations: 28.12 kB / 417.8 MB, free: 180 kB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.909e-05/0.04819, allocations: 41.97 kB / 417.8 MB, free: 140 kB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005201/0.05339, allocations: 1.865 MB / 419.7 MB, free: 14.26 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005279/0.05867, allocations: 2.851 MB / 422.5 MB, free: 11.38 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002276/0.06094, allocations: 0.7205 MB / 423.2 MB, free: 10.64 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002067/0.06301, allocations: 0.6174 MB / 423.8 MB, free: 10.02 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.33e-05/0.06307, allocations: 0 / 423.8 MB, free: 10.02 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002259/0.06533, allocations: 0.7497 MB / 424.6 MB, free: 9.262 MB / 350.1 MB Notification: Performance of pre-optimization done (n=25): time 2.555e-06/0.06533, allocations: 3.938 kB / 424.6 MB, free: 9.258 MB / 350.1 MB Notification: Performance of matching and sorting (n=25): time 0.006535/0.07187, allocations: 1.964 MB / 426.6 MB, free: 7.285 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.533e-05/0.07196, allocations: 132.5 kB / 426.7 MB, free: 7.125 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003337/0.0753, allocations: 2.141 MB / 428.8 MB, free: 4.98 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 8.986e-05/0.07539, allocations: 37.64 kB / 428.9 MB, free: 4.938 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008253/0.07622, allocations: 0.7771 MB / 429.6 MB, free: 4.156 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001398/0.07636, allocations: 83.33 kB / 429.7 MB, free: 4.074 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004029/0.07676, allocations: 229.7 kB / 430 MB, free: 3.844 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001665/0.07693, allocations: 334 kB / 430.3 MB, free: 3.512 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00235/0.07928, allocations: 0.864 MB / 431.1 MB, free: 2.645 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002502/0.08178, allocations: 1.04 MB / 432.2 MB, free: 1.562 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004051/0.08583, allocations: 1.385 MB / 433.6 MB, free: 172 kB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.997e-06/0.08583, allocations: 0 / 433.6 MB, free: 172 kB / 350.1 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.005228/0.09106, allocations: 1.953 MB / 435.5 MB, free: 14.2 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.41e-05/0.09108, allocations: 8 kB / 435.5 MB, free: 14.2 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.738e-05/0.0911, allocations: 3.984 kB / 435.5 MB, free: 14.19 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.061e-05/0.09112, allocations: 4 kB / 435.5 MB, free: 14.19 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001095/0.09222, allocations: 199.7 kB / 435.7 MB, free: 13.99 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.81e-05/0.09224, allocations: 11.88 kB / 435.7 MB, free: 13.98 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001692/0.09393, allocations: 179.6 kB / 435.9 MB, free: 13.8 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.757e-05/0.09401, allocations: 12 kB / 435.9 MB, free: 13.79 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 6 (switch2.mux.sequenceIn[3],switch2.mux.sequenceIn[2],switch2.mux.sequenceIn[1],switch2.count,$PRE.switch2.count,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (53): * Single equations (assignments): 50 * Array equations: 3 * 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.001006/0.09501, allocations: 0.6068 MB / 436.5 MB, free: 13.18 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000247/0.09526, allocations: 151 kB / 436.7 MB, free: 13.03 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002286/0.09549, allocations: 158.5 kB / 436.8 MB, free: 12.87 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.995e-06/0.09549, allocations: 4 kB / 436.8 MB, free: 12.86 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.23e-06/0.0955, allocations: 0 / 436.8 MB, free: 12.86 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.202e-06/0.0955, allocations: 3.938 kB / 436.8 MB, free: 12.86 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001502/0.097, allocations: 1.047 MB / 437.9 MB, free: 11.78 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/0.09701, allocations: 0 / 437.9 MB, free: 11.78 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009613/0.09797, allocations: 163.7 kB / 438.1 MB, free: 11.62 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.456e-06/0.09797, allocations: 0 / 438.1 MB, free: 11.62 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.703e-05/0.09803, allocations: 8 kB / 438.1 MB, free: 11.61 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.114e-06/0.09803, allocations: 3.938 kB / 438.1 MB, free: 11.61 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.09803, allocations: 0 / 438.1 MB, free: 11.61 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004351/0.1024, allocations: 1.378 MB / 439.4 MB, free: 10.21 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003217/0.1027, allocations: 170.9 kB / 439.6 MB, free: 10.04 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002481/0.103, allocations: 11.98 kB / 439.6 MB, free: 10.03 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001186/0.1041, allocations: 151.8 kB / 439.8 MB, free: 9.883 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003051/0.1044, allocations: 79.88 kB / 439.9 MB, free: 9.805 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.69e-05/0.1045, allocations: 23.92 kB / 439.9 MB, free: 9.781 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.002292/0.1068, allocations: 1.538 MB / 441.4 MB, free: 8.25 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1068, allocations: 0 / 441.4 MB, free: 8.25 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001422/0.1082, allocations: 0.5692 MB / 442 MB, free: 7.68 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,switch2.count,switch2.mux.sequenceIn[1],switch2.mux.sequenceIn[2],switch2.mux.sequenceIn[3]) * Number of discrete states: 1 (switch2.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (25): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.001198/0.1094, allocations: 0.5294 MB / 442.5 MB, free: 7.141 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.004585/0.114, allocations: 1.546 MB / 444.1 MB, free: 5.594 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.114, allocations: 0 / 444.1 MB, free: 5.594 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002139/0.1162, allocations: 0.6594 MB / 444.7 MB, free: 4.934 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003051/0.1192, allocations: 0.8288 MB / 445.5 MB, free: 4.137 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005671/0.1249, allocations: 3.342 MB / 448.9 MB, free: 0.7539 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.1427/0.2676, allocations: 0.9583 MB / 449.8 MB, free: 66.16 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.001133/0.2687, allocations: 288.5 kB / 450.1 MB, free: 66.15 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004812/0.2692, allocations: 86 kB / 450.2 MB, free: 66.14 MB / 366.1 MB Notification: Performance of SimCode: time 1.182e-06/0.2692, allocations: 1.25 kB / 450.2 MB, free: 66.14 MB / 366.1 MB Notification: Performance of Templates: time 0.04105/0.3103, allocations: 31.97 MB / 482.2 MB, free: 45.67 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f StewartPlatform_StewartPlatform.Tests.Switch2_test.makefile [Timeout 660] (rm -f StewartPlatform_StewartPlatform.Tests.Switch2_test.pipe ; mkfifo StewartPlatform_StewartPlatform.Tests.Switch2_test.pipe ; head -c 1048576 < StewartPlatform_StewartPlatform.Tests.Switch2_test.pipe >> ../files/StewartPlatform_StewartPlatform.Tests.Switch2_test.sim & ./StewartPlatform_StewartPlatform.Tests.Switch2_test -abortSlowSimulation -alarm=480 -lv LOG_STATS > StewartPlatform_StewartPlatform.Tests.Switch2_test.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.435399834066629] Failed to read output from testmodel.py, exit status != 0: 0.3184770755469799 0.327290029 0.290960148 Calling exit ...