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.0009377/0.0009377, allocations: 93.06 kB / 19.65 MB, free: 280 kB / 13.93 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.0009853/0.0009853, allocations: 169 kB / 23.02 MB, free: 1.547 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.9195/0.9195, allocations: 177.1 MB / 203.4 MB, free: 5.621 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.01988/0.01988, allocations: 5.068 MB / 265 MB, free: 8.078 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 2.464e-06/2.464e-06, allocations: 0 / 336.2 MB, free: 13.09 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.247e-05/2.494e-05, allocations: 2.312 kB / 336.2 MB, free: 13.09 MB / 266.7 MB Notification: Performance of NFInst.instantiate(StewartPlatform.Tests.Switch2_test): time 0.002915/0.00294, allocations: 3.87 MB / 340 MB, free: 9.195 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.003471/0.006411, allocations: 4.145 MB / 344.2 MB, free: 5.039 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002239/0.006635, allocations: 15.94 kB / 344.2 MB, free: 5.023 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005927/0.007228, allocations: 286.2 kB / 344.5 MB, free: 4.742 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001986/0.009213, allocations: 1.447 MB / 345.9 MB, free: 3.289 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000308/0.009521, allocations: 235.3 kB / 346.2 MB, free: 3.059 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.002207/0.01173, allocations: 3.595 MB / 349.8 MB, free: 15.46 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005791/0.01231, allocations: 0.5463 MB / 350.3 MB, free: 14.87 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008808/0.01319, allocations: 0.9198 MB / 351.2 MB, free: 13.95 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006205/0.01381, allocations: 0.8064 MB / 352 MB, free: 13.14 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001857/0.01399, allocations: 116 kB / 352.1 MB, free: 13.03 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001274/0.01527, allocations: 0.9628 MB / 353.1 MB, free: 12.06 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006632/0.01593, allocations: 0.9586 MB / 354.1 MB, free: 11.1 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004421/0.01637, allocations: 0.6116 MB / 354.7 MB, free: 10.49 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002188/0.01856, allocations: 2.352 MB / 357 MB, free: 8.129 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.438e-06/0.01857, allocations: 4 kB / 357 MB, free: 8.125 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.974e-06/0.01857, allocations: 0 / 357 MB, free: 8.125 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.628e-05/0.01858, allocations: 0 / 357 MB, free: 8.125 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.002549/0.02113, allocations: 2.468 MB / 359.5 MB, free: 5.605 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.342e-05/0.02118, allocations: 16.03 kB / 359.5 MB, free: 5.59 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007062/0.02188, allocations: 415.5 kB / 359.9 MB, free: 5.184 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001545/0.02343, allocations: 1.456 MB / 361.4 MB, free: 3.691 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003356/0.02376, allocations: 0.7499 MB / 362.1 MB, free: 2.805 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.621e-05/0.02385, allocations: 68.38 kB / 362.2 MB, free: 2.738 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001133/0.02498, allocations: 0.9231 MB / 363.1 MB, free: 1.766 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.324e-05/0.025, allocations: 192 / 363.1 MB, free: 1.766 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.194e-05/0.02506, allocations: 36.12 kB / 363.2 MB, free: 1.73 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.448e-05/0.02509, allocations: 33.98 kB / 363.2 MB, free: 1.695 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007717/0.02586, allocations: 0.5036 MB / 363.7 MB, free: 1.191 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002809/0.02867, allocations: 2.72 MB / 366.4 MB, free: 14.41 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003599/0.02903, allocations: 231 kB / 366.6 MB, free: 14.18 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002517/0.02928, allocations: 176.4 kB / 366.8 MB, free: 14 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.845e-05/0.02933, allocations: 4 kB / 366.8 MB, free: 14 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003893/0.02972, allocations: 299.3 kB / 367.1 MB, free: 13.69 MB / 298.7 MB Notification: Performance of pre-optimization done (n=25): time 1.623e-06/0.02972, allocations: 0 / 367.1 MB, free: 13.69 MB / 298.7 MB Notification: Performance of matching and sorting (n=25): time 0.0009941/0.03072, allocations: 0.5948 MB / 367.7 MB, free: 13.09 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.652e-05/0.03077, allocations: 132.5 kB / 367.8 MB, free: 12.93 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001445/0.03222, allocations: 1.686 MB / 369.5 MB, free: 11.23 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 4.36e-05/0.03226, allocations: 37.7 kB / 369.6 MB, free: 11.19 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000548/0.03281, allocations: 0.8991 MB / 370.5 MB, free: 10.28 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.775e-05/0.0329, allocations: 87.27 kB / 370.5 MB, free: 10.2 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000248/0.03315, allocations: 247.4 kB / 370.8 MB, free: 9.945 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001197/0.03327, allocations: 0.516 MB / 371.3 MB, free: 9.422 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003293/0.0336, allocations: 241.4 kB / 371.5 MB, free: 9.188 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004732/0.03407, allocations: 427.1 kB / 371.9 MB, free: 8.727 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000464/0.03453, allocations: 359.3 kB / 372.3 MB, free: 8.359 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.216e-06/0.03454, allocations: 0 / 372.3 MB, free: 8.359 MB / 298.7 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.0009505/0.03549, allocations: 0.7518 MB / 373 MB, free: 7.602 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.256e-05/0.03551, allocations: 10.95 kB / 373.1 MB, free: 7.594 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.146e-06/0.03552, allocations: 0 / 373.1 MB, free: 7.594 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.655e-05/0.03553, allocations: 4 kB / 373.1 MB, free: 7.59 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00038/0.03591, allocations: 139.8 kB / 373.2 MB, free: 7.453 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.786e-06/0.03592, allocations: 3.938 kB / 373.2 MB, free: 7.449 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005595/0.03648, allocations: 107.8 kB / 373.3 MB, free: 7.344 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.513e-05/0.03653, allocations: 23.98 kB / 373.3 MB, free: 7.32 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.0002518/0.03678, allocations: 188.4 kB / 373.5 MB, free: 7.125 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001437/0.03692, allocations: 155 kB / 373.7 MB, free: 6.973 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001102/0.03703, allocations: 126.5 kB / 373.8 MB, free: 6.848 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.298e-06/0.03704, allocations: 3.984 kB / 373.8 MB, free: 6.844 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.3e-06/0.03704, allocations: 0 / 373.8 MB, free: 6.844 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.46e-06/0.03705, allocations: 7.938 kB / 373.8 MB, free: 6.836 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009647/0.03801, allocations: 1.105 MB / 374.9 MB, free: 5.688 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.247e-06/0.03802, allocations: 8 kB / 374.9 MB, free: 5.68 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002566/0.03827, allocations: 99.84 kB / 375 MB, free: 5.582 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.358e-06/0.03828, allocations: 4 kB / 375 MB, free: 5.578 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.879e-05/0.03831, allocations: 0 / 375 MB, free: 5.578 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.176e-06/0.03831, allocations: 4 kB / 375 MB, free: 5.574 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.03831, allocations: 0 / 375 MB, free: 5.574 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006677/0.03898, allocations: 0.5024 MB / 375.5 MB, free: 5.047 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001629/0.03914, allocations: 162.9 kB / 375.7 MB, free: 4.887 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001342/0.03927, allocations: 4 kB / 375.7 MB, free: 4.883 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003547/0.03963, allocations: 95.88 kB / 375.8 MB, free: 4.789 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001646/0.03979, allocations: 55.88 kB / 375.8 MB, free: 4.734 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.02e-05/0.03983, allocations: 12 kB / 375.8 MB, free: 4.723 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.000836/0.04067, allocations: 0.9757 MB / 376.8 MB, free: 3.754 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.04067, allocations: 0 / 376.8 MB, free: 3.754 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0009518/0.04162, allocations: 0.5808 MB / 377.4 MB, free: 3.172 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.0007621/0.04238, allocations: 0.5214 MB / 377.9 MB, free: 2.645 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0007828/0.04317, allocations: 0.5247 MB / 378.5 MB, free: 2.117 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.375e-06/0.04317, allocations: 0 / 378.5 MB, free: 2.117 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003099/0.04348, allocations: 219.5 kB / 378.7 MB, free: 1.898 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001645/0.04512, allocations: 0.9093 MB / 379.6 MB, free: 1.023 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003171/0.0483, allocations: 2.771 MB / 382.3 MB, free: 14.2 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002648/0.04856, allocations: 430 kB / 382.8 MB, free: 13.75 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0005096/0.04907, allocations: 195.6 kB / 383 MB, free: 13.56 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002981/0.04937, allocations: 76.48 kB / 383 MB, free: 13.49 MB / 314.7 MB Notification: Performance of SimCode: time 1.372e-06/0.04937, allocations: 0 / 383 MB, free: 13.49 MB / 314.7 MB Notification: Performance of Templates: time 0.1468/0.1961, allocations: 34.47 MB / 417.5 MB, free: 64.42 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.404991057701409]