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.001507/0.001507, allocations: 88.72 kB / 19.44 MB, free: 356 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.00169/0.00169, allocations: 157.6 kB / 22.75 MB, free: 1.684 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 1.474/1.474, allocations: 177.1 MB / 203.1 MB, free: 5.594 MB / 186.7 MB " [Timeout remaining time 178] 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.03442/0.03442, allocations: 5.059 MB / 264.6 MB, free: 8.117 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.833e-06/1.833e-06, allocations: 0 / 335.5 MB, free: 13.44 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.487e-05/2.67e-05, allocations: 2.312 kB / 335.5 MB, free: 13.44 MB / 266.7 MB Notification: Performance of NFInst.instantiate(StewartPlatform.Tests.Switch2_test): time 0.003843/0.00387, allocations: 3.602 MB / 339.1 MB, free: 9.816 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.004499/0.008369, allocations: 3.87 MB / 342.9 MB, free: 5.934 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002746/0.008644, allocations: 12 kB / 342.9 MB, free: 5.922 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006885/0.009332, allocations: 302.1 kB / 343.2 MB, free: 5.625 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002559/0.01189, allocations: 1.44 MB / 344.7 MB, free: 4.18 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003807/0.01227, allocations: 227.4 kB / 344.9 MB, free: 3.957 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.002735/0.01501, allocations: 3.604 MB / 348.5 MB, free: 352 kB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007354/0.01574, allocations: 0.5463 MB / 349 MB, free: 15.76 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00132/0.01706, allocations: 0.916 MB / 350 MB, free: 14.84 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001167/0.01823, allocations: 0.8102 MB / 350.8 MB, free: 14.03 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004286/0.01866, allocations: 116 kB / 350.9 MB, free: 13.91 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002053/0.02071, allocations: 0.9667 MB / 351.9 MB, free: 12.95 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001648/0.02236, allocations: 0.9625 MB / 352.8 MB, free: 11.98 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0008214/0.02318, allocations: 0.6078 MB / 353.4 MB, free: 11.37 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003917/0.0271, allocations: 2.976 MB / 356.4 MB, free: 8.387 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.362e-06/0.0271, allocations: 4 kB / 356.4 MB, free: 8.383 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.242e-06/0.0271, allocations: 0 / 356.4 MB, free: 8.383 MB / 282.7 MB Notification: Performance of Transformations before backend: time 2.085e-05/0.02713, allocations: 0 / 356.4 MB, free: 8.383 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.004873/0.032, allocations: 2.37 MB / 358.8 MB, free: 5.969 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.055e-05/0.03204, allocations: 8.031 kB / 358.8 MB, free: 5.961 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001535/0.03357, allocations: 419.5 kB / 359.2 MB, free: 5.551 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003517/0.03709, allocations: 1.889 MB / 361.1 MB, free: 3.629 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008057/0.0379, allocations: 0.7733 MB / 361.9 MB, free: 2.719 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001669/0.03806, allocations: 76.31 kB / 361.9 MB, free: 2.645 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003942/0.04201, allocations: 1.691 MB / 363.6 MB, free: 0.9102 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.867e-05/0.04202, allocations: 4.125 kB / 363.6 MB, free: 0.9062 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001197/0.04214, allocations: 32.12 kB / 363.7 MB, free: 0.875 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.625e-05/0.0422, allocations: 41.98 kB / 363.7 MB, free: 0.832 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005219/0.04742, allocations: 1.861 MB / 365.6 MB, free: 14.97 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005549/0.05297, allocations: 2.874 MB / 368.4 MB, free: 12.05 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002235/0.0552, allocations: 0.701 MB / 369.1 MB, free: 11.34 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001984/0.05719, allocations: 0.6252 MB / 369.8 MB, free: 10.71 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.706e-05/0.05725, allocations: 4 kB / 369.8 MB, free: 10.7 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002182/0.05944, allocations: 0.7582 MB / 370.5 MB, free: 9.934 MB / 298.7 MB Notification: Performance of pre-optimization done (n=25): time 1.964e-06/0.05944, allocations: 0 / 370.5 MB, free: 9.934 MB / 298.7 MB Notification: Performance of matching and sorting (n=25): time 0.006568/0.06601, allocations: 1.961 MB / 372.5 MB, free: 7.965 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001064/0.06611, allocations: 128.5 kB / 372.6 MB, free: 7.809 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003485/0.0696, allocations: 2.145 MB / 374.8 MB, free: 5.66 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 8.794e-05/0.06969, allocations: 33.7 kB / 374.8 MB, free: 5.621 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009039/0.07059, allocations: 0.7849 MB / 375.6 MB, free: 4.832 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001444/0.07073, allocations: 87.33 kB / 375.7 MB, free: 4.746 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004054/0.07114, allocations: 221.7 kB / 375.9 MB, free: 4.523 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001954/0.07134, allocations: 338 kB / 376.2 MB, free: 4.188 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002313/0.07365, allocations: 0.864 MB / 377.1 MB, free: 3.324 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002446/0.0761, allocations: 1.037 MB / 378.1 MB, free: 2.25 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004008/0.0801, allocations: 1.385 MB / 379.5 MB, free: 0.8477 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.998e-06/0.08011, allocations: 0 / 379.5 MB, free: 0.8477 MB / 298.7 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.005517/0.08562, allocations: 1.966 MB / 381.5 MB, free: 14.87 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.888e-05/0.08564, allocations: 4 kB / 381.5 MB, free: 14.87 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.413e-05/0.08566, allocations: 4 kB / 381.5 MB, free: 14.86 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.181e-05/0.08568, allocations: 0 / 381.5 MB, free: 14.86 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001062/0.08674, allocations: 203.7 kB / 381.7 MB, free: 14.66 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.261e-05/0.08675, allocations: 11.88 kB / 381.7 MB, free: 14.65 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001567/0.08832, allocations: 171.6 kB / 381.8 MB, free: 14.48 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.162e-05/0.08841, allocations: 23.98 kB / 381.9 MB, free: 14.46 MB / 314.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.001048/0.08946, allocations: 0.6028 MB / 382.5 MB, free: 13.85 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003044/0.08976, allocations: 163 kB / 382.6 MB, free: 13.69 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000275/0.09004, allocations: 154.5 kB / 382.8 MB, free: 13.54 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.54e-06/0.09005, allocations: 4 kB / 382.8 MB, free: 13.54 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.515e-06/0.09005, allocations: 4.031 kB / 382.8 MB, free: 13.53 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.436e-06/0.09006, allocations: 7.922 kB / 382.8 MB, free: 13.52 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001592/0.09165, allocations: 1.039 MB / 383.8 MB, free: 12.45 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.104e-06/0.09166, allocations: 4 kB / 383.8 MB, free: 12.45 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00091/0.09257, allocations: 159.8 kB / 384 MB, free: 12.29 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.206e-06/0.09257, allocations: 0 / 384 MB, free: 12.29 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.656e-05/0.09263, allocations: 15.98 kB / 384 MB, free: 12.27 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.185e-06/0.09263, allocations: 0 / 384 MB, free: 12.27 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.332e-06/0.09263, allocations: 0 / 384 MB, free: 12.27 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004217/0.09685, allocations: 1.386 MB / 385.4 MB, free: 10.87 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003594/0.09721, allocations: 174.9 kB / 385.6 MB, free: 10.7 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002475/0.09745, allocations: 8 kB / 385.6 MB, free: 10.69 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001113/0.09857, allocations: 159.8 kB / 385.7 MB, free: 10.53 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003014/0.09887, allocations: 83.88 kB / 385.8 MB, free: 10.45 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.665e-05/0.09893, allocations: 8 kB / 385.8 MB, free: 10.44 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.002669/0.1016, allocations: 1.534 MB / 387.3 MB, free: 8.914 MB / 314.7 MB Notification: Performance of sort global known variables: time 1.51e-07/0.1016, allocations: 0 / 387.3 MB, free: 8.914 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001537/0.1031, allocations: 0.5731 MB / 387.9 MB, free: 8.34 MB / 314.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.001226/0.1044, allocations: 0.5333 MB / 388.5 MB, free: 7.797 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.004794/0.1092, allocations: 1.553 MB / 390 MB, free: 6.242 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.396e-06/0.1092, allocations: 0 / 390 MB, free: 6.242 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002087/0.1113, allocations: 0.6477 MB / 390.7 MB, free: 5.594 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003412/0.1147, allocations: 0.9407 MB / 391.6 MB, free: 4.691 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006578/0.1212, allocations: 3.406 MB / 395 MB, free: 1.234 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001251/0.1225, allocations: 0.9569 MB / 396 MB, free: 256 kB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.001063/0.1236, allocations: 283.8 kB / 396.2 MB, free: 15.96 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004719/0.124, allocations: 84.44 kB / 396.3 MB, free: 15.89 MB / 330.7 MB Notification: Performance of SimCode: time 1.212e-06/0.124, allocations: 0 / 396.3 MB, free: 15.89 MB / 330.7 MB Notification: Performance of Templates: time 0.151/0.275, allocations: 32.03 MB / 428.3 MB, free: 74.12 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=480 -lv LOG_STATS > StewartPlatform_StewartPlatform.Tests.Switch2_test.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.2518096920102835]