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.0008852/0.0008852, allocations: 82.05 kB / 19.87 MB, free: 4.617 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.0008809/0.0008809, allocations: 170 kB / 23.27 MB, free: 1.223 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.8581/0.8581, allocations: 177.1 MB / 203.7 MB, free: 5.496 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.01971/0.01971, allocations: 5.057 MB / 265.3 MB, free: 7.934 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.463e-06/1.463e-06, allocations: 0 / 336.6 MB, free: 12.8 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.185e-05/1.332e-05, allocations: 2.312 kB / 336.6 MB, free: 12.8 MB / 266.7 MB Notification: Performance of NFInst.instantiate(StewartPlatform.Tests.Switch2_test): time 0.002624/0.002637, allocations: 3.822 MB / 340.5 MB, free: 8.961 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.003056/0.005693, allocations: 4.113 MB / 344.6 MB, free: 4.832 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001754/0.005868, allocations: 12 kB / 344.6 MB, free: 4.82 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004828/0.006351, allocations: 310 kB / 344.9 MB, free: 4.516 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001703/0.008054, allocations: 1.432 MB / 346.3 MB, free: 3.078 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002303/0.008284, allocations: 227.4 kB / 346.5 MB, free: 2.855 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.002083/0.01037, allocations: 3.616 MB / 350.1 MB, free: 15.23 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005398/0.01091, allocations: 0.5423 MB / 350.7 MB, free: 14.65 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007894/0.0117, allocations: 0.9198 MB / 351.6 MB, free: 13.73 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005673/0.01226, allocations: 0.8065 MB / 352.4 MB, free: 12.92 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001119/0.01238, allocations: 116 kB / 352.5 MB, free: 12.8 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001186/0.01356, allocations: 0.9706 MB / 353.5 MB, free: 11.83 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004953/0.01406, allocations: 0.9625 MB / 354.5 MB, free: 10.87 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003688/0.01443, allocations: 0.6 MB / 355.1 MB, free: 10.27 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00179/0.01622, allocations: 2.356 MB / 357.4 MB, free: 7.902 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.655e-06/0.01622, allocations: 0 / 357.4 MB, free: 7.902 MB / 282.7 MB Notification: Performance of FrontEnd: time 7.81e-07/0.01622, allocations: 4 kB / 357.4 MB, free: 7.898 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.216e-05/0.01623, allocations: 4 kB / 357.4 MB, free: 7.895 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.001939/0.01817, allocations: 2.46 MB / 359.9 MB, free: 5.383 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.125e-05/0.0182, allocations: 8.031 kB / 359.9 MB, free: 5.375 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006163/0.01882, allocations: 379.5 kB / 360.3 MB, free: 5.004 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001183/0.02, allocations: 1.323 MB / 361.6 MB, free: 3.645 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003058/0.02031, allocations: 0.7421 MB / 362.3 MB, free: 2.766 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.424e-05/0.02039, allocations: 76.38 kB / 362.4 MB, free: 2.691 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008079/0.0212, allocations: 0.8254 MB / 363.2 MB, free: 1.816 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.198e-05/0.02121, allocations: 192 / 363.2 MB, free: 1.816 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.359e-05/0.02126, allocations: 36.12 kB / 363.3 MB, free: 1.781 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.699e-05/0.02129, allocations: 30 kB / 363.3 MB, free: 1.75 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004714/0.02176, allocations: 405.7 kB / 363.7 MB, free: 1.355 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002292/0.02405, allocations: 2.32 MB / 366 MB, free: 14.99 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002286/0.02428, allocations: 191 kB / 366.2 MB, free: 14.79 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001652/0.02445, allocations: 146.1 kB / 366.3 MB, free: 14.64 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.675e-05/0.02447, allocations: 4 kB / 366.3 MB, free: 14.64 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002787/0.02475, allocations: 266.6 kB / 366.6 MB, free: 14.37 MB / 298.7 MB Notification: Performance of pre-optimization done (n=25): time 1.182e-06/0.02475, allocations: 0 / 366.6 MB, free: 14.37 MB / 298.7 MB Notification: Performance of matching and sorting (n=25): time 0.0006781/0.02543, allocations: 0.5134 MB / 367.1 MB, free: 13.85 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.587e-05/0.02548, allocations: 132.5 kB / 367.2 MB, free: 13.69 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001111/0.02659, allocations: 1.619 MB / 368.9 MB, free: 12.05 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 3.966e-05/0.02663, allocations: 33.7 kB / 368.9 MB, free: 12.02 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004819/0.02711, allocations: 0.9221 MB / 369.8 MB, free: 11.09 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.008e-05/0.02718, allocations: 91.25 kB / 369.9 MB, free: 11 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002205/0.0274, allocations: 255.3 kB / 370.2 MB, free: 10.74 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001237/0.02753, allocations: 0.5198 MB / 370.7 MB, free: 10.21 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002085/0.02773, allocations: 177.4 kB / 370.9 MB, free: 10.04 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005336/0.02827, allocations: 359 kB / 371.2 MB, free: 9.645 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003266/0.02859, allocations: 278.4 kB / 371.5 MB, free: 9.359 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.0286, allocations: 4 kB / 371.5 MB, free: 9.355 MB / 298.7 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.0006681/0.02926, allocations: 0.6248 MB / 372.1 MB, free: 8.723 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.33e-05/0.02928, allocations: 7.938 kB / 372.1 MB, free: 8.715 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.111e-06/0.02928, allocations: 0 / 372.1 MB, free: 8.715 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.086e-05/0.02929, allocations: 4 kB / 372.1 MB, free: 8.711 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003082/0.0296, allocations: 127.9 kB / 372.2 MB, free: 8.586 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.337e-06/0.02961, allocations: 0 / 372.2 MB, free: 8.586 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004119/0.03002, allocations: 79.77 kB / 372.3 MB, free: 8.508 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.765e-05/0.03006, allocations: 19.98 kB / 372.3 MB, free: 8.488 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.0002044/0.03026, allocations: 180.5 kB / 372.5 MB, free: 8.301 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001311/0.03039, allocations: 159 kB / 372.7 MB, free: 8.145 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001136/0.03051, allocations: 126.5 kB / 372.8 MB, free: 8.02 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.895e-06/0.03051, allocations: 4 kB / 372.8 MB, free: 8.016 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.603e-06/0.03051, allocations: 0 / 372.8 MB, free: 8.016 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.928e-06/0.03051, allocations: 3.984 kB / 372.8 MB, free: 8.012 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006674/0.03118, allocations: 0.799 MB / 373.6 MB, free: 7.18 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.03118, allocations: 0 / 373.6 MB, free: 7.18 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002165/0.0314, allocations: 87.92 kB / 373.7 MB, free: 7.094 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.995e-06/0.0314, allocations: 0 / 373.7 MB, free: 7.094 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.404e-05/0.03143, allocations: 8 kB / 373.7 MB, free: 7.086 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.004e-06/0.03143, allocations: 3.984 kB / 373.7 MB, free: 7.082 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.03143, allocations: 0 / 373.7 MB, free: 7.082 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000506/0.03194, allocations: 461.7 kB / 374.1 MB, free: 6.605 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001414/0.03208, allocations: 158.9 kB / 374.3 MB, free: 6.449 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000107/0.03218, allocations: 8 kB / 374.3 MB, free: 6.441 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002995/0.03248, allocations: 51.95 kB / 374.4 MB, free: 6.391 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001295/0.03261, allocations: 59.88 kB / 374.4 MB, free: 6.332 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.579e-05/0.03265, allocations: 11.98 kB / 374.4 MB, free: 6.32 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0006553/0.0333, allocations: 0.8818 MB / 375.3 MB, free: 5.445 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.01e-07/0.0333, allocations: 0 / 375.3 MB, free: 5.445 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.001012/0.03432, allocations: 0.5808 MB / 375.9 MB, free: 4.859 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.000807/0.03512, allocations: 0.5294 MB / 376.4 MB, free: 4.32 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0007139/0.03584, allocations: 417.3 kB / 376.8 MB, free: 3.91 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.03584, allocations: 3.938 kB / 376.8 MB, free: 3.906 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003087/0.03615, allocations: 175.5 kB / 377 MB, free: 3.73 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001834/0.03798, allocations: 0.8512 MB / 377.9 MB, free: 2.926 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003634/0.04162, allocations: 2.724 MB / 380.6 MB, free: 152 kB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003606/0.04198, allocations: 418 kB / 381 MB, free: 15.72 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0005371/0.04251, allocations: 147.8 kB / 381.1 MB, free: 15.57 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001144/0.04366, allocations: 0.5017 MB / 381.6 MB, free: 15.07 MB / 314.7 MB Notification: Performance of SimCode: time 6.51e-07/0.04366, allocations: 0 / 381.6 MB, free: 15.07 MB / 314.7 MB Notification: Performance of Templates: time 0.1324/0.1761, allocations: 34.44 MB / 416.1 MB, free: 77.78 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: 2.9846139191649854]