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.001436/0.001436, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.001699/0.001699, allocations: 219.2 kB / 22.26 MB, free: 5.125 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.602/1.602, allocations: 230.6 MB / 256 MB, free: 7.98 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.0349/0.0349, allocations: 6.568 MB / 319 MB, free: 12.64 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.002077/0.002077, allocations: 63.89 kB / 444.4 MB, free: 4.832 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1071/0.1091, allocations: 54.88 MB / 499.2 MB, free: 13.88 MB / 366.1 MB Notification: Performance of NFInst.instantiate(StewartPlatform.Tests.Switch2_test): time 0.005432/0.1146, allocations: 3.914 MB / 0.4914 GB, free: 9.949 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.006353/0.1209, allocations: 4.283 MB / 0.4955 GB, free: 5.648 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002516/0.1212, allocations: 15.94 kB / 0.4956 GB, free: 5.633 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008125/0.122, allocations: 318.1 kB / 0.4959 GB, free: 5.32 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002997/0.125, allocations: 1.39 MB / 0.4972 GB, free: 3.926 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004693/0.1255, allocations: 227.5 kB / 0.4974 GB, free: 3.703 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.004598/0.1301, allocations: 3.556 MB / 0.5009 GB, free: 144 kB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008951/0.131, allocations: 0.5464 MB / 0.5014 GB, free: 15.55 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008886/0.1318, allocations: 0.6696 MB / 0.5021 GB, free: 14.88 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00115/0.133, allocations: 0.9028 MB / 0.503 GB, free: 13.97 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001913/0.1332, allocations: 120 kB / 0.5031 GB, free: 13.86 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002313/0.1355, allocations: 1.15 MB / 0.5042 GB, free: 12.7 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009512/0.1365, allocations: 0.9312 MB / 0.5051 GB, free: 11.77 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009727/0.1374, allocations: 0.9171 MB / 0.506 GB, free: 10.85 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003472/0.1409, allocations: 2.912 MB / 0.5089 GB, free: 7.926 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.889e-06/0.1409, allocations: 0 / 0.5089 GB, free: 7.926 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.382e-06/0.1409, allocations: 4 kB / 0.5089 GB, free: 7.922 MB / 382.1 MB Notification: Performance of Transformations before backend: time 2.517e-05/0.1409, allocations: 0 / 0.5089 GB, free: 7.922 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.004368/0.1453, allocations: 2.389 MB / 0.5112 GB, free: 5.492 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.958e-05/0.1453, allocations: 8.031 kB / 0.5112 GB, free: 5.484 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001311/0.1466, allocations: 319.4 kB / 0.5115 GB, free: 5.172 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003464/0.1501, allocations: 1.878 MB / 0.5133 GB, free: 3.262 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007204/0.1508, allocations: 0.7694 MB / 0.5141 GB, free: 2.355 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000157/0.151, allocations: 72.36 kB / 0.5142 GB, free: 2.285 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003522/0.1545, allocations: 1.623 MB / 0.5157 GB, free: 0.6367 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.711e-05/0.1545, allocations: 0 / 0.5157 GB, free: 0.6367 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000103/0.1546, allocations: 28 kB / 0.5158 GB, free: 0.6094 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.199e-05/0.1547, allocations: 37.98 kB / 0.5158 GB, free: 0.5703 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.2159/0.3706, allocations: 1.856 MB / 0.5176 GB, free: 30.06 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005344/0.3759, allocations: 3.428 MB / 0.521 GB, free: 29.41 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002001/0.3779, allocations: 0.7092 MB / 0.5217 GB, free: 29.39 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001732/0.3797, allocations: 0.6216 MB / 0.5223 GB, free: 29.38 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.895e-05/0.3797, allocations: 2.828 kB / 0.5223 GB, free: 29.38 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001943/0.3817, allocations: 0.7484 MB / 0.523 GB, free: 29.33 MB / 382.1 MB Notification: Performance of pre-optimization done (n=25): time 2.364e-06/0.3817, allocations: 0 / 0.523 GB, free: 29.33 MB / 382.1 MB Notification: Performance of matching and sorting (n=25): time 0.005599/0.3873, allocations: 1.978 MB / 0.5249 GB, free: 29.2 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.866e-05/0.3873, allocations: 137.8 kB / 0.5251 GB, free: 29.04 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003493/0.3908, allocations: 2.421 MB / 0.5274 GB, free: 28.22 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 6.081e-05/0.3909, allocations: 32.48 kB / 0.5275 GB, free: 28.18 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005962/0.3915, allocations: 0.7935 MB / 0.5282 GB, free: 27.59 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.843e-05/0.3916, allocations: 88.92 kB / 0.5283 GB, free: 27.54 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002961/0.3919, allocations: 201.2 kB / 0.5285 GB, free: 27.45 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.184e-05/0.3919, allocations: 336.5 kB / 0.5288 GB, free: 27.14 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002077/0.394, allocations: 0.8666 MB / 0.5297 GB, free: 26.94 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002087/0.3961, allocations: 0.9637 MB / 0.5306 GB, free: 26.67 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003369/0.3995, allocations: 1.388 MB / 0.532 GB, free: 26.13 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.917e-06/0.3995, allocations: 1 kB / 0.532 GB, free: 26.13 MB / 382.1 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.004373/0.4039, allocations: 1.964 MB / 0.5339 GB, free: 25.21 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.079e-05/0.4039, allocations: 5.844 kB / 0.5339 GB, free: 25.21 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.047e-06/0.4039, allocations: 1.156 kB / 0.5339 GB, free: 25.21 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.047e-05/0.4039, allocations: 2.25 kB / 0.5339 GB, free: 25.21 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009327/0.4048, allocations: 207.4 kB / 0.5341 GB, free: 25.14 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.154e-05/0.4049, allocations: 10 kB / 0.5341 GB, free: 25.13 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001453/0.4063, allocations: 204.6 kB / 0.5343 GB, free: 25.05 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.729e-05/0.4064, allocations: 16.92 kB / 0.5343 GB, free: 25.04 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.0007545/0.4071, allocations: 0.6054 MB / 0.5349 GB, free: 24.67 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002039/0.4073, allocations: 173.5 kB / 0.5351 GB, free: 24.57 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002295/0.4076, allocations: 180.5 kB / 0.5353 GB, free: 24.48 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.741e-06/0.4076, allocations: 4.312 kB / 0.5353 GB, free: 24.48 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.357e-06/0.4076, allocations: 3.938 kB / 0.5353 GB, free: 24.48 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.198e-06/0.4076, allocations: 3.984 kB / 0.5353 GB, free: 24.47 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001438/0.409, allocations: 1.371 MB / 0.5366 GB, free: 23.49 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.743e-06/0.409, allocations: 1.219 kB / 0.5366 GB, free: 23.49 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008151/0.4098, allocations: 166.4 kB / 0.5368 GB, free: 23.43 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.867e-06/0.4098, allocations: 3.359 kB / 0.5368 GB, free: 23.43 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.118e-05/0.4099, allocations: 6.344 kB / 0.5368 GB, free: 23.42 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.707e-06/0.4099, allocations: 1.125 kB / 0.5368 GB, free: 23.42 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.773e-06/0.4099, allocations: 7.938 kB / 0.5368 GB, free: 23.41 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003466/0.4134, allocations: 1.398 MB / 0.5381 GB, free: 22.68 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003804/0.4137, allocations: 199.8 kB / 0.5383 GB, free: 22.55 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002539/0.414, allocations: 10.73 kB / 0.5383 GB, free: 22.54 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001023/0.415, allocations: 153 kB / 0.5385 GB, free: 22.48 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002542/0.4153, allocations: 86.62 kB / 0.5386 GB, free: 22.42 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.029e-05/0.4153, allocations: 16.17 kB / 0.5386 GB, free: 22.41 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.00217/0.4175, allocations: 1.749 MB / 0.5403 GB, free: 21.51 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4175, allocations: 3.938 kB / 0.5403 GB, free: 21.51 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001248/0.4188, allocations: 0.557 MB / 0.5408 GB, free: 21.46 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.0009626/0.4197, allocations: 0.5034 MB / 0.5413 GB, free: 21.23 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.003565/0.4233, allocations: 1.55 MB / 0.5429 GB, free: 20.52 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/0.4233, allocations: 1 kB / 0.5429 GB, free: 20.52 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001664/0.4249, allocations: 0.6498 MB / 0.5435 GB, free: 20.2 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002924/0.4279, allocations: 0.96 MB / 0.5444 GB, free: 19.3 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004283/0.4322, allocations: 3.438 MB / 0.5478 GB, free: 15.84 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007755/0.4329, allocations: 1.54 MB / 0.5493 GB, free: 14.27 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0008644/0.4338, allocations: 313.6 kB / 0.5496 GB, free: 13.97 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004293/0.4342, allocations: 98.09 kB / 0.5497 GB, free: 13.88 MB / 382.1 MB Notification: Performance of SimCode: time 7.02e-07/0.4342, allocations: 0 / 0.5497 GB, free: 13.88 MB / 382.1 MB Notification: Performance of Templates: time 0.05164/0.4859, allocations: 33.14 MB / 0.582 GB, free: 13.03 MB / 414.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.829735410166904] Failed to read output from testmodel.py, exit status != 0: 0.4938059120904654 0.509286028 0.36525415699999997 Calling exit ...