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.0019/0.0019, allocations: 110.5 kB / 16.41 MB, free: 6.465 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.002643/0.002643, allocations: 190.7 kB / 17.35 MB, free: 5.711 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.572/1.572, allocations: 222.9 MB / 241.1 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/StewartPlatform 1.0.2/package.mo): time 0.04076/0.04076, allocations: 6.488 MB / 297.7 MB, free: 8.359 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001227/0.001227, allocations: 63.89 kB / 411.6 MB, free: 24.51 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09858/0.09982, allocations: 50.86 MB / 462.5 MB, free: 5.637 MB / 334.1 MB Notification: Performance of NFInst.instantiate(StewartPlatform.Tests.Switch2_test): time 0.005023/0.1049, allocations: 3.847 MB / 466.3 MB, free: 1.77 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.005865/0.1108, allocations: 4.193 MB / 470.5 MB, free: 13.56 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004908/0.1113, allocations: 11.94 kB / 470.5 MB, free: 13.55 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009085/0.1122, allocations: 310.3 kB / 470.8 MB, free: 13.24 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003234/0.1155, allocations: 1.394 MB / 472.2 MB, free: 11.84 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005559/0.1161, allocations: 223.5 kB / 472.4 MB, free: 11.62 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.004199/0.1203, allocations: 3.314 MB / 475.7 MB, free: 8.309 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001593/0.1219, allocations: 1.206 MB / 476.9 MB, free: 7.066 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001109/0.123, allocations: 0.6501 MB / 477.6 MB, free: 6.414 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001242/0.1243, allocations: 0.8406 MB / 478.4 MB, free: 5.57 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004676/0.1247, allocations: 116 kB / 478.5 MB, free: 5.457 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002685/0.1274, allocations: 1.08 MB / 479.6 MB, free: 4.375 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001141/0.1286, allocations: 0.9275 MB / 480.6 MB, free: 3.445 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002326/0.1309, allocations: 0.9171 MB / 481.5 MB, free: 2.523 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004556/0.1355, allocations: 2.9 MB / 484.4 MB, free: 15.61 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.618e-06/0.1355, allocations: 0 / 484.4 MB, free: 15.61 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.1355, allocations: 4 kB / 484.4 MB, free: 15.61 MB / 366.1 MB Notification: Performance of Transformations before backend: time 2.178e-05/0.1356, allocations: 0 / 484.4 MB, free: 15.61 MB / 366.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.004203/0.1398, allocations: 2.452 MB / 486.8 MB, free: 13.1 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.516e-05/0.1398, allocations: 8.031 kB / 486.8 MB, free: 13.09 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001126/0.141, allocations: 315.5 kB / 487.1 MB, free: 12.78 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00259/0.1436, allocations: 1.923 MB / 489.1 MB, free: 10.82 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003249/0.1439, allocations: 263.6 kB / 489.3 MB, free: 10.54 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001287/0.144, allocations: 68.38 kB / 489.4 MB, free: 10.47 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00297/0.147, allocations: 1.627 MB / 491 MB, free: 8.82 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.822e-05/0.147, allocations: 3.984 kB / 491 MB, free: 8.816 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.495e-05/0.1471, allocations: 32 kB / 491.1 MB, free: 8.785 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.783e-05/0.1472, allocations: 34 kB / 491.1 MB, free: 8.75 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004028/0.1512, allocations: 1.861 MB / 492.9 MB, free: 6.891 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004209/0.1554, allocations: 3.493 MB / 496.4 MB, free: 3.324 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001809/0.1573, allocations: 0.7202 MB / 497.2 MB, free: 2.598 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001607/0.1589, allocations: 0.633 MB / 497.8 MB, free: 1.961 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.141e-05/0.159, allocations: 4 kB / 497.8 MB, free: 1.957 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001785/0.1608, allocations: 0.7445 MB / 498.5 MB, free: 1.199 MB / 366.1 MB Notification: Performance of pre-optimization done (n=25): time 3.126e-06/0.1608, allocations: 0 / 498.5 MB, free: 1.199 MB / 366.1 MB Notification: Performance of matching and sorting (n=25): time 0.005208/0.166, allocations: 1.979 MB / 0.4888 GB, free: 15.21 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.354e-05/0.1661, allocations: 132.5 kB / 0.4889 GB, free: 15.05 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00306/0.1691, allocations: 2.419 MB / 0.4913 GB, free: 12.59 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 6.118e-05/0.1692, allocations: 33.7 kB / 0.4913 GB, free: 12.55 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007033/0.1699, allocations: 0.783 MB / 0.4921 GB, free: 11.76 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001082/0.17, allocations: 87.31 kB / 0.4922 GB, free: 11.68 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003168/0.1704, allocations: 209.7 kB / 0.4924 GB, free: 11.46 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000113/0.1705, allocations: 334 kB / 0.4927 GB, free: 11.13 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001852/0.1723, allocations: 0.8639 MB / 0.4935 GB, free: 10.27 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001939/0.1743, allocations: 0.9687 MB / 0.4945 GB, free: 9.281 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00319/0.1775, allocations: 1.388 MB / 0.4958 GB, free: 7.883 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.977e-06/0.1775, allocations: 0 / 0.4958 GB, free: 7.883 MB / 382.1 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.004091/0.1816, allocations: 1.955 MB / 0.4977 GB, free: 5.918 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.002e-05/0.1816, allocations: 8 kB / 0.4977 GB, free: 5.91 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.636e-06/0.1816, allocations: 3.938 kB / 0.4977 GB, free: 5.906 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.792e-05/0.1817, allocations: 4 kB / 0.4977 GB, free: 5.902 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000898/0.1826, allocations: 199.7 kB / 0.4979 GB, free: 5.707 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.524e-05/0.1826, allocations: 7.938 kB / 0.4979 GB, free: 5.699 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001304/0.1839, allocations: 203.3 kB / 0.4981 GB, free: 5.5 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.879e-05/0.184, allocations: 20 kB / 0.4982 GB, free: 5.48 MB / 382.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.0007706/0.1848, allocations: 0.6029 MB / 0.4987 GB, free: 4.867 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001942/0.185, allocations: 174.8 kB / 0.4989 GB, free: 4.695 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002152/0.1852, allocations: 184.4 kB / 0.4991 GB, free: 4.512 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.677e-06/0.1852, allocations: 0 / 0.4991 GB, free: 4.512 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.292e-06/0.1852, allocations: 0 / 0.4991 GB, free: 4.512 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003124/0.1855, allocations: 275.9 kB / 0.4994 GB, free: 4.223 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002248/0.1857, allocations: 8 kB / 0.4994 GB, free: 4.215 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009944/0.1867, allocations: 151.8 kB / 0.4995 GB, free: 4.066 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002592/0.187, allocations: 79.89 kB / 0.4996 GB, free: 3.988 MB / 382.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.003796/0.1908, allocations: 1.406 MB / 0.501 GB, free: 2.574 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.003389/0.1942, allocations: 1.542 MB / 0.5025 GB, free: 1.012 MB / 382.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001617/0.1958, allocations: 0.6478 MB / 0.5031 GB, free: 372 kB / 382.1 MB Notification: Performance of sorting global known variables: time 0.2347/0.4306, allocations: 1.741 MB / 0.5048 GB, free: 49.08 MB / 382.1 MB Notification: Performance of Backend: time 1.523e-06/0.4306, allocations: 0 / 0.5048 GB, free: 49.08 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.004284/0.4349, allocations: 1.445 MB / 0.5062 GB, free: 49.02 MB / 382.1 MB Notification: Performance of SimCode: time 0.006987/0.4419, allocations: 4.369 MB / 0.5105 GB, free: 47.23 MB / 382.1 MB Notification: Performance of Templates: time 0.05266/0.4946, allocations: 35.93 MB / 0.5456 GB, free: 19.88 MB / 382.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)