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.0008533/0.0008533, allocations: 80.75 kB / 19.94 MB, free: 4.547 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.0008834/0.0008834, allocations: 181 kB / 23.36 MB, free: 1.133 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.8801/0.8801, allocations: 177.1 MB / 203.8 MB, free: 5.477 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.01991/0.01991, allocations: 5.073 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.583e-06/1.583e-06, allocations: 0 / 283.4 MB, free: 5.953 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.889e-06/1.147e-05, allocations: 6.25 kB / 283.4 MB, free: 5.945 MB / 266.7 MB Notification: Performance of NFInst.instantiate(StewartPlatform.Tests.Switch2_test): time 0.003048/0.00306, allocations: 3.831 MB / 287.2 MB, free: 2.094 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.09831/0.1014, allocations: 4.193 MB / 291.4 MB, free: 18.77 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003351/0.1017, allocations: 11.94 kB / 291.4 MB, free: 18.77 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005888/0.1023, allocations: 299 kB / 291.7 MB, free: 18.75 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002084/0.1044, allocations: 1.458 MB / 293.2 MB, free: 18.55 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003207/0.1047, allocations: 227.8 kB / 293.4 MB, free: 18.54 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.002438/0.1071, allocations: 2.98 MB / 296.4 MB, free: 18.1 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005068/0.1076, allocations: 0.5651 MB / 296.9 MB, free: 17.93 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008627/0.1085, allocations: 0.9167 MB / 297.8 MB, free: 17.81 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008273/0.1093, allocations: 0.7857 MB / 298.6 MB, free: 17.66 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001938/0.1095, allocations: 115.7 kB / 298.7 MB, free: 17.66 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001394/0.1109, allocations: 0.9509 MB / 299.7 MB, free: 17.45 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006085/0.1115, allocations: 0.9679 MB / 300.7 MB, free: 16.89 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006058/0.1121, allocations: 0.5997 MB / 301.3 MB, free: 16.55 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002025/0.1142, allocations: 2.353 MB / 303.6 MB, free: 15.18 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.096e-06/0.1142, allocations: 1.75 kB / 303.6 MB, free: 15.18 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.082e-06/0.1142, allocations: 4 kB / 303.6 MB, free: 15.18 MB / 266.7 MB Notification: Performance of Transformations before backend: time 2.113e-05/0.1142, allocations: 0 / 303.6 MB, free: 15.18 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.002203/0.1164, allocations: 2.184 MB / 305.8 MB, free: 13.53 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.644e-05/0.1164, allocations: 8.688 kB / 305.8 MB, free: 13.53 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007253/0.1171, allocations: 305.8 kB / 306.1 MB, free: 13.32 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001445/0.1186, allocations: 1.337 MB / 307.4 MB, free: 11.95 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002523/0.1188, allocations: 0.7382 MB / 308.2 MB, free: 11.07 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001134/0.119, allocations: 72.38 kB / 308.3 MB, free: 11 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009443/0.1199, allocations: 0.831 MB / 309.1 MB, free: 10.13 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.59e-05/0.1199, allocations: 4.188 kB / 309.1 MB, free: 10.13 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.016e-05/0.12, allocations: 24.38 kB / 309.1 MB, free: 10.11 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.233e-05/0.12, allocations: 39.53 kB / 309.1 MB, free: 10.07 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006107/0.1206, allocations: 372.8 kB / 309.5 MB, free: 9.703 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001924/0.1226, allocations: 1.508 MB / 311 MB, free: 8.164 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002792/0.1228, allocations: 210.2 kB / 311.2 MB, free: 7.949 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002016/0.123, allocations: 128.8 kB / 311.4 MB, free: 7.82 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.361e-05/0.1231, allocations: 4 kB / 311.4 MB, free: 7.816 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003165/0.1234, allocations: 256.7 kB / 311.6 MB, free: 7.555 MB / 266.7 MB Notification: Performance of pre-optimization done (n=25): time 1.272e-06/0.1234, allocations: 0 / 311.6 MB, free: 7.555 MB / 266.7 MB Notification: Performance of matching and sorting (n=25): time 0.0007364/0.1241, allocations: 406.7 kB / 312 MB, free: 7.152 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.824e-05/0.1242, allocations: 132.5 kB / 312.1 MB, free: 6.992 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001084/0.1253, allocations: 1.433 MB / 313.6 MB, free: 5.551 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 4.527e-05/0.1253, allocations: 33.7 kB / 313.6 MB, free: 5.512 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002213/0.1255, allocations: 487 kB / 314.1 MB, free: 5.031 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.504e-05/0.1256, allocations: 91.23 kB / 314.2 MB, free: 4.941 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002431/0.1258, allocations: 201.7 kB / 314.4 MB, free: 4.738 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 3.328e-05/0.1259, allocations: 333.8 kB / 314.7 MB, free: 4.406 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002683/0.1261, allocations: 179.9 kB / 314.9 MB, free: 4.234 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002925/0.1264, allocations: 306.1 kB / 315.2 MB, free: 3.898 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004372/0.1269, allocations: 333.7 kB / 315.5 MB, free: 3.559 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.325e-06/0.1269, allocations: 4 kB / 315.5 MB, free: 3.555 MB / 266.7 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.0007459/0.1276, allocations: 0.5253 MB / 316 MB, free: 3.02 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.225e-05/0.1276, allocations: 4 kB / 316 MB, free: 3.016 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.42e-06/0.1276, allocations: 0 / 316 MB, free: 3.016 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.234e-05/0.1277, allocations: 4.516 kB / 316 MB, free: 3.012 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004119/0.1281, allocations: 119.9 kB / 316.1 MB, free: 2.895 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.769e-06/0.1281, allocations: 4 kB / 316.1 MB, free: 2.891 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005967/0.1287, allocations: 79.81 kB / 316.2 MB, free: 2.812 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.28e-05/0.1287, allocations: 15.98 kB / 316.2 MB, free: 2.797 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.0002286/0.129, allocations: 137 kB / 316.4 MB, free: 2.652 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001377/0.1291, allocations: 83.91 kB / 316.5 MB, free: 2.57 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001232/0.1292, allocations: 126.5 kB / 316.6 MB, free: 2.445 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.074e-06/0.1292, allocations: 4 kB / 316.6 MB, free: 2.441 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.964e-06/0.1292, allocations: 0 / 316.6 MB, free: 2.441 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.107e-06/0.1292, allocations: 1.453 kB / 316.6 MB, free: 2.441 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006034/0.1298, allocations: 0.5595 MB / 317.1 MB, free: 1.863 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-06/0.1298, allocations: 0 / 317.1 MB, free: 1.863 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002985/0.1301, allocations: 87.88 kB / 317.2 MB, free: 1.777 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.764e-06/0.1301, allocations: 0 / 317.2 MB, free: 1.777 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.872e-05/0.1302, allocations: 7.984 kB / 317.2 MB, free: 1.77 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.465e-06/0.1302, allocations: 4 kB / 317.2 MB, free: 1.766 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.11e-07/0.1302, allocations: 0 / 317.2 MB, free: 1.766 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005151/0.1307, allocations: 342.7 kB / 317.6 MB, free: 1.41 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001639/0.1308, allocations: 142.9 kB / 317.7 MB, free: 1.27 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001824/0.131, allocations: 4 kB / 317.7 MB, free: 1.266 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004162/0.1314, allocations: 59.94 kB / 317.8 MB, free: 1.207 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002578/0.1317, allocations: 157.1 kB / 317.9 MB, free: 1.051 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.787e-05/0.1318, allocations: 9.062 kB / 317.9 MB, free: 1.043 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0005689/0.1323, allocations: 0.6765 MB / 318.6 MB, free: 380 kB / 266.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1323, allocations: 0 / 318.6 MB, free: 380 kB / 266.7 MB Notification: Performance of remove unused functions: time 0.0009586/0.1333, allocations: 0.5809 MB / 319.2 MB, free: 15.79 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.0008031/0.1341, allocations: 0.5038 MB / 319.7 MB, free: 15.28 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0006712/0.1348, allocations: 370.6 kB / 320.1 MB, free: 14.92 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.284e-05/0.1348, allocations: 16 kB / 320.1 MB, free: 14.9 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003052/0.1351, allocations: 163.6 kB / 320.2 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.001764/0.1368, allocations: 0.8376 MB / 321.1 MB, free: 13.98 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003396/0.1402, allocations: 2.725 MB / 323.8 MB, free: 11.2 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003587/0.1406, allocations: 402.1 kB / 324.2 MB, free: 10.79 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0005331/0.1411, allocations: 162.8 kB / 324.4 MB, free: 10.64 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001193/0.1423, allocations: 428.3 kB / 324.8 MB, free: 10.22 MB / 282.7 MB Notification: Performance of SimCode: time 6.11e-07/0.1423, allocations: 0 / 324.8 MB, free: 10.22 MB / 282.7 MB Notification: Performance of Templates: time 0.03943/0.1817, allocations: 33.98 MB / 358.8 MB, free: 8.738 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 -lv LOG_STATS > StewartPlatform_StewartPlatform.Tests.Switch2_test.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.016906984616071]