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.001273/0.001273, allocations: 80.94 kB / 19.94 MB, free: 4.543 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.001484/0.001484, allocations: 177 kB / 23.36 MB, free: 1.129 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.8998/0.8998, allocations: 177.1 MB / 203.8 MB, free: 5.473 MB / 186.7 MB " [Timeout remaining time 179] 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.02146/0.02146, allocations: 5.068 MB / 265.3 MB, free: 7.984 MB / 250.7 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 1.482e-06/1.482e-06, allocations: 0 / 283.4 MB, free: 5.898 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.888e-05/2.036e-05, allocations: 2.312 kB / 283.4 MB, free: 5.895 MB / 266.7 MB Notification: Performance of NFInst.instantiate(StewartPlatform.Tests.Switch2_test): time 0.005292/0.005312, allocations: 3.879 MB / 287.3 MB, free: 1.996 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.09661/0.1019, allocations: 4.19 MB / 291.5 MB, free: 19.32 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003308/0.1023, allocations: 11.12 kB / 291.5 MB, free: 19.32 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006547/0.1029, allocations: 298.1 kB / 291.8 MB, free: 19.3 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002208/0.1051, allocations: 1.431 MB / 293.2 MB, free: 19.08 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003222/0.1054, allocations: 229 kB / 293.4 MB, free: 19.06 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.002515/0.108, allocations: 2.977 MB / 296.4 MB, free: 18.58 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005444/0.1085, allocations: 0.565 MB / 297 MB, free: 18.39 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009192/0.1094, allocations: 0.9161 MB / 297.9 MB, free: 18.02 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000737/0.1102, allocations: 0.7887 MB / 298.7 MB, free: 17.76 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001602/0.1103, allocations: 115.2 kB / 298.8 MB, free: 17.76 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001281/0.1116, allocations: 0.9921 MB / 299.8 MB, free: 17.54 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004775/0.1121, allocations: 0.9602 MB / 300.7 MB, free: 16.96 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005252/0.1126, allocations: 0.6038 MB / 301.4 MB, free: 16.62 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001782/0.1144, allocations: 2.353 MB / 303.7 MB, free: 15.24 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.586e-06/0.1144, allocations: 6.188 kB / 303.7 MB, free: 15.24 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.132e-06/0.1144, allocations: 0 / 303.7 MB, free: 15.24 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.596e-05/0.1144, allocations: 3.938 kB / 303.7 MB, free: 15.23 MB / 266.7 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.001739/0.1161, allocations: 2.184 MB / 305.9 MB, free: 13.59 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.627e-05/0.1162, allocations: 9.031 kB / 305.9 MB, free: 13.59 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005698/0.1167, allocations: 304.9 kB / 306.2 MB, free: 13.34 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001101/0.1178, allocations: 1.327 MB / 307.5 MB, free: 11.97 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002009/0.118, allocations: 0.7421 MB / 308.3 MB, free: 11.09 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.823e-05/0.1181, allocations: 74 kB / 308.3 MB, free: 11.02 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006913/0.1188, allocations: 0.8271 MB / 309.2 MB, free: 10.16 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.391e-05/0.1188, allocations: 192 / 309.2 MB, free: 10.16 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.147e-05/0.1189, allocations: 28.38 kB / 309.2 MB, free: 10.13 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.594e-05/0.1189, allocations: 41.92 kB / 309.2 MB, free: 10.09 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004387/0.1193, allocations: 380.7 kB / 309.6 MB, free: 9.715 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001412/0.1207, allocations: 1.507 MB / 311.1 MB, free: 8.18 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002103/0.121, allocations: 208.7 kB / 311.3 MB, free: 7.969 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001459/0.1211, allocations: 128.8 kB / 311.5 MB, free: 7.84 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.003e-05/0.1211, allocations: 4 kB / 311.5 MB, free: 7.836 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002417/0.1214, allocations: 256.7 kB / 311.7 MB, free: 7.574 MB / 266.7 MB Notification: Performance of pre-optimization done (n=25): time 1.022e-06/0.1214, allocations: 0 / 311.7 MB, free: 7.574 MB / 266.7 MB Notification: Performance of matching and sorting (n=25): time 0.0005439/0.1219, allocations: 402.7 kB / 312.1 MB, free: 7.176 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.353e-05/0.122, allocations: 132.5 kB / 312.2 MB, free: 7.016 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007712/0.1227, allocations: 1.441 MB / 313.7 MB, free: 5.566 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.468e-05/0.1228, allocations: 29.7 kB / 313.7 MB, free: 5.531 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001608/0.1229, allocations: 487 kB / 314.2 MB, free: 5.051 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.519e-05/0.123, allocations: 91.23 kB / 314.3 MB, free: 4.961 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001656/0.1231, allocations: 201.7 kB / 314.5 MB, free: 4.758 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 2.894e-05/0.1232, allocations: 341.8 kB / 314.8 MB, free: 4.418 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001977/0.1234, allocations: 172.3 kB / 315 MB, free: 4.25 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002149/0.1236, allocations: 306.1 kB / 315.3 MB, free: 3.914 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003212/0.1239, allocations: 337.7 kB / 315.6 MB, free: 3.57 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.1239, allocations: 0 / 315.6 MB, free: 3.57 MB / 266.7 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.0005423/0.1245, allocations: 0.5225 MB / 316.1 MB, free: 3.039 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.163e-05/0.1245, allocations: 4 kB / 316.1 MB, free: 3.035 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.191e-06/0.1245, allocations: 4 kB / 316.1 MB, free: 3.031 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.101e-05/0.1245, allocations: 0 / 316.1 MB, free: 3.031 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003475/0.1248, allocations: 131.8 kB / 316.3 MB, free: 2.902 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.667e-06/0.1248, allocations: 3.938 kB / 316.3 MB, free: 2.898 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004148/0.1252, allocations: 75.83 kB / 316.3 MB, free: 2.824 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.909e-05/0.1253, allocations: 12 kB / 316.3 MB, free: 2.812 MB / 266.7 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.0001979/0.1255, allocations: 136.5 kB / 316.5 MB, free: 2.668 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001027/0.1256, allocations: 83.89 kB / 316.6 MB, free: 2.586 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.478e-05/0.1257, allocations: 126.5 kB / 316.7 MB, free: 2.461 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.384e-06/0.1257, allocations: 4 kB / 316.7 MB, free: 2.457 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.863e-06/0.1257, allocations: 7.938 kB / 316.7 MB, free: 2.449 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.847e-06/0.1257, allocations: 3.984 kB / 316.7 MB, free: 2.445 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004474/0.1261, allocations: 0.5517 MB / 317.2 MB, free: 1.875 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.1261, allocations: 0 / 317.2 MB, free: 1.875 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002578/0.1264, allocations: 91.86 kB / 317.3 MB, free: 1.785 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.585e-06/0.1264, allocations: 0 / 317.3 MB, free: 1.785 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.662e-05/0.1264, allocations: 0 / 317.3 MB, free: 1.785 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.063e-06/0.1264, allocations: 11.98 kB / 317.3 MB, free: 1.773 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.1264, allocations: 1.062 kB / 317.3 MB, free: 1.773 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003873/0.1268, allocations: 342.7 kB / 317.7 MB, free: 1.418 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001201/0.1269, allocations: 142.9 kB / 317.8 MB, free: 1.277 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001303/0.1271, allocations: 8 kB / 317.8 MB, free: 1.27 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003012/0.1274, allocations: 55.94 kB / 317.9 MB, free: 1.215 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002121/0.1276, allocations: 161 kB / 318 MB, free: 1.055 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.745e-05/0.1276, allocations: 7.984 kB / 318.1 MB, free: 1.047 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0004272/0.128, allocations: 0.6727 MB / 318.7 MB, free: 388 kB / 266.7 MB Notification: Performance of sort global known variables: time 8e-08/0.128, allocations: 4 kB / 318.7 MB, free: 384 kB / 266.7 MB Notification: Performance of remove unused functions: time 0.0007437/0.1288, allocations: 0.577 MB / 319.3 MB, free: 15.8 MB / 282.7 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.0006676/0.1295, allocations: 0.5068 MB / 319.8 MB, free: 15.29 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0005356/0.13, allocations: 366.6 kB / 320.2 MB, free: 14.93 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 9.858e-06/0.13, allocations: 16 kB / 320.2 MB, free: 14.91 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002377/0.1302, allocations: 167.6 kB / 320.3 MB, free: 14.74 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001392/0.1316, allocations: 0.8366 MB / 321.2 MB, free: 13.98 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002858/0.1345, allocations: 2.733 MB / 323.9 MB, free: 11.2 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002803/0.1348, allocations: 394.1 kB / 324.3 MB, free: 10.79 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0004485/0.1352, allocations: 155.2 kB / 324.5 MB, free: 10.65 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009685/0.1362, allocations: 433 kB / 324.9 MB, free: 10.22 MB / 282.7 MB Notification: Performance of SimCode: time 6.32e-07/0.1362, allocations: 0 / 324.9 MB, free: 10.22 MB / 282.7 MB Notification: Performance of Templates: time 0.03438/0.1706, allocations: 33.97 MB / 358.8 MB, free: 8.75 MB / 314.7 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=240 -s gbode -gbm=radauIIA3 -lv LOG_STATS > StewartPlatform_StewartPlatform.Tests.Switch2_test.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.982577009126544]