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.0009956/0.0009956, allocations: 73.97 kB / 20.66 MB, free: 3.844 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.0009257/0.0009257, allocations: 169.4 kB / 24.06 MB, free: 456 kB / 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.9218/0.9218, allocations: 177.1 MB / 204.5 MB, free: 5.504 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.02063/0.02063, allocations: 5.074 MB / 266.1 MB, free: 7.949 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 / 337.4 MB, free: 12.8 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.179e-05/2.337e-05, allocations: 2.312 kB / 337.4 MB, free: 12.8 MB / 266.7 MB Notification: Performance of NFInst.instantiate(StewartPlatform.Tests.Switch2_test): time 0.003851/0.003874, allocations: 3.838 MB / 341.3 MB, free: 8.945 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.003466/0.00734, allocations: 4.106 MB / 345.4 MB, free: 4.824 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002082/0.007549, allocations: 12 kB / 345.4 MB, free: 4.812 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005282/0.008077, allocations: 294.1 kB / 345.7 MB, free: 4.523 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001859/0.009936, allocations: 1.443 MB / 347.1 MB, free: 3.074 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000286/0.01022, allocations: 239.4 kB / 347.3 MB, free: 2.84 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.002195/0.01242, allocations: 3.616 MB / 350.9 MB, free: 15.21 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005414/0.01296, allocations: 0.5425 MB / 351.5 MB, free: 14.63 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007548/0.01371, allocations: 0.9237 MB / 352.4 MB, free: 13.71 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006568/0.01437, allocations: 0.8026 MB / 353.2 MB, free: 12.9 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001231/0.01449, allocations: 116 kB / 353.3 MB, free: 12.79 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001274/0.01577, allocations: 0.9667 MB / 354.3 MB, free: 11.82 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005562/0.01632, allocations: 0.9547 MB / 355.3 MB, free: 10.86 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004643/0.01679, allocations: 0.6078 MB / 355.9 MB, free: 10.25 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001899/0.01869, allocations: 2.36 MB / 358.2 MB, free: 7.887 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.316e-06/0.01869, allocations: 0 / 358.2 MB, free: 7.887 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.232e-06/0.01869, allocations: 0 / 358.2 MB, free: 7.887 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.975e-05/0.01871, allocations: 0 / 358.2 MB, free: 7.887 MB / 282.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.002197/0.02091, allocations: 2.456 MB / 360.7 MB, free: 5.379 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.678e-05/0.02094, allocations: 8.031 kB / 360.7 MB, free: 5.371 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006593/0.0216, allocations: 379.6 kB / 361.1 MB, free: 5 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001322/0.02293, allocations: 1.323 MB / 362.4 MB, free: 3.641 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003382/0.02326, allocations: 0.7421 MB / 363.1 MB, free: 2.762 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.244e-05/0.02336, allocations: 72.36 kB / 363.2 MB, free: 2.691 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008896/0.02425, allocations: 0.8215 MB / 364 MB, free: 1.82 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.427e-05/0.02426, allocations: 8.188 kB / 364 MB, free: 1.812 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.621e-05/0.02433, allocations: 32.12 kB / 364.1 MB, free: 1.781 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.099e-05/0.02436, allocations: 30 kB / 364.1 MB, free: 1.75 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005016/0.02486, allocations: 405.7 kB / 364.5 MB, free: 1.355 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002391/0.02725, allocations: 2.335 MB / 366.8 MB, free: 14.97 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002498/0.0275, allocations: 175 kB / 367 MB, free: 14.79 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001801/0.02768, allocations: 144.4 kB / 367.1 MB, free: 14.64 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.709e-05/0.02773, allocations: 8 kB / 367.1 MB, free: 14.64 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003162/0.02804, allocations: 266.7 kB / 367.4 MB, free: 14.36 MB / 298.7 MB Notification: Performance of pre-optimization done (n=25): time 1.442e-06/0.02804, allocations: 0 / 367.4 MB, free: 14.36 MB / 298.7 MB Notification: Performance of matching and sorting (n=25): time 0.0007773/0.02882, allocations: 0.5017 MB / 367.9 MB, free: 13.86 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.277e-05/0.02888, allocations: 136.5 kB / 368 MB, free: 13.69 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001228/0.03011, allocations: 1.619 MB / 369.6 MB, free: 12.06 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 3.897e-05/0.03015, allocations: 33.7 kB / 369.7 MB, free: 12.02 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005415/0.03069, allocations: 0.9221 MB / 370.6 MB, free: 11.09 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.5e-05/0.03078, allocations: 95.25 kB / 370.7 MB, free: 11 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002568/0.03104, allocations: 255.3 kB / 370.9 MB, free: 10.74 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001368/0.03117, allocations: 0.5276 MB / 371.5 MB, free: 10.2 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002312/0.0314, allocations: 169.4 kB / 371.6 MB, free: 10.04 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000312/0.03172, allocations: 367 kB / 372 MB, free: 9.637 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003641/0.03208, allocations: 274.4 kB / 372.3 MB, free: 9.355 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.544e-06/0.03208, allocations: 4 kB / 372.3 MB, free: 9.352 MB / 298.7 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.0007702/0.03285, allocations: 0.6247 MB / 372.9 MB, free: 8.719 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.6e-05/0.03287, allocations: 4 kB / 372.9 MB, free: 8.715 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.558e-06/0.03288, allocations: 4 kB / 372.9 MB, free: 8.711 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.228e-06/0.03289, allocations: 0 / 372.9 MB, free: 8.711 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003544/0.03324, allocations: 131.8 kB / 373 MB, free: 8.582 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.548e-06/0.03325, allocations: 4 kB / 373 MB, free: 8.578 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004978/0.03374, allocations: 71.78 kB / 373.1 MB, free: 8.508 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.267e-05/0.03379, allocations: 12 kB / 373.1 MB, free: 8.496 MB / 298.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.0002406/0.03403, allocations: 188.4 kB / 373.3 MB, free: 8.301 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001537/0.03418, allocations: 163 kB / 373.5 MB, free: 8.141 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001171/0.0343, allocations: 122.5 kB / 373.6 MB, free: 8.02 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.356e-06/0.0343, allocations: 4 kB / 373.6 MB, free: 8.016 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.174e-06/0.0343, allocations: 3.938 kB / 373.6 MB, free: 8.012 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.767e-06/0.03431, allocations: 0 / 373.6 MB, free: 8.012 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007692/0.03508, allocations: 0.799 MB / 374.4 MB, free: 7.18 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.937e-06/0.03508, allocations: 4 kB / 374.4 MB, free: 7.176 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002496/0.03533, allocations: 87.92 kB / 374.5 MB, free: 7.09 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.397e-06/0.03533, allocations: 4 kB / 374.5 MB, free: 7.086 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.701e-05/0.03536, allocations: 4 kB / 374.5 MB, free: 7.082 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.393e-06/0.03536, allocations: 0 / 374.5 MB, free: 7.082 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.283e-06/0.03536, allocations: 48 / 374.5 MB, free: 7.082 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005678/0.03593, allocations: 473.7 kB / 374.9 MB, free: 6.594 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001554/0.03609, allocations: 146.9 kB / 375.1 MB, free: 6.449 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001329/0.03622, allocations: 8 kB / 375.1 MB, free: 6.441 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003336/0.03655, allocations: 59.94 kB / 375.2 MB, free: 6.383 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001492/0.0367, allocations: 59.88 kB / 375.2 MB, free: 6.324 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.413e-05/0.03675, allocations: 8 kB / 375.2 MB, free: 6.316 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0006521/0.0374, allocations: 0.8896 MB / 376.1 MB, free: 5.434 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.71e-07/0.0374, allocations: 0 / 376.1 MB, free: 5.434 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.001013/0.03841, allocations: 0.5808 MB / 376.7 MB, free: 4.852 MB / 298.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.0007348/0.03915, allocations: 0.5216 MB / 377.2 MB, free: 4.32 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0005849/0.03973, allocations: 433 kB / 377.6 MB, free: 3.898 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.03973, allocations: 0 / 377.6 MB, free: 3.898 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002471/0.03998, allocations: 179.5 kB / 377.8 MB, free: 3.719 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001492/0.04147, allocations: 0.8482 MB / 378.7 MB, free: 2.91 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003028/0.0445, allocations: 2.709 MB / 381.4 MB, free: 148 kB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000304/0.0448, allocations: 430 kB / 381.8 MB, free: 15.7 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0004692/0.04527, allocations: 147.8 kB / 381.9 MB, free: 15.55 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009207/0.04619, allocations: 0.49 MB / 382.4 MB, free: 15.06 MB / 314.7 MB Notification: Performance of SimCode: time 1.453e-06/0.0462, allocations: 0 / 382.4 MB, free: 15.06 MB / 314.7 MB Notification: Performance of Templates: time 0.139/0.1852, allocations: 35 MB / 417.4 MB, free: 66.36 MB / 330.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.5192867419682443]