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.001437/0.001437, allocations: 115.2 kB / 16.42 MB, free: 6.457 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.001227/0.001228, allocations: 183.9 kB / 17.35 MB, free: 5.734 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.599/1.599, allocations: 222.9 MB / 241.1 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/StewartPlatform 1.0.2/package.mo): time 0.03078/0.03078, allocations: 6.502 MB / 297.7 MB, free: 8.371 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001194/0.001194, allocations: 63.89 kB / 411.6 MB, free: 24.61 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09113/0.09233, allocations: 50.86 MB / 462.5 MB, free: 5.746 MB / 334.1 MB Notification: Performance of NFInst.instantiate(StewartPlatform.Tests.Switch2_test): time 0.005067/0.09745, allocations: 3.854 MB / 466.3 MB, free: 1.871 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.005729/0.1032, allocations: 4.197 MB / 470.5 MB, free: 13.66 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004216/0.1037, allocations: 12 kB / 470.5 MB, free: 13.64 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008331/0.1045, allocations: 318.2 kB / 470.8 MB, free: 13.33 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003148/0.1077, allocations: 1.378 MB / 472.2 MB, free: 11.95 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005174/0.1083, allocations: 227.5 kB / 472.4 MB, free: 11.73 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003822/0.1121, allocations: 3.309 MB / 475.7 MB, free: 8.414 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001337/0.1135, allocations: 1.198 MB / 476.9 MB, free: 7.18 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008537/0.1143, allocations: 0.6579 MB / 477.6 MB, free: 6.52 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001088/0.1154, allocations: 0.8406 MB / 478.4 MB, free: 5.676 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002194/0.1157, allocations: 116 kB / 478.5 MB, free: 5.562 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001837/0.1175, allocations: 1.076 MB / 479.6 MB, free: 4.484 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008214/0.1183, allocations: 0.9275 MB / 480.6 MB, free: 3.555 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001046/0.1194, allocations: 0.9249 MB / 481.5 MB, free: 2.625 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002841/0.1222, allocations: 2.892 MB / 484.4 MB, free: 15.72 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.117e-06/0.1223, allocations: 4 kB / 484.4 MB, free: 15.72 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.1223, allocations: 0 / 484.4 MB, free: 15.72 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.989e-05/0.1223, allocations: 3.938 kB / 484.4 MB, free: 15.71 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.003587/0.1259, allocations: 2.457 MB / 486.8 MB, free: 13.2 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.698e-05/0.1259, allocations: 8.031 kB / 486.8 MB, free: 13.19 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001213/0.1271, allocations: 311.5 kB / 487.1 MB, free: 12.89 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002567/0.1297, allocations: 1.931 MB / 489.1 MB, free: 10.91 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003125/0.1301, allocations: 263.5 kB / 489.3 MB, free: 10.63 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001201/0.1302, allocations: 64.38 kB / 489.4 MB, free: 10.57 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003124/0.1333, allocations: 1.623 MB / 491 MB, free: 8.922 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.521e-05/0.1333, allocations: 0 / 491 MB, free: 8.922 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.925e-05/0.1334, allocations: 35.98 kB / 491.1 MB, free: 8.887 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.827e-05/0.1335, allocations: 33.94 kB / 491.1 MB, free: 8.852 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004325/0.1378, allocations: 1.858 MB / 492.9 MB, free: 6.996 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004288/0.1421, allocations: 3.497 MB / 496.4 MB, free: 3.426 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001964/0.1441, allocations: 0.7244 MB / 497.2 MB, free: 2.691 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001766/0.1459, allocations: 0.6252 MB / 497.8 MB, free: 2.062 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.599e-05/0.146, allocations: 0 / 497.8 MB, free: 2.062 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001935/0.1479, allocations: 0.7562 MB / 498.5 MB, free: 1.293 MB / 366.1 MB Notification: Performance of pre-optimization done (n=25): time 2.314e-06/0.1479, allocations: 0 / 498.5 MB, free: 1.293 MB / 366.1 MB Notification: Performance of matching and sorting (n=25): time 0.00563/0.1535, allocations: 1.979 MB / 0.4888 GB, free: 15.3 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.344e-05/0.1536, allocations: 132.5 kB / 0.4889 GB, free: 15.14 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002993/0.1566, allocations: 2.415 MB / 0.4913 GB, free: 12.68 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 6.866e-05/0.1567, allocations: 33.7 kB / 0.4913 GB, free: 12.64 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006911/0.1574, allocations: 0.7791 MB / 0.4921 GB, free: 11.86 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000103/0.1575, allocations: 91.25 kB / 0.4922 GB, free: 11.77 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003514/0.1579, allocations: 205.7 kB / 0.4924 GB, free: 11.56 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000134/0.158, allocations: 341.9 kB / 0.4927 GB, free: 11.22 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002088/0.1601, allocations: 0.86 MB / 0.4935 GB, free: 10.36 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00215/0.1623, allocations: 0.961 MB / 0.4945 GB, free: 9.383 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003604/0.1659, allocations: 1.38 MB / 0.4958 GB, free: 7.992 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.11e-06/0.1659, allocations: 4 kB / 0.4958 GB, free: 7.988 MB / 382.1 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.004622/0.1705, allocations: 1.955 MB / 0.4977 GB, free: 6.023 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.27e-05/0.1706, allocations: 8 kB / 0.4977 GB, free: 6.016 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.538e-06/0.1706, allocations: 3.75 kB / 0.4977 GB, free: 6.016 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.047e-05/0.1706, allocations: 4 kB / 0.4977 GB, free: 6.012 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009796/0.1716, allocations: 203.6 kB / 0.4979 GB, free: 5.812 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.511e-05/0.1716, allocations: 4 kB / 0.4979 GB, free: 5.809 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001537/0.1732, allocations: 199.4 kB / 0.4981 GB, free: 5.613 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.525e-05/0.1733, allocations: 23.98 kB / 0.4981 GB, free: 5.59 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.0008956/0.1742, allocations: 0.6028 MB / 0.4987 GB, free: 4.977 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003163/0.1745, allocations: 178.8 kB / 0.4989 GB, free: 4.801 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003351/0.1748, allocations: 172.4 kB / 0.4991 GB, free: 4.629 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.718e-06/0.1748, allocations: 3.938 kB / 0.4991 GB, free: 4.625 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.095e-06/0.1748, allocations: 7.984 kB / 0.4991 GB, free: 4.617 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004318/0.1753, allocations: 271.9 kB / 0.4993 GB, free: 4.332 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003171/0.1756, allocations: 12 kB / 0.4994 GB, free: 4.32 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001163/0.1768, allocations: 155.8 kB / 0.4995 GB, free: 4.168 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002693/0.1771, allocations: 79.89 kB / 0.4996 GB, free: 4.09 MB / 382.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.004272/0.1813, allocations: 1.41 MB / 0.501 GB, free: 2.672 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.003856/0.1852, allocations: 1.542 MB / 0.5025 GB, free: 1.109 MB / 382.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001814/0.187, allocations: 0.6439 MB / 0.5031 GB, free: 476 kB / 382.1 MB Notification: Performance of sorting global known variables: time 0.2328/0.4198, allocations: 1.745 MB / 0.5048 GB, free: 49.72 MB / 382.1 MB Notification: Performance of Backend: time 1.123e-06/0.4199, allocations: 0 / 0.5048 GB, free: 49.72 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.00452/0.4244, allocations: 1.443 MB / 0.5062 GB, free: 49.43 MB / 382.1 MB Notification: Performance of SimCode: time 0.00709/0.4315, allocations: 4.359 MB / 0.5105 GB, free: 47.5 MB / 382.1 MB Notification: Performance of Templates: time 0.04429/0.4758, allocations: 35.95 MB / 0.5456 GB, free: 20.15 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)