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.0006731/0.0006731, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009615/0.001635, allocations: 440 kB / 10.41 MB, free: 284 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.0006689/0.0006689, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001147/0.001816, allocations: 475.6 kB / 11.79 MB, free: 2.375 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.8879/0.8879, allocations: 177.2 MB / 189.7 MB, free: 5.25 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08227/0.9702, allocations: 53.67 MB / 243.4 MB, free: 15.5 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.02665/0.02665, allocations: 5.053 MB / 249.2 MB, free: 9.836 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00321/0.02986, allocations: 1.916 MB / 251.1 MB, free: 7.914 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.452e-06/1.452e-06, allocations: 0 / 252.5 MB, free: 6.527 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.29e-05/1.436e-05, allocations: 2.312 kB / 252.5 MB, free: 6.523 MB / 250.7 MB Notification: Performance of NFInst.instantiate(StewartPlatform.Tests.Switch2_test): time 0.003013/0.003027, allocations: 3.895 MB / 256.4 MB, free: 2.609 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.003831/0.006858, allocations: 4.231 MB / 260.6 MB, free: 14.36 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001798/0.007038, allocations: 8 kB / 260.6 MB, free: 14.35 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004302/0.007468, allocations: 306.2 kB / 260.9 MB, free: 14.05 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001613/0.009081, allocations: 1.397 MB / 262.3 MB, free: 12.65 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002553/0.009336, allocations: 231.4 kB / 262.6 MB, free: 12.42 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.002037/0.01137, allocations: 2.968 MB / 265.5 MB, free: 9.453 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004633/0.01184, allocations: 0.56 MB / 266.1 MB, free: 8.844 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008473/0.01268, allocations: 1.192 MB / 267.3 MB, free: 7.602 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005491/0.01323, allocations: 0.7908 MB / 268.1 MB, free: 6.809 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001092/0.01334, allocations: 116 kB / 268.2 MB, free: 6.695 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001021/0.01436, allocations: 0.9824 MB / 269.2 MB, free: 5.711 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004688/0.01483, allocations: 0.873 MB / 270 MB, free: 4.836 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003451/0.01518, allocations: 482.9 kB / 270.5 MB, free: 4.363 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001471/0.01665, allocations: 2.115 MB / 272.6 MB, free: 2.242 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.546e-06/0.01666, allocations: 11.98 kB / 272.6 MB, free: 2.23 MB / 266.7 MB Notification: Performance of FrontEnd: time 6.21e-07/0.01666, allocations: 0 / 272.6 MB, free: 2.23 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.867e-05/0.01668, allocations: 0 / 272.6 MB, free: 2.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.1128/0.1295, allocations: 2.554 MB / 275.2 MB, free: 13.38 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.154e-05/0.1295, allocations: 9.906 kB / 275.2 MB, free: 13.38 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006849/0.1302, allocations: 386.3 kB / 275.6 MB, free: 13.29 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001558/0.1317, allocations: 1.324 MB / 276.9 MB, free: 12.94 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002512/0.132, allocations: 0.7457 MB / 277.6 MB, free: 12.25 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.52e-05/0.1321, allocations: 73.05 kB / 277.7 MB, free: 12.25 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009645/0.133, allocations: 0.8243 MB / 278.5 MB, free: 12.04 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.477e-05/0.1331, allocations: 7.062 kB / 278.5 MB, free: 12.04 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.111e-05/0.1331, allocations: 30.06 kB / 278.6 MB, free: 12.04 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.342e-05/0.1332, allocations: 36.12 kB / 278.6 MB, free: 12.04 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005519/0.1337, allocations: 376.8 kB / 279 MB, free: 12.02 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001797/0.1355, allocations: 1.513 MB / 280.5 MB, free: 11.57 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002594/0.1358, allocations: 206.8 kB / 280.7 MB, free: 11.5 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001707/0.1359, allocations: 122.7 kB / 280.8 MB, free: 11.49 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.051e-05/0.136, allocations: 5.25 kB / 280.8 MB, free: 11.49 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003591/0.1363, allocations: 263.2 kB / 281.1 MB, free: 11.44 MB / 266.7 MB Notification: Performance of pre-optimization done (n=25): time 1.072e-06/0.1363, allocations: 0.9062 kB / 281.1 MB, free: 11.44 MB / 266.7 MB Notification: Performance of matching and sorting (n=25): time 0.0007489/0.1371, allocations: 402.4 kB / 281.5 MB, free: 11.4 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.231e-05/0.1371, allocations: 55.09 kB / 281.5 MB, free: 11.34 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001345/0.1385, allocations: 1.438 MB / 283 MB, free: 11.16 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.661e-05/0.1385, allocations: 34.89 kB / 283 MB, free: 11.12 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000246/0.1387, allocations: 489.9 kB / 283.5 MB, free: 10.95 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.849e-05/0.1388, allocations: 84.94 kB / 283.6 MB, free: 10.91 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000189/0.139, allocations: 206.7 kB / 283.8 MB, free: 10.86 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 4.044e-05/0.139, allocations: 335 kB / 284.1 MB, free: 10.56 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002275/0.1393, allocations: 168.2 kB / 284.2 MB, free: 10.55 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002541/0.1395, allocations: 310.6 kB / 284.5 MB, free: 10.41 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004527/0.14, allocations: 397.6 kB / 284.9 MB, free: 10.36 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.465e-06/0.14, allocations: 0 / 284.9 MB, free: 10.36 MB / 266.7 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.0006332/0.1406, allocations: 0.525 MB / 285.5 MB, free: 10.29 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.35e-05/0.1406, allocations: 9.438 kB / 285.5 MB, free: 10.29 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.963e-06/0.1406, allocations: 1.375 kB / 285.5 MB, free: 10.29 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.806e-05/0.1406, allocations: 3.359 kB / 285.5 MB, free: 10.29 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003847/0.141, allocations: 138.9 kB / 285.6 MB, free: 10.29 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.751e-06/0.141, allocations: 3.594 kB / 285.6 MB, free: 10.29 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004542/0.1415, allocations: 77.2 kB / 285.7 MB, free: 10.28 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.017e-05/0.1415, allocations: 19.47 kB / 285.7 MB, free: 10.28 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.0001924/0.1417, allocations: 135.8 kB / 285.8 MB, free: 10.16 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001232/0.1418, allocations: 87.36 kB / 285.9 MB, free: 10.16 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001181/0.142, allocations: 128.2 kB / 286.1 MB, free: 10.13 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.855e-06/0.142, allocations: 2.656 kB / 286.1 MB, free: 10.13 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.767e-06/0.142, allocations: 0.6562 kB / 286.1 MB, free: 10.13 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.137e-06/0.142, allocations: 1.766 kB / 286.1 MB, free: 10.13 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005812/0.1425, allocations: 0.5532 MB / 286.6 MB, free: 10.05 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.1426, allocations: 0 / 286.6 MB, free: 10.05 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002749/0.1428, allocations: 95.61 kB / 286.7 MB, free: 10.05 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001248/0.143, allocations: 139.6 kB / 286.8 MB, free: 9.969 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.235e-06/0.143, allocations: 1.406 kB / 286.8 MB, free: 9.969 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.61e-05/0.143, allocations: 10.75 kB / 286.9 MB, free: 9.965 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.034e-06/0.143, allocations: 1.094 kB / 286.9 MB, free: 9.965 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.143, allocations: 3.375 kB / 286.9 MB, free: 9.965 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004313/0.1434, allocations: 348.9 kB / 287.2 MB, free: 9.883 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001179/0.1435, allocations: 5.438 kB / 287.2 MB, free: 9.883 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003051/0.1438, allocations: 63.56 kB / 287.3 MB, free: 9.879 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002014/0.144, allocations: 158.6 kB / 287.4 MB, free: 9.871 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.458e-05/0.1441, allocations: 7.781 kB / 287.4 MB, free: 9.871 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0004623/0.1445, allocations: 0.673 MB / 288.1 MB, free: 9.824 MB / 266.7 MB Notification: Performance of sort global known variables: time 1.9e-07/0.1445, allocations: 0 / 288.1 MB, free: 9.824 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0007658/0.1453, allocations: 0.5804 MB / 288.7 MB, free: 9.797 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.0006649/0.146, allocations: 0.5062 MB / 289.2 MB, free: 9.73 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0004743/0.1464, allocations: 374.5 kB / 289.6 MB, free: 9.719 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.308e-05/0.1465, allocations: 17.56 kB / 289.6 MB, free: 9.719 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003358/0.1468, allocations: 361.2 kB / 289.9 MB, free: 9.652 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001807/0.1486, allocations: 5.847 MB / 295.8 MB, free: 3.578 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01322/0.1618, allocations: 2.736 MB / 298.5 MB, free: 1.332 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002121/0.162, allocations: 394.7 kB / 298.9 MB, free: 1.051 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0004128/0.1624, allocations: 156.3 kB / 299 MB, free: 0.9258 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008364/0.1633, allocations: 429.7 kB / 299.5 MB, free: 0.5703 MB / 266.7 MB Notification: Performance of SimCode: time 8.72e-07/0.1633, allocations: 0 / 299.5 MB, free: 0.5703 MB / 266.7 MB Notification: Performance of Templates: time 0.03622/0.1995, allocations: 35.83 MB / 335.3 MB, free: 13.3 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.034932036884129]