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.0009625/0.0009625, allocations: 92.2 kB / 20.19 MB, free: 4.359 MB / 18.57 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.0009172/0.0009172, allocations: 173 kB / 23.49 MB, free: 1.055 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.9498/0.9498, allocations: 177.1 MB / 203.8 MB, free: 5.648 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.02052/0.02052, allocations: 5.064 MB / 265.3 MB, free: 8.184 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.235e-06/2.235e-06, allocations: 0 / 336.2 MB, free: 13.43 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.825e-05/2.049e-05, allocations: 4.844 kB / 336.2 MB, free: 13.42 MB / 266.7 MB Notification: Performance of NFInst.instantiate(StewartPlatform.Tests.Switch2_test): time 0.004704/0.004725, allocations: 3.855 MB / 340 MB, free: 9.543 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.00556/0.01028, allocations: 4.129 MB / 344.2 MB, free: 5.398 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003512/0.01064, allocations: 15.94 kB / 344.2 MB, free: 5.383 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000705/0.01134, allocations: 290.1 kB / 344.5 MB, free: 5.098 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001877/0.01322, allocations: 1.444 MB / 345.9 MB, free: 3.648 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002878/0.01351, allocations: 231.3 kB / 346.1 MB, free: 3.422 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.002206/0.01571, allocations: 3.596 MB / 349.7 MB, free: 15.81 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005841/0.0163, allocations: 0.5462 MB / 350.3 MB, free: 15.23 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008804/0.01718, allocations: 0.9237 MB / 351.2 MB, free: 14.3 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007363/0.01791, allocations: 0.8026 MB / 352 MB, free: 13.5 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001521/0.01806, allocations: 116 kB / 352.1 MB, free: 13.39 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001189/0.01925, allocations: 0.9667 MB / 353.1 MB, free: 12.42 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005691/0.01982, allocations: 0.9703 MB / 354.1 MB, free: 11.45 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005466/0.02037, allocations: 0.6039 MB / 354.7 MB, free: 10.84 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002051/0.02242, allocations: 2.36 MB / 357 MB, free: 8.473 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.028e-06/0.02242, allocations: 4 kB / 357 MB, free: 8.469 MB / 282.7 MB Notification: Performance of FrontEnd: time 7.41e-07/0.02242, allocations: 0 / 357 MB, free: 8.469 MB / 282.7 MB Notification: Performance of Transformations before backend: time 3.375e-05/0.02246, allocations: 0 / 357 MB, free: 8.469 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.002554/0.02501, allocations: 2.464 MB / 359.5 MB, free: 5.953 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.884e-05/0.02505, allocations: 12.03 kB / 359.5 MB, free: 5.941 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007967/0.02585, allocations: 423.5 kB / 359.9 MB, free: 5.527 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001636/0.02748, allocations: 1.491 MB / 361.4 MB, free: 4 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000358/0.02784, allocations: 0.7421 MB / 362.2 MB, free: 3.121 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.486e-05/0.02794, allocations: 68.38 kB / 362.2 MB, free: 3.055 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001181/0.02912, allocations: 0.9309 MB / 363.2 MB, free: 2.074 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.503e-05/0.02913, allocations: 192 / 363.2 MB, free: 2.074 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.619e-05/0.0292, allocations: 32.12 kB / 363.2 MB, free: 2.043 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.647e-05/0.02924, allocations: 34 kB / 363.2 MB, free: 2.008 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009053/0.03014, allocations: 0.5075 MB / 363.7 MB, free: 1.5 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00302/0.03316, allocations: 2.712 MB / 366.4 MB, free: 14.73 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000399/0.03356, allocations: 219 kB / 366.7 MB, free: 14.5 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000283/0.03384, allocations: 186.1 kB / 366.8 MB, free: 14.32 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.627e-05/0.0339, allocations: 4 kB / 366.8 MB, free: 14.32 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004419/0.03434, allocations: 294.6 kB / 367.1 MB, free: 14.02 MB / 298.7 MB Notification: Performance of pre-optimization done (n=25): time 1.623e-06/0.03434, allocations: 0 / 367.1 MB, free: 14.02 MB / 298.7 MB Notification: Performance of matching and sorting (n=25): time 0.00113/0.03547, allocations: 0.5954 MB / 367.7 MB, free: 13.41 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.303e-05/0.03556, allocations: 136.5 kB / 367.9 MB, free: 13.25 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001636/0.03719, allocations: 1.69 MB / 369.5 MB, free: 11.55 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 4.627e-05/0.03724, allocations: 33.7 kB / 369.6 MB, free: 11.51 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005412/0.03778, allocations: 0.8991 MB / 370.5 MB, free: 10.6 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.295e-05/0.03786, allocations: 91.27 kB / 370.6 MB, free: 10.51 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002547/0.03812, allocations: 247.4 kB / 370.8 MB, free: 10.26 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001314/0.03825, allocations: 0.516 MB / 371.3 MB, free: 9.738 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003642/0.03861, allocations: 241.4 kB / 371.6 MB, free: 9.504 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004376/0.03905, allocations: 431.1 kB / 372 MB, free: 9.039 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005005/0.03955, allocations: 351.4 kB / 372.3 MB, free: 8.68 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.795e-06/0.03955, allocations: 0 / 372.3 MB, free: 8.68 MB / 298.7 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001002/0.04056, allocations: 0.7634 MB / 373.1 MB, free: 7.91 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.849e-05/0.04057, allocations: 4 kB / 373.1 MB, free: 7.906 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.574e-06/0.04058, allocations: 0 / 373.1 MB, free: 7.906 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.574e-05/0.0406, allocations: 4 kB / 373.1 MB, free: 7.902 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003815/0.04098, allocations: 139.8 kB / 373.2 MB, free: 7.766 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.077e-06/0.04099, allocations: 7.938 kB / 373.2 MB, free: 7.758 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000623/0.04161, allocations: 103.8 kB / 373.3 MB, free: 7.656 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.804e-05/0.04169, allocations: 20 kB / 373.4 MB, free: 7.637 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.000256/0.04194, allocations: 188.4 kB / 373.5 MB, free: 7.441 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001524/0.0421, allocations: 155 kB / 373.7 MB, free: 7.289 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001192/0.04222, allocations: 134.5 kB / 373.8 MB, free: 7.156 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.687e-06/0.04222, allocations: 4 kB / 373.8 MB, free: 7.152 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.709e-06/0.04222, allocations: 0 / 373.8 MB, free: 7.152 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.91e-06/0.04223, allocations: 3.938 kB / 373.8 MB, free: 7.148 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00101/0.04324, allocations: 1.102 MB / 374.9 MB, free: 6.004 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.434e-06/0.04324, allocations: 0 / 374.9 MB, free: 6.004 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002656/0.04351, allocations: 99.84 kB / 375 MB, free: 5.906 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.695e-06/0.04351, allocations: 4 kB / 375 MB, free: 5.902 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.641e-05/0.04354, allocations: 0 / 375 MB, free: 5.902 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.106e-06/0.04354, allocations: 8 kB / 375 MB, free: 5.895 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.04354, allocations: 0 / 375 MB, free: 5.895 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007097/0.04425, allocations: 0.5017 MB / 375.5 MB, free: 5.367 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001685/0.04442, allocations: 166.9 kB / 375.7 MB, free: 5.203 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001389/0.04456, allocations: 4 kB / 375.7 MB, free: 5.199 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003832/0.04494, allocations: 91.88 kB / 375.8 MB, free: 5.109 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001681/0.04511, allocations: 51.88 kB / 375.9 MB, free: 5.059 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.037e-05/0.04515, allocations: 20 kB / 375.9 MB, free: 5.039 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0009055/0.04606, allocations: 0.9719 MB / 376.8 MB, free: 4.074 MB / 298.7 MB Notification: Performance of sort global known variables: time 9e-08/0.04606, allocations: 0 / 376.8 MB, free: 4.074 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0009361/0.04699, allocations: 0.5886 MB / 377.4 MB, free: 3.484 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.0007303/0.04772, allocations: 0.5172 MB / 377.9 MB, free: 2.961 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0007887/0.04851, allocations: 0.5208 MB / 378.5 MB, free: 2.438 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.04851, allocations: 3.938 kB / 378.5 MB, free: 2.434 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003321/0.04884, allocations: 215.5 kB / 378.7 MB, free: 2.219 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001611/0.05046, allocations: 0.9144 MB / 379.6 MB, free: 1.344 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003422/0.05388, allocations: 2.771 MB / 382.4 MB, free: 14.52 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002932/0.05417, allocations: 426 kB / 382.8 MB, free: 14.08 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0005/0.05467, allocations: 199.8 kB / 383 MB, free: 13.88 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002938/0.05496, allocations: 84.48 kB / 383.1 MB, free: 13.8 MB / 314.7 MB Notification: Performance of SimCode: time 8.32e-07/0.05497, allocations: 0 / 383.1 MB, free: 13.8 MB / 314.7 MB Notification: Performance of Templates: time 0.1344/0.1893, allocations: 31.99 MB / 415.1 MB, free: 83.67 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.2328213788568974]