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.0009703/0.0009703, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001274/0.002245, allocations: 435.8 kB / 10.33 MB, free: 368 kB / 10.45 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.001047/0.001047, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001328/0.002375, allocations: 463.6 kB / 11.68 MB, free: 2.484 MB / 13.93 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.8516/0.8516, allocations: 177.2 MB / 189.6 MB, free: 5.309 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07374/0.9253, allocations: 53.66 MB / 243.2 MB, free: 15.58 MB / 250.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.01965/0.01965, allocations: 5.058 MB / 249 MB, free: 9.926 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.002604/0.02226, allocations: 1.909 MB / 250.9 MB, free: 8.012 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.804e-06/1.804e-06, allocations: 0 / 252.3 MB, free: 6.656 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.229e-05/1.41e-05, allocations: 9.906 kB / 252.3 MB, free: 6.648 MB / 250.7 MB Notification: Performance of NFInst.instantiate(StewartPlatform.Tests.Switch2_test): time 0.003224/0.003239, allocations: 3.899 MB / 256.2 MB, free: 2.727 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.003869/0.007107, allocations: 4.216 MB / 260.4 MB, free: 14.49 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001524/0.00726, allocations: 12 kB / 260.4 MB, free: 14.48 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004453/0.007705, allocations: 310.2 kB / 260.7 MB, free: 14.18 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001654/0.009359, allocations: 1.397 MB / 262.1 MB, free: 12.77 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002598/0.009619, allocations: 227.4 kB / 262.3 MB, free: 12.55 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.002183/0.0118, allocations: 2.957 MB / 265.3 MB, free: 9.59 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004871/0.01229, allocations: 0.5717 MB / 265.9 MB, free: 8.969 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008573/0.01315, allocations: 1.196 MB / 267.1 MB, free: 7.723 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005411/0.01369, allocations: 0.7792 MB / 267.8 MB, free: 6.941 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001046/0.01379, allocations: 116 kB / 268 MB, free: 6.828 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001087/0.01488, allocations: 0.9863 MB / 268.9 MB, free: 5.84 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000487/0.01537, allocations: 0.8807 MB / 269.8 MB, free: 4.957 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003786/0.01574, allocations: 482.9 kB / 270.3 MB, free: 4.484 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001599/0.01734, allocations: 2.111 MB / 272.4 MB, free: 2.367 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.087e-05/0.01735, allocations: 0 / 272.4 MB, free: 2.367 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.182e-06/0.01736, allocations: 0 / 272.4 MB, free: 2.367 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.991e-05/0.01737, allocations: 7.875 kB / 272.4 MB, free: 2.359 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.09565/0.113, allocations: 2.563 MB / 275 MB, free: 13.79 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.082e-05/0.1131, allocations: 10.16 kB / 275 MB, free: 13.79 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006615/0.1137, allocations: 385.4 kB / 275.4 MB, free: 13.69 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001525/0.1152, allocations: 1.323 MB / 276.7 MB, free: 13.35 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002377/0.1155, allocations: 0.7495 MB / 277.4 MB, free: 12.66 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.796e-05/0.1156, allocations: 71.66 kB / 277.5 MB, free: 12.66 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009156/0.1165, allocations: 0.827 MB / 278.3 MB, free: 12.45 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.371e-05/0.1165, allocations: 1.469 kB / 278.3 MB, free: 12.45 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.703e-05/0.1166, allocations: 27.95 kB / 278.4 MB, free: 12.45 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.249e-05/0.1166, allocations: 39.92 kB / 278.4 MB, free: 12.45 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005311/0.1171, allocations: 379.5 kB / 278.8 MB, free: 12.43 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001694/0.1188, allocations: 1.509 MB / 280.3 MB, free: 11.96 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002468/0.1191, allocations: 207.8 kB / 280.5 MB, free: 11.89 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001652/0.1192, allocations: 124.4 kB / 280.6 MB, free: 11.89 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.258e-05/0.1193, allocations: 3.125 kB / 280.6 MB, free: 11.89 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003122/0.1196, allocations: 256.8 kB / 280.9 MB, free: 11.84 MB / 266.7 MB Notification: Performance of pre-optimization done (n=25): time 1.183e-06/0.1196, allocations: 0 / 280.9 MB, free: 11.84 MB / 266.7 MB Notification: Performance of matching and sorting (n=25): time 0.0006195/0.1202, allocations: 401.4 kB / 281.2 MB, free: 11.8 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.31e-05/0.1202, allocations: 61.08 kB / 281.3 MB, free: 11.74 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001123/0.1213, allocations: 1.439 MB / 282.7 MB, free: 11.55 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.228e-05/0.1214, allocations: 30.52 kB / 282.8 MB, free: 11.52 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002176/0.1216, allocations: 491.3 kB / 283.3 MB, free: 11.31 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.731e-05/0.1216, allocations: 85.48 kB / 283.3 MB, free: 11.26 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001867/0.1218, allocations: 208.1 kB / 283.5 MB, free: 11.21 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 3.523e-05/0.1219, allocations: 340.2 kB / 283.9 MB, free: 10.91 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002229/0.1221, allocations: 170.1 kB / 284 MB, free: 10.9 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002495/0.1223, allocations: 301.9 kB / 284.3 MB, free: 10.76 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003907/0.1227, allocations: 339.2 kB / 284.7 MB, free: 10.71 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.1227, allocations: 0 / 284.7 MB, free: 10.71 MB / 266.7 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.0006247/0.1234, allocations: 0.5254 MB / 285.2 MB, free: 10.65 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.288e-05/0.1234, allocations: 6.25 kB / 285.2 MB, free: 10.65 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.672e-06/0.1234, allocations: 2.188 kB / 285.2 MB, free: 10.65 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.836e-06/0.1234, allocations: 2.75 kB / 285.2 MB, free: 10.65 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000383/0.1238, allocations: 141.6 kB / 285.3 MB, free: 10.65 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.408e-06/0.1238, allocations: 4 kB / 285.3 MB, free: 10.65 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004205/0.1242, allocations: 72.89 kB / 285.4 MB, free: 10.64 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.887e-05/0.1242, allocations: 14.27 kB / 285.4 MB, free: 10.64 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.0001906/0.1244, allocations: 139.7 kB / 285.6 MB, free: 10.52 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001134/0.1245, allocations: 85.77 kB / 285.7 MB, free: 10.52 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001118/0.1247, allocations: 126.6 kB / 285.8 MB, free: 10.5 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.966e-06/0.1247, allocations: 2.406 kB / 285.8 MB, free: 10.5 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.468e-06/0.1247, allocations: 3.375 kB / 285.8 MB, free: 10.5 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.557e-06/0.1247, allocations: 1.266 kB / 285.8 MB, free: 10.5 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005661/0.1252, allocations: 0.549 MB / 286.3 MB, free: 10.41 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.415e-06/0.1252, allocations: 0 / 286.3 MB, free: 10.41 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002715/0.1255, allocations: 96.56 kB / 286.4 MB, free: 10.41 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001284/0.1256, allocations: 143.9 kB / 286.6 MB, free: 10.32 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.845e-06/0.1256, allocations: 1.312 kB / 286.6 MB, free: 10.32 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.694e-05/0.1257, allocations: 8.859 kB / 286.6 MB, free: 10.32 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.194e-06/0.1257, allocations: 7.562 kB / 286.6 MB, free: 10.32 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.1257, allocations: 0 / 286.6 MB, free: 10.32 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004308/0.1261, allocations: 350.3 kB / 286.9 MB, free: 10.23 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001296/0.1262, allocations: 7.875 kB / 286.9 MB, free: 10.23 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000295/0.1265, allocations: 56.97 kB / 287 MB, free: 10.23 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001973/0.1267, allocations: 156.4 kB / 287.1 MB, free: 10.22 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.584e-05/0.1268, allocations: 14.47 kB / 287.2 MB, free: 10.22 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0004468/0.1272, allocations: 0.6723 MB / 287.8 MB, free: 10.18 MB / 266.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.1272, allocations: 3.469 kB / 287.8 MB, free: 10.18 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0006827/0.1279, allocations: 0.5733 MB / 288.4 MB, free: 10.1 MB / 266.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.000607/0.1285, allocations: 0.5155 MB / 288.9 MB, free: 10 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.000456/0.1289, allocations: 366.6 kB / 289.3 MB, free: 9.988 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 9.588e-06/0.129, allocations: 15.75 kB / 289.3 MB, free: 9.988 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001931/0.1291, allocations: 165.4 kB / 289.5 MB, free: 9.977 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001246/0.1304, allocations: 0.9574 MB / 290.4 MB, free: 9.93 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01327/0.1437, allocations: 2.776 MB / 293.2 MB, free: 7.93 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002102/0.1439, allocations: 394.1 kB / 293.6 MB, free: 7.648 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0004232/0.1443, allocations: 154.4 kB / 293.7 MB, free: 7.531 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008151/0.1451, allocations: 432.5 kB / 294.1 MB, free: 7.184 MB / 266.7 MB Notification: Performance of SimCode: time 7.42e-07/0.1451, allocations: 0 / 294.1 MB, free: 7.184 MB / 266.7 MB Notification: Performance of Templates: time 0.03373/0.1788, allocations: 35.79 MB / 329.9 MB, free: 3.977 MB / 298.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 -lv LOG_STATS > StewartPlatform_StewartPlatform.Tests.Switch2_test.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.8391612032428384]