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.001413/0.001413, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001534/0.001534, allocations: 209.9 kB / 22.24 MB, free: 5.262 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.408/1.408, allocations: 230.6 MB / 256 MB, free: 7.781 MB / 206.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.03411/0.03411, allocations: 6.581 MB / 319 MB, free: 12.43 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: StewartPlatform 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.002005/0.002005, allocations: 71.88 kB / 444.3 MB, free: 4.371 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.12/0.122, allocations: 54.86 MB / 499.2 MB, free: 13.43 MB / 366.1 MB Notification: Performance of NFInst.instantiate(StewartPlatform.Tests.Switch2_test): time 0.00556/0.1276, allocations: 3.604 MB / 0.491 GB, free: 9.805 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.006515/0.1341, allocations: 3.866 MB / 0.4947 GB, free: 5.926 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003303/0.1344, allocations: 12 kB / 0.4948 GB, free: 5.914 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008742/0.1353, allocations: 290.2 kB / 0.495 GB, free: 5.629 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003436/0.1387, allocations: 1.39 MB / 0.4964 GB, free: 4.234 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005935/0.1393, allocations: 231.4 kB / 0.4966 GB, free: 4.008 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.004669/0.144, allocations: 3.56 MB / 0.5001 GB, free: 452 kB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008589/0.1449, allocations: 0.5425 MB / 0.5006 GB, free: 15.86 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008991/0.1458, allocations: 0.6696 MB / 0.5013 GB, free: 15.18 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001122/0.1469, allocations: 0.8872 MB / 0.5021 GB, free: 14.29 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002024/0.1471, allocations: 116 kB / 0.5023 GB, free: 14.18 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002143/0.1492, allocations: 0.9669 MB / 0.5032 GB, free: 13.21 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000915/0.1501, allocations: 0.9313 MB / 0.5041 GB, free: 12.28 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008316/0.151, allocations: 0.7424 MB / 0.5048 GB, free: 11.53 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004121/0.1551, allocations: 2.885 MB / 0.5076 GB, free: 8.637 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.09e-06/0.1551, allocations: 0 / 0.5076 GB, free: 8.637 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.114e-06/0.1551, allocations: 0 / 0.5076 GB, free: 8.637 MB / 382.1 MB Notification: Performance of Transformations before backend: time 3.241e-05/0.1551, allocations: 0 / 0.5076 GB, free: 8.637 MB / 382.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.004702/0.1598, allocations: 2.389 MB / 0.51 GB, free: 6.207 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.951e-05/0.1599, allocations: 8.031 kB / 0.51 GB, free: 6.199 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001296/0.1612, allocations: 319.4 kB / 0.5103 GB, free: 5.887 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003446/0.1646, allocations: 1.878 MB / 0.5121 GB, free: 3.977 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006828/0.1653, allocations: 0.7771 MB / 0.5129 GB, free: 3.062 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001531/0.1655, allocations: 68.38 kB / 0.513 GB, free: 2.996 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003438/0.1689, allocations: 1.698 MB / 0.5146 GB, free: 1.254 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.12e-05/0.1689, allocations: 0 / 0.5146 GB, free: 1.254 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.898e-05/0.169, allocations: 35.94 kB / 0.5146 GB, free: 1.219 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.67e-05/0.1691, allocations: 30 kB / 0.5147 GB, free: 1.188 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.2445/0.4135, allocations: 1.857 MB / 0.5165 GB, free: 30.56 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004702/0.4182, allocations: 2.864 MB / 0.5193 GB, free: 29.95 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001926/0.4202, allocations: 0.7131 MB / 0.52 GB, free: 29.93 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00176/0.4219, allocations: 0.619 MB / 0.5206 GB, free: 29.92 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.156e-05/0.422, allocations: 2.906 kB / 0.5206 GB, free: 29.92 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00197/0.4239, allocations: 0.7496 MB / 0.5213 GB, free: 29.87 MB / 382.1 MB Notification: Performance of pre-optimization done (n=25): time 2.074e-06/0.424, allocations: 1.125 kB / 0.5213 GB, free: 29.87 MB / 382.1 MB Notification: Performance of matching and sorting (n=25): time 0.005576/0.4295, allocations: 1.955 MB / 0.5232 GB, free: 29.76 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.383e-05/0.4296, allocations: 134.1 kB / 0.5234 GB, free: 29.61 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002961/0.4325, allocations: 2.145 MB / 0.5255 GB, free: 29.16 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 5.661e-05/0.4326, allocations: 34.47 kB / 0.5255 GB, free: 29.12 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006256/0.4332, allocations: 0.776 MB / 0.5262 GB, free: 28.57 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000106/0.4333, allocations: 89.97 kB / 0.5263 GB, free: 28.5 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003515/0.4337, allocations: 223.8 kB / 0.5265 GB, free: 28.41 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 8.959e-05/0.4338, allocations: 338.5 kB / 0.5269 GB, free: 28.09 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002061/0.4358, allocations: 0.8613 MB / 0.5277 GB, free: 27.9 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002108/0.4379, allocations: 1.039 MB / 0.5287 GB, free: 27.54 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003596/0.4415, allocations: 1.382 MB / 0.5301 GB, free: 27.21 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.268e-06/0.4415, allocations: 1.125 kB / 0.5301 GB, free: 27.21 MB / 382.1 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.004272/0.4458, allocations: 1.944 MB / 0.532 GB, free: 26.59 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.044e-05/0.4458, allocations: 9.734 kB / 0.532 GB, free: 26.59 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.786e-06/0.4458, allocations: 1.219 kB / 0.532 GB, free: 26.59 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.05e-05/0.4459, allocations: 2.312 kB / 0.532 GB, free: 26.59 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009059/0.4468, allocations: 202.8 kB / 0.5322 GB, free: 26.52 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.031e-05/0.4468, allocations: 14.23 kB / 0.5322 GB, free: 26.51 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001362/0.4481, allocations: 180.4 kB / 0.5324 GB, free: 26.43 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.598e-05/0.4482, allocations: 18.44 kB / 0.5324 GB, free: 26.42 MB / 382.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.0008193/0.449, allocations: 0.6055 MB / 0.533 GB, free: 26.05 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001879/0.4492, allocations: 156 kB / 0.5331 GB, free: 25.96 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001748/0.4494, allocations: 156.1 kB / 0.5333 GB, free: 25.87 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.039e-06/0.4494, allocations: 3.562 kB / 0.5333 GB, free: 25.87 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.263e-06/0.4494, allocations: 0 / 0.5333 GB, free: 25.87 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.689e-06/0.4494, allocations: 3.938 kB / 0.5333 GB, free: 25.87 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001166/0.4506, allocations: 1.052 MB / 0.5343 GB, free: 25.19 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.4506, allocations: 0 / 0.5343 GB, free: 25.19 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007761/0.4513, allocations: 165.8 kB / 0.5345 GB, free: 25.13 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.787e-06/0.4514, allocations: 1.312 kB / 0.5345 GB, free: 25.13 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.432e-05/0.4514, allocations: 5.188 kB / 0.5345 GB, free: 25.12 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.455e-06/0.4514, allocations: 1.969 kB / 0.5345 GB, free: 25.12 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.4514, allocations: 0 / 0.5345 GB, free: 25.12 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003463/0.4549, allocations: 1.379 MB / 0.5358 GB, free: 24.41 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003233/0.4552, allocations: 168.5 kB / 0.536 GB, free: 24.3 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000208/0.4554, allocations: 10.39 kB / 0.536 GB, free: 24.29 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001001/0.4564, allocations: 153.4 kB / 0.5361 GB, free: 24.22 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000247/0.4566, allocations: 85.72 kB / 0.5362 GB, free: 24.17 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.718e-05/0.4567, allocations: 12.8 kB / 0.5362 GB, free: 24.16 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001836/0.4585, allocations: 1.537 MB / 0.5377 GB, free: 23.39 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4585, allocations: 7.219 kB / 0.5377 GB, free: 23.39 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001373/0.4599, allocations: 0.5743 MB / 0.5383 GB, free: 23.29 MB / 382.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.0008597/0.4608, allocations: 0.5019 MB / 0.5388 GB, free: 23.03 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.003582/0.4644, allocations: 1.556 MB / 0.5403 GB, free: 22.31 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.564e-06/0.4644, allocations: 0 / 0.5403 GB, free: 22.31 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001609/0.466, allocations: 0.65 MB / 0.5409 GB, free: 22 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002322/0.4683, allocations: 0.8316 MB / 0.5418 GB, free: 21.61 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003993/0.4723, allocations: 3.4 MB / 0.5451 GB, free: 18.26 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007267/0.473, allocations: 0.9518 MB / 0.546 GB, free: 17.29 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.000775/0.4738, allocations: 297.1 kB / 0.5463 GB, free: 17 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003687/0.4741, allocations: 82.31 kB / 0.5464 GB, free: 16.93 MB / 382.1 MB Notification: Performance of SimCode: time 5.01e-07/0.4741, allocations: 0 / 0.5464 GB, free: 16.93 MB / 382.1 MB Notification: Performance of Templates: time 0.04488/0.519, allocations: 33.93 MB / 0.5795 GB, free: 15.45 MB / 414.1 MB " [Timeout remaining time 659] 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.536360032856464] Failed to read output from testmodel.py, exit status != 0: 0.5269280876964331 0.541968951 0.38386795900000004 Calling exit ...