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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/StewartPlatform 1.0.2/package.mo", uses=false) 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(StewartPlatform.Tests.Switch2_test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="StewartPlatform_StewartPlatform.Tests.Switch2_test") translateModel(StewartPlatform.Tests.Switch2_test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="StewartPlatform_StewartPlatform.Tests.Switch2_test") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008493/0.0008493, allocations: 99 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009064/0.0009065, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.518/1.518, allocations: 223.2 MB / 239.9 MB, free: 5.426 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/StewartPlatform 1.0.2/package.mo): time 0.1877/0.1877, allocations: 6.484 MB / 297.5 MB, free: 3.695 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003451/0.0003452, allocations: 11.98 kB / 359.8 MB, free: 268 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1585/0.1589, allocations: 51.84 MB / 411.6 MB, free: 12.38 MB / 350.1 MB Notification: Performance of NFInst.instantiate(StewartPlatform.Tests.Switch2_test): time 0.006314/0.1653, allocations: 4.337 MB / 416 MB, free: 8.023 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.008049/0.1734, allocations: 4.097 MB / 420.1 MB, free: 3.914 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006504/0.1741, allocations: 12 kB / 420.1 MB, free: 3.902 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009615/0.175, allocations: 314.4 kB / 420.4 MB, free: 3.594 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004328/0.1794, allocations: 1.821 MB / 422.2 MB, free: 1.77 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006597/0.1801, allocations: 175.7 kB / 422.4 MB, free: 1.598 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.3249/0.5049, allocations: 1.962 MB / 424.3 MB, free: 35.25 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001487/0.5065, allocations: 0.853 MB / 425.2 MB, free: 35.16 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001156/0.5076, allocations: 469.3 kB / 425.7 MB, free: 35.16 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007235/0.5084, allocations: 0.5543 MB / 426.2 MB, free: 35.16 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 8.729e-05/0.5085, allocations: 32.84 kB / 426.2 MB, free: 35.16 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002428/0.5109, allocations: 0.8062 MB / 427.1 MB, free: 35.15 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007998/0.5117, allocations: 0.7967 MB / 427.8 MB, free: 35.15 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004778/0.5122, allocations: 359.4 kB / 428.2 MB, free: 35.12 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003159/0.5154, allocations: 2.185 MB / 430.4 MB, free: 34.96 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.5154, allocations: 0 / 430.4 MB, free: 34.96 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.835e-06/0.5154, allocations: 0 / 430.4 MB, free: 34.96 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.492e-05/0.5155, allocations: 0 / 430.4 MB, free: 34.96 MB / 350.1 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.005138/0.5206, allocations: 2.227 MB / 432.6 MB, free: 33.8 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.898e-05/0.5207, allocations: 6.375 kB / 432.6 MB, free: 33.8 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00298/0.5237, allocations: 481.2 kB / 433.1 MB, free: 33.69 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007652/0.5313, allocations: 3.813 MB / 436.9 MB, free: 33.25 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.01153/0.5429, allocations: 2.587 MB / 439.5 MB, free: 33.14 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004404/0.5434, allocations: 69.5 kB / 439.6 MB, free: 33.14 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01422/0.5576, allocations: 4.2 MB / 443.8 MB, free: 33.01 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.552e-05/0.5577, allocations: 2.234 kB / 443.8 MB, free: 33.01 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001325/0.5578, allocations: 29.28 kB / 443.8 MB, free: 33.01 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.142e-05/0.5579, allocations: 38.64 kB / 443.8 MB, free: 33.01 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02598/0.5839, allocations: 6.94 MB / 450.8 MB, free: 32.96 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01117/0.5951, allocations: 4.429 MB / 455.2 MB, free: 32.11 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01361/0.6088, allocations: 3.275 MB / 458.5 MB, free: 32.06 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.116e-05/0.6089, allocations: 3.031 kB / 458.5 MB, free: 32.06 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01295/0.6219, allocations: 3.352 MB / 461.8 MB, free: 30.65 MB / 350.1 MB Notification: Performance of pre-optimization done (n=25): time 6.102e-06/0.6219, allocations: 1.969 kB / 461.8 MB, free: 30.65 MB / 350.1 MB Notification: Performance of matching and sorting (n=25): time 0.03744/0.6593, allocations: 9.382 MB / 471.2 MB, free: 26.63 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001082/0.6595, allocations: 138.1 kB / 471.3 MB, free: 26.47 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007075/0.6666, allocations: 4.191 MB / 475.5 MB, free: 24.18 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002667/0.6669, allocations: 29.7 kB / 475.6 MB, free: 24.15 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007535/0.6677, allocations: 0.8575 MB / 476.4 MB, free: 23.29 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001596/0.6678, allocations: 91.42 kB / 476.5 MB, free: 23.2 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.497e-05/0.6679, allocations: 4 kB / 476.5 MB, free: 23.2 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001029/0.668, allocations: 314 kB / 476.8 MB, free: 22.89 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0114/0.6794, allocations: 3.171 MB / 480 MB, free: 19.71 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01161/0.6911, allocations: 3.217 MB / 483.2 MB, free: 16.48 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01132/0.7024, allocations: 2.816 MB / 486 MB, free: 13.66 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.587e-05/0.7025, allocations: 4 kB / 486 MB, free: 13.65 MB / 350.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.02348/0.726, allocations: 6.209 MB / 492.2 MB, free: 7.426 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.828e-05/0.7261, allocations: 8.766 kB / 492.2 MB, free: 7.418 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.356e-05/0.7262, allocations: 4.562 kB / 492.2 MB, free: 7.414 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.179e-05/0.7262, allocations: 4 kB / 492.3 MB, free: 7.41 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005657/0.7319, allocations: 1.314 MB / 493.6 MB, free: 6.094 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.617e-05/0.7319, allocations: 4 kB / 493.6 MB, free: 6.09 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007206/0.7391, allocations: 1.363 MB / 494.9 MB, free: 4.727 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000183/0.7393, allocations: 19.98 kB / 495 MB, free: 4.707 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,$PRE.switch2.count,switch2.count,switch2.mux.sequenceIn[1],switch2.mux.sequenceIn[2],switch2.mux.sequenceIn[3]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 26 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001584/0.7409, allocations: 0.6155 MB / 495.6 MB, free: 4.082 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006571/0.7416, allocations: 189.7 kB / 495.8 MB, free: 3.895 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003353/0.742, allocations: 197.8 kB / 495.9 MB, free: 3.703 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.788e-06/0.742, allocations: 8 kB / 496 MB, free: 3.695 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.096e-05/0.742, allocations: 2.078 kB / 496 MB, free: 3.695 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.432e-06/0.742, allocations: 0 / 496 MB, free: 3.695 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002417/0.7444, allocations: 1.713 MB / 497.7 MB, free: 1.938 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.562e-06/0.7445, allocations: 0 / 497.7 MB, free: 1.938 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005549/0.75, allocations: 1.314 MB / 499 MB, free: 0.6211 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.417e-05/0.75, allocations: 11.98 kB / 499 MB, free: 0.6094 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.83e-05/0.7501, allocations: 13.02 kB / 499 MB, free: 0.5977 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.458e-06/0.7501, allocations: 0 / 499 MB, free: 0.5977 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.387e-06/0.7502, allocations: 2.188 kB / 499 MB, free: 0.5977 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0251/0.7753, allocations: 6.257 MB / 0.4934 GB, free: 10.31 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001685/0.777, allocations: 398.6 kB / 0.4938 GB, free: 9.898 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004308/0.7775, allocations: 8 kB / 0.4938 GB, free: 9.891 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00647/0.7839, allocations: 1.322 MB / 0.4951 GB, free: 8.566 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005453/0.7845, allocations: 247.5 kB / 0.4953 GB, free: 8.324 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001075/0.7846, allocations: 23.97 kB / 0.4954 GB, free: 8.301 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.005141/0.7898, allocations: 3.181 MB / 0.4985 GB, free: 5.102 MB / 366.1 MB Notification: Performance of sort global known variables: time 5.81e-07/0.7898, allocations: 0 / 0.4985 GB, free: 5.102 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.002248/0.7921, allocations: 0.4982 MB / 0.499 GB, free: 4.605 MB / 366.1 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008331/0.7929, allocations: 281.6 kB / 0.4992 GB, free: 4.336 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.02549/0.8184, allocations: 6.377 MB / 0.5055 GB, free: 13.95 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.298e-05/0.8185, allocations: 0 / 0.5055 GB, free: 13.95 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.01282/0.8313, allocations: 3.342 MB / 0.5087 GB, free: 10.6 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004952/0.8363, allocations: 1.1 MB / 0.5098 GB, free: 9.527 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01927/0.8557, allocations: 6.146 MB / 0.5158 GB, free: 3.344 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001372/0.8571, allocations: 1.571 MB / 0.5173 GB, free: 1.742 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.002638/0.8597, allocations: 0.4908 MB / 0.5178 GB, free: 1.254 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008248/0.8606, allocations: 134.7 kB / 0.5179 GB, free: 1.125 MB / 382.1 MB Notification: Performance of SimCode: time 2.514e-06/0.8606, allocations: 3.609 kB / 0.5179 GB, free: 1.125 MB / 382.1 MB Notification: Performance of Templates: time 0.08394/0.9445, allocations: 43.27 MB / 0.5602 GB, free: 6.062 MB / 430.1 MB make -j1 -f StewartPlatform_StewartPlatform.Tests.Switch2_test.makefile Environment - environmentSimulation: (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=480 -lv LOG_STATS > StewartPlatform_StewartPlatform.Tests.Switch2_test.pipe 2>&1) Environment - environmentSimulation: