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.0007006/0.0007006, allocations: 73.17 kB / 9.984 MB, free: 0.6992 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.000875/0.001576, allocations: 455.9 kB / 10.43 MB, free: 260 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.0007065/0.0007065, allocations: 165.2 kB / 11.34 MB, free: 2.832 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009333/0.00164, allocations: 475.6 kB / 11.8 MB, free: 2.363 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.894/0.894, allocations: 177.2 MB / 189.7 MB, free: 5.254 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0797/0.9737, allocations: 53.67 MB / 243.4 MB, free: 15.51 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.01877/0.01877, allocations: 5.049 MB / 249.2 MB, free: 9.844 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.003233/0.02201, allocations: 1.923 MB / 251.1 MB, free: 7.918 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.733e-06/1.733e-06, allocations: 0 / 252.5 MB, free: 6.539 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.787e-05/1.961e-05, allocations: 6.25 kB / 252.5 MB, free: 6.531 MB / 250.7 MB Notification: Performance of NFInst.instantiate(StewartPlatform.Tests.Switch2_test): time 0.003266/0.003286, allocations: 3.903 MB / 256.4 MB, free: 2.609 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.004033/0.007318, allocations: 4.228 MB / 260.6 MB, free: 14.36 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002726/0.007591, allocations: 12 kB / 260.6 MB, free: 14.35 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005332/0.008124, allocations: 302.2 kB / 260.9 MB, free: 14.05 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002088/0.01021, allocations: 1.408 MB / 262.3 MB, free: 12.64 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003427/0.01056, allocations: 231.4 kB / 262.6 MB, free: 12.41 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.002332/0.01289, allocations: 2.964 MB / 265.5 MB, free: 9.445 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005025/0.01339, allocations: 0.5717 MB / 266.1 MB, free: 8.824 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001006/0.0144, allocations: 1.192 MB / 267.3 MB, free: 7.582 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006179/0.01501, allocations: 0.7986 MB / 268.1 MB, free: 6.781 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001085/0.01512, allocations: 116 kB / 268.2 MB, free: 6.668 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001326/0.01645, allocations: 1.006 MB / 269.2 MB, free: 5.66 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000517/0.01697, allocations: 0.873 MB / 270.1 MB, free: 4.785 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004009/0.01737, allocations: 490.8 kB / 270.6 MB, free: 4.305 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001764/0.01913, allocations: 2.111 MB / 272.7 MB, free: 2.188 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.316e-05/0.01914, allocations: 3.938 kB / 272.7 MB, free: 2.184 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.563e-06/0.01915, allocations: 0 / 272.7 MB, free: 2.184 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.707e-05/0.01916, allocations: 0 / 272.7 MB, free: 2.184 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.1143/0.1335, allocations: 2.559 MB / 275.2 MB, free: 13.77 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.595e-05/0.1335, allocations: 10.69 kB / 275.3 MB, free: 13.77 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000829/0.1343, allocations: 385.2 kB / 275.6 MB, free: 13.67 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002105/0.1364, allocations: 1.328 MB / 277 MB, free: 13.32 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000322/0.1368, allocations: 0.7435 MB / 277.7 MB, free: 12.64 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001129/0.1369, allocations: 72.72 kB / 277.8 MB, free: 12.64 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001139/0.138, allocations: 0.825 MB / 278.6 MB, free: 12.43 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.699e-05/0.138, allocations: 1.312 kB / 278.6 MB, free: 12.43 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.562e-05/0.1381, allocations: 30.16 kB / 278.6 MB, free: 12.43 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.149e-05/0.1381, allocations: 35.91 kB / 278.7 MB, free: 12.43 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006511/0.1388, allocations: 380.8 kB / 279 MB, free: 12.41 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002277/0.1411, allocations: 1.514 MB / 280.5 MB, free: 11.93 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002819/0.1413, allocations: 206.8 kB / 280.8 MB, free: 11.86 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001886/0.1415, allocations: 123 kB / 280.9 MB, free: 11.86 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.782e-05/0.1416, allocations: 8.438 kB / 280.9 MB, free: 11.86 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003514/0.1419, allocations: 254.4 kB / 281.1 MB, free: 11.8 MB / 266.7 MB Notification: Performance of pre-optimization done (n=25): time 1.923e-06/0.1419, allocations: 0 / 281.1 MB, free: 11.8 MB / 266.7 MB Notification: Performance of matching and sorting (n=25): time 0.000745/0.1427, allocations: 402.1 kB / 281.5 MB, free: 11.77 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.871e-05/0.1427, allocations: 57.44 kB / 281.6 MB, free: 11.71 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001527/0.1442, allocations: 1.44 MB / 283 MB, free: 11.52 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 4.178e-05/0.1443, allocations: 31.83 kB / 283 MB, free: 11.48 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002555/0.1445, allocations: 488.2 kB / 283.5 MB, free: 11.28 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.963e-05/0.1446, allocations: 92.39 kB / 283.6 MB, free: 11.22 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002147/0.1448, allocations: 203.6 kB / 283.8 MB, free: 11.18 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 4.635e-05/0.1449, allocations: 338.2 kB / 284.1 MB, free: 10.87 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002575/0.1451, allocations: 166.1 kB / 284.3 MB, free: 10.87 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002739/0.1454, allocations: 315.2 kB / 284.6 MB, free: 10.72 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004889/0.1459, allocations: 400.7 kB / 285 MB, free: 10.67 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.386e-06/0.1459, allocations: 0 / 285 MB, free: 10.67 MB / 266.7 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.000711/0.1466, allocations: 0.522 MB / 285.5 MB, free: 10.6 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.281e-05/0.1466, allocations: 6.297 kB / 285.5 MB, free: 10.6 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.578e-06/0.1466, allocations: 3.281 kB / 285.5 MB, free: 10.6 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.193e-05/0.1467, allocations: 3.547 kB / 285.5 MB, free: 10.6 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004141/0.1471, allocations: 142.2 kB / 285.7 MB, free: 10.6 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.28e-06/0.1471, allocations: 3.219 kB / 285.7 MB, free: 10.6 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000511/0.1476, allocations: 69.38 kB / 285.7 MB, free: 10.59 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.042e-05/0.1476, allocations: 13.89 kB / 285.8 MB, free: 10.59 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.0002135/0.1478, allocations: 142 kB / 285.9 MB, free: 10.47 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001246/0.148, allocations: 85.8 kB / 286 MB, free: 10.47 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001407/0.1481, allocations: 130.7 kB / 286.1 MB, free: 10.45 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.687e-06/0.1481, allocations: 2.438 kB / 286.1 MB, free: 10.45 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.919e-06/0.1481, allocations: 1.188 kB / 286.1 MB, free: 10.45 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.639e-06/0.1481, allocations: 1.219 kB / 286.1 MB, free: 10.45 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006954/0.1488, allocations: 0.5528 MB / 286.7 MB, free: 10.36 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.008e-06/0.1488, allocations: 1.469 kB / 286.7 MB, free: 10.36 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003067/0.1491, allocations: 96.05 kB / 286.8 MB, free: 10.36 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00018/0.1493, allocations: 143.7 kB / 286.9 MB, free: 10.27 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.11e-06/0.1493, allocations: 0 / 286.9 MB, free: 10.27 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.066e-05/0.1493, allocations: 7.188 kB / 286.9 MB, free: 10.27 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.385e-06/0.1494, allocations: 1.312 kB / 286.9 MB, free: 10.27 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/0.1494, allocations: 1.312 kB / 286.9 MB, free: 10.27 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000537/0.1499, allocations: 355.3 kB / 287.3 MB, free: 10.19 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001329/0.15, allocations: 8.469 kB / 287.3 MB, free: 10.19 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003144/0.1503, allocations: 60.25 kB / 287.3 MB, free: 10.19 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002098/0.1505, allocations: 154.5 kB / 287.5 MB, free: 10.18 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.711e-05/0.1506, allocations: 15.58 kB / 287.5 MB, free: 10.18 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.000513/0.1511, allocations: 0.67 MB / 288.2 MB, free: 10.13 MB / 266.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1511, allocations: 0 / 288.2 MB, free: 10.13 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0009426/0.152, allocations: 0.5762 MB / 288.7 MB, free: 10.06 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.0007121/0.1528, allocations: 0.5117 MB / 289.3 MB, free: 9.961 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0006819/0.1534, allocations: 0.4967 MB / 289.8 MB, free: 9.949 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.543e-05/0.1535, allocations: 18.56 kB / 289.8 MB, free: 9.949 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004793/0.1539, allocations: 463.5 kB / 290.2 MB, free: 9.879 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002134/0.1561, allocations: 5.857 MB / 296.1 MB, free: 3.785 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01417/0.1702, allocations: 2.728 MB / 298.8 MB, free: 1.309 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002544/0.1705, allocations: 400.7 kB / 299.2 MB, free: 1.023 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0007464/0.1712, allocations: 151.8 kB / 299.3 MB, free: 0.8984 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009214/0.1722, allocations: 431.6 kB / 299.8 MB, free: 488 kB / 266.7 MB Notification: Performance of SimCode: time 2.104e-06/0.1722, allocations: 0 / 299.8 MB, free: 488 kB / 266.7 MB Notification: Performance of Templates: time 0.05809/0.2303, allocations: 35.83 MB / 335.6 MB, free: 13.2 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 & (cd run_cvode && ../StewartPlatform_StewartPlatform.Tests.Switch2_test -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s cvode) > StewartPlatform_StewartPlatform.Tests.Switch2_test.pipe 2>&1) [Timeout 240] (rm -f StewartPlatform_StewartPlatform.Tests.Switch2_test_dassl.pipe ; mkfifo StewartPlatform_StewartPlatform.Tests.Switch2_test_dassl.pipe ; head -c 1048576 < StewartPlatform_StewartPlatform.Tests.Switch2_test_dassl.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/StewartPlatform_StewartPlatform.Tests.Switch2_test_dassl.sim & (cd run_dassl && ../StewartPlatform_StewartPlatform.Tests.Switch2_test -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s dassl) > StewartPlatform_StewartPlatform.Tests.Switch2_test_dassl.pipe 2>&1) [Timeout 240] (rm -f StewartPlatform_StewartPlatform.Tests.Switch2_test_gbode.pipe ; mkfifo StewartPlatform_StewartPlatform.Tests.Switch2_test_gbode.pipe ; head -c 1048576 < StewartPlatform_StewartPlatform.Tests.Switch2_test_gbode.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/StewartPlatform_StewartPlatform.Tests.Switch2_test_gbode.sim & (cd run_gbode && ../StewartPlatform_StewartPlatform.Tests.Switch2_test -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s gbode -gbm=radauIIA3) > StewartPlatform_StewartPlatform.Tests.Switch2_test_gbode.pipe 2>&1) [Timeout 240] (rm -f StewartPlatform_StewartPlatform.Tests.Switch2_test_ida.pipe ; mkfifo StewartPlatform_StewartPlatform.Tests.Switch2_test_ida.pipe ; head -c 1048576 < StewartPlatform_StewartPlatform.Tests.Switch2_test_ida.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/StewartPlatform_StewartPlatform.Tests.Switch2_test_ida.sim & (cd run_ida && ../StewartPlatform_StewartPlatform.Tests.Switch2_test -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s ida) > StewartPlatform_StewartPlatform.Tests.Switch2_test_ida.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.315578183159232]