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.001635/0.001635, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.002165/0.002165, allocations: 188.3 kB / 16.25 MB, free: 6.617 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.445/1.445, allocations: 222.9 MB / 239.9 MB, free: 4.434 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/StewartPlatform 1.0.2/package.mo): time 0.1995/0.1995, allocations: 6.486 MB / 296.6 MB, free: 2.711 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001145/0.001145, allocations: 67.91 kB / 358.3 MB, free: 0.5977 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1189/0.1201, allocations: 50.84 MB / 409.1 MB, free: 13.71 MB / 350.1 MB Notification: Performance of NFInst.instantiate(StewartPlatform.Tests.Switch2_test): time 0.006713/0.1268, allocations: 5.293 MB / 414.4 MB, free: 8.387 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.007089/0.134, allocations: 4.517 MB / 418.9 MB, free: 3.852 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007645/0.1348, allocations: 12 kB / 418.9 MB, free: 3.84 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009865/0.1358, allocations: 282.5 kB / 419.2 MB, free: 3.562 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003544/0.1394, allocations: 1.301 MB / 420.5 MB, free: 2.262 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005791/0.14, allocations: 191.6 kB / 420.7 MB, free: 2.074 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.2298/0.3697, allocations: 3.381 MB / 424.1 MB, free: 37.39 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001173/0.371, allocations: 1.198 MB / 425.3 MB, free: 37.14 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009768/0.3719, allocations: 0.6662 MB / 425.9 MB, free: 37.08 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008373/0.3728, allocations: 0.9339 MB / 426.9 MB, free: 36.95 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001533/0.373, allocations: 114.3 kB / 427 MB, free: 36.95 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001987/0.375, allocations: 1.05 MB / 428 MB, free: 36.95 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006784/0.3756, allocations: 0.92 MB / 428.9 MB, free: 36.88 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000807/0.3765, allocations: 0.9509 MB / 429.9 MB, free: 36.59 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00274/0.3792, allocations: 2.761 MB / 432.7 MB, free: 36.24 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.39e-06/0.3792, allocations: 0 / 432.7 MB, free: 36.24 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.843e-06/0.3792, allocations: 0.5625 kB / 432.7 MB, free: 36.24 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.187e-05/0.3793, allocations: 4 kB / 432.7 MB, free: 36.23 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.003813/0.3831, allocations: 2.384 MB / 435 MB, free: 35.05 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.961e-05/0.3832, allocations: 9.906 kB / 435.1 MB, free: 35.05 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001195/0.3844, allocations: 317.8 kB / 435.4 MB, free: 34.95 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002316/0.3867, allocations: 1.908 MB / 437.3 MB, free: 34.21 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002695/0.387, allocations: 257.3 kB / 437.5 MB, free: 34.07 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001276/0.3871, allocations: 68.61 kB / 437.6 MB, free: 34.05 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002879/0.39, allocations: 1.62 MB / 439.2 MB, free: 33.53 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.926e-05/0.39, allocations: 7.984 kB / 439.2 MB, free: 33.52 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001013/0.3901, allocations: 33.97 kB / 439.3 MB, free: 33.5 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.559e-05/0.3902, allocations: 30.62 kB / 439.3 MB, free: 33.5 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003865/0.394, allocations: 1.858 MB / 441.1 MB, free: 33.05 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004265/0.3983, allocations: 3.506 MB / 444.7 MB, free: 31.44 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001742/0.4001, allocations: 0.7293 MB / 445.4 MB, free: 31.25 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001533/0.4016, allocations: 0.6305 MB / 446 MB, free: 31.1 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.757e-05/0.4017, allocations: 4 kB / 446 MB, free: 31.1 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001723/0.4034, allocations: 0.7472 MB / 446.8 MB, free: 30.91 MB / 350.1 MB Notification: Performance of pre-optimization done (n=25): time 2.234e-06/0.4035, allocations: 0 / 446.8 MB, free: 30.91 MB / 350.1 MB Notification: Performance of matching and sorting (n=25): time 0.005053/0.4085, allocations: 1.974 MB / 448.7 MB, free: 30.41 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.944e-05/0.4086, allocations: 131.6 kB / 448.9 MB, free: 30.25 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002865/0.4115, allocations: 2.421 MB / 451.3 MB, free: 29.43 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 8.145e-05/0.4116, allocations: 29.7 kB / 451.3 MB, free: 29.39 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005238/0.4121, allocations: 0.7882 MB / 452.1 MB, free: 28.78 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001109/0.4122, allocations: 81.12 kB / 452.2 MB, free: 28.72 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003163/0.4125, allocations: 198.1 kB / 452.4 MB, free: 28.64 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 6.195e-05/0.4126, allocations: 338.2 kB / 452.7 MB, free: 28.32 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001804/0.4144, allocations: 0.8684 MB / 453.6 MB, free: 28.11 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001812/0.4162, allocations: 0.9552 MB / 454.5 MB, free: 27.84 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003319/0.4196, allocations: 1.385 MB / 455.9 MB, free: 27.5 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.438e-06/0.4196, allocations: 3.938 kB / 455.9 MB, free: 27.5 MB / 350.1 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.004897/0.4245, allocations: 1.951 MB / 457.9 MB, free: 26.95 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.314e-05/0.4245, allocations: 5.5 kB / 457.9 MB, free: 26.95 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.232e-05/0.4245, allocations: 5.312 kB / 457.9 MB, free: 26.95 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.03e-05/0.4246, allocations: 3.594 kB / 457.9 MB, free: 26.95 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009267/0.4255, allocations: 201.7 kB / 458.1 MB, free: 26.94 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.355e-05/0.4255, allocations: 2.75 kB / 458.1 MB, free: 26.94 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001721/0.4272, allocations: 205.8 kB / 458.3 MB, free: 26.9 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.9e-05/0.4273, allocations: 24.22 kB / 458.3 MB, free: 26.89 MB / 350.1 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.001067/0.4284, allocations: 0.5989 MB / 458.9 MB, free: 26.63 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003132/0.4287, allocations: 163.7 kB / 459.1 MB, free: 26.54 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002751/0.429, allocations: 183 kB / 459.2 MB, free: 26.47 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.019e-06/0.429, allocations: 3.031 kB / 459.2 MB, free: 26.47 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.936e-06/0.429, allocations: 1.688 kB / 459.2 MB, free: 26.47 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.178e-06/0.429, allocations: 1.594 kB / 459.3 MB, free: 26.47 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001764/0.4308, allocations: 1.394 MB / 460.6 MB, free: 25.83 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.196e-06/0.4308, allocations: 1.094 kB / 460.6 MB, free: 25.83 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008588/0.4317, allocations: 166.3 kB / 460.8 MB, free: 25.82 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.943e-06/0.4317, allocations: 1.609 kB / 460.8 MB, free: 25.82 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.579e-05/0.4318, allocations: 10.98 kB / 460.8 MB, free: 25.82 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.25e-06/0.4318, allocations: 1.719 kB / 460.8 MB, free: 25.82 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.054e-06/0.4318, allocations: 1.188 kB / 460.8 MB, free: 25.82 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003824/0.4356, allocations: 1.386 MB / 462.2 MB, free: 25.41 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004649/0.4361, allocations: 273.1 kB / 462.5 MB, free: 25.2 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002693/0.4364, allocations: 16.41 kB / 462.5 MB, free: 25.19 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00111/0.4375, allocations: 154.3 kB / 462.6 MB, free: 25.18 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003114/0.4378, allocations: 81.69 kB / 462.7 MB, free: 25.16 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.503e-05/0.4379, allocations: 11.25 kB / 462.7 MB, free: 25.16 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.002769/0.4407, allocations: 1.747 MB / 464.5 MB, free: 24.55 MB / 350.1 MB Notification: Performance of sort global known variables: time 5.31e-07/0.4407, allocations: 0 / 464.5 MB, free: 24.55 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.001777/0.4425, allocations: 0.5343 MB / 465 MB, free: 24.49 MB / 350.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 (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.00115/0.4436, allocations: 0.5033 MB / 465.5 MB, free: 24.34 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.004551/0.4482, allocations: 1.634 MB / 467.2 MB, free: 23.96 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.767e-06/0.4482, allocations: 4 kB / 467.2 MB, free: 23.95 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001989/0.4502, allocations: 0.6595 MB / 467.8 MB, free: 23.81 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00423/0.4544, allocations: 0.9532 MB / 468.8 MB, free: 23.61 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006485/0.461, allocations: 3.875 MB / 472.6 MB, free: 21.7 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001197/0.4622, allocations: 1.545 MB / 474.2 MB, free: 20.86 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.001655/0.4639, allocations: 316.4 kB / 474.5 MB, free: 20.8 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005509/0.4644, allocations: 87.34 kB / 474.6 MB, free: 20.79 MB / 350.1 MB Notification: Performance of SimCode: time 1.322e-06/0.4644, allocations: 0 / 474.6 MB, free: 20.79 MB / 350.1 MB Notification: Performance of Templates: time 0.04728/0.5117, allocations: 32.03 MB / 0.4947 GB, free: 7.34 MB / 366.1 MB make -j1 -f StewartPlatform_StewartPlatform.Tests.Switch2_test.makefile (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)