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.00226/0.00226, allocations: 81.5 kB / 19.44 MB, free: 340 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.002875/0.002875, allocations: 173.2 kB / 22.76 MB, free: 1.66 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.563/1.563, allocations: 177.1 MB / 203.1 MB, free: 5.609 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.03739/0.03739, allocations: 5.066 MB / 264.6 MB, free: 8.125 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.214e-06/2.214e-06, allocations: 0 / 335.5 MB, free: 13.45 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.301e-05/2.523e-05, allocations: 2.312 kB / 335.5 MB, free: 13.45 MB / 266.7 MB Notification: Performance of NFInst.instantiate(StewartPlatform.Tests.Switch2_test): time 0.003949/0.003974, allocations: 3.827 MB / 339.3 MB, free: 9.602 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.004573/0.008548, allocations: 4.125 MB / 343.4 MB, free: 5.461 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004021/0.00895, allocations: 12 kB / 343.4 MB, free: 5.449 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007844/0.009734, allocations: 302.1 kB / 343.7 MB, free: 5.152 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002719/0.01245, allocations: 1.44 MB / 345.2 MB, free: 3.707 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004086/0.01286, allocations: 231.4 kB / 345.4 MB, free: 3.48 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.003067/0.01593, allocations: 3.604 MB / 349 MB, free: 15.87 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000895/0.01682, allocations: 0.5423 MB / 349.5 MB, free: 15.29 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001371/0.01819, allocations: 0.916 MB / 350.4 MB, free: 14.37 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001195/0.01939, allocations: 0.8141 MB / 351.3 MB, free: 13.55 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002332/0.01962, allocations: 120 kB / 351.4 MB, free: 13.44 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002207/0.02183, allocations: 0.9628 MB / 352.3 MB, free: 12.47 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00111/0.02294, allocations: 0.9586 MB / 353.3 MB, free: 11.51 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0009039/0.02384, allocations: 0.6117 MB / 353.9 MB, free: 10.9 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00423/0.02807, allocations: 2.972 MB / 356.9 MB, free: 7.918 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.017e-06/0.02808, allocations: 4 kB / 356.9 MB, free: 7.914 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.563e-06/0.02808, allocations: 0 / 356.9 MB, free: 7.914 MB / 282.7 MB Notification: Performance of Transformations before backend: time 2.544e-05/0.0281, allocations: 0 / 356.9 MB, free: 7.914 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.004611/0.03271, allocations: 2.569 MB / 359.5 MB, free: 5.293 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.551e-05/0.03275, allocations: 8.031 kB / 359.5 MB, free: 5.285 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001557/0.03431, allocations: 423.5 kB / 359.9 MB, free: 4.871 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003753/0.03806, allocations: 1.478 MB / 361.3 MB, free: 3.359 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008745/0.03893, allocations: 0.7421 MB / 362.1 MB, free: 2.48 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001828/0.03912, allocations: 76.31 kB / 362.2 MB, free: 2.406 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002597/0.04171, allocations: 1.091 MB / 363.3 MB, free: 1.266 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.981e-05/0.04173, allocations: 192 / 363.3 MB, free: 1.266 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001057/0.04184, allocations: 36.06 kB / 363.3 MB, free: 1.23 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.208e-05/0.04189, allocations: 37.98 kB / 363.3 MB, free: 1.191 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002745/0.04464, allocations: 0.847 MB / 364.2 MB, free: 352 kB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006211/0.05085, allocations: 3.253 MB / 367.4 MB, free: 13.04 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001289/0.05214, allocations: 386.8 kB / 367.8 MB, free: 12.64 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001097/0.05323, allocations: 331.9 kB / 368.1 MB, free: 12.32 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.842e-05/0.05331, allocations: 8 kB / 368.1 MB, free: 12.31 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00134/0.05465, allocations: 469.9 kB / 368.6 MB, free: 11.84 MB / 298.7 MB Notification: Performance of pre-optimization done (n=25): time 2.555e-06/0.05465, allocations: 0 / 368.6 MB, free: 11.84 MB / 298.7 MB Notification: Performance of matching and sorting (n=25): time 0.003758/0.05841, allocations: 1.021 MB / 369.6 MB, free: 10.81 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001083/0.05852, allocations: 140.5 kB / 369.8 MB, free: 10.64 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003316/0.06184, allocations: 2.088 MB / 371.8 MB, free: 8.543 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 7.475e-05/0.06191, allocations: 33.7 kB / 371.9 MB, free: 8.504 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001117/0.06303, allocations: 0.9615 MB / 372.8 MB, free: 7.535 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001498/0.06318, allocations: 95.33 kB / 372.9 MB, free: 7.441 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005216/0.0637, allocations: 291.4 kB / 373.2 MB, free: 7.148 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0003031/0.064, allocations: 0.5277 MB / 373.7 MB, free: 6.613 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001254/0.06526, allocations: 409.2 kB / 374.1 MB, free: 6.211 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001437/0.06669, allocations: 0.5966 MB / 374.7 MB, free: 5.57 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002057/0.06875, allocations: 0.6006 MB / 375.3 MB, free: 4.957 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.817e-06/0.06876, allocations: 0 / 375.3 MB, free: 4.957 MB / 298.7 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.003114/0.07187, allocations: 1.041 MB / 376.4 MB, free: 3.91 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.254e-05/0.07189, allocations: 8 kB / 376.4 MB, free: 3.902 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.867e-06/0.0719, allocations: 0 / 376.4 MB, free: 3.902 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.854e-05/0.07192, allocations: 0 / 376.4 MB, free: 3.902 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008297/0.07275, allocations: 139.8 kB / 376.5 MB, free: 3.766 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.554e-05/0.07277, allocations: 7.938 kB / 376.5 MB, free: 3.758 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001246/0.07401, allocations: 111.8 kB / 376.6 MB, free: 3.648 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.318e-05/0.07408, allocations: 16 kB / 376.7 MB, free: 3.633 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.0006692/0.07475, allocations: 352.3 kB / 377 MB, free: 3.277 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002838/0.07504, allocations: 166.9 kB / 377.2 MB, free: 3.113 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002271/0.07526, allocations: 122.5 kB / 377.3 MB, free: 2.988 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.4e-06/0.07527, allocations: 4 kB / 377.3 MB, free: 2.984 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.729e-06/0.07527, allocations: 0 / 377.3 MB, free: 2.984 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.968e-06/0.07528, allocations: 7.922 kB / 377.3 MB, free: 2.977 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002048/0.07733, allocations: 1.312 MB / 378.6 MB, free: 1.621 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.903e-06/0.07733, allocations: 0 / 378.6 MB, free: 1.621 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005816/0.07792, allocations: 103.9 kB / 378.7 MB, free: 1.52 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.657e-06/0.07792, allocations: 0 / 378.7 MB, free: 1.52 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.712e-05/0.07798, allocations: 4 kB / 378.7 MB, free: 1.516 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.435e-06/0.07798, allocations: 0 / 378.7 MB, free: 1.516 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.757e-06/0.07798, allocations: 4 kB / 378.7 MB, free: 1.512 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002448/0.08043, allocations: 0.7827 MB / 379.5 MB, free: 0.6992 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004169/0.08085, allocations: 170.8 kB / 379.7 MB, free: 0.5312 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002294/0.08108, allocations: 8 kB / 379.7 MB, free: 0.5234 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008204/0.0819, allocations: 87.88 kB / 379.8 MB, free: 448 kB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002869/0.08218, allocations: 67.94 kB / 379.8 MB, free: 380 kB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.286e-05/0.08226, allocations: 19.97 kB / 379.8 MB, free: 360 kB / 298.7 MB Notification: Performance of sorting global known variables: time 0.002072/0.08433, allocations: 1.241 MB / 381.1 MB, free: 15.12 MB / 314.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.08433, allocations: 4 kB / 381.1 MB, free: 15.11 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.00153/0.08586, allocations: 0.5731 MB / 381.7 MB, free: 14.54 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.001165/0.08702, allocations: 0.5216 MB / 382.2 MB, free: 14.01 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.002665/0.08969, allocations: 0.8408 MB / 383 MB, free: 13.16 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 4.959e-06/0.08969, allocations: 7.938 kB / 383 MB, free: 13.16 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001203/0.0909, allocations: 371.4 kB / 383.4 MB, free: 12.79 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003303/0.0942, allocations: 0.9356 MB / 384.3 MB, free: 11.89 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005248/0.09945, allocations: 2.939 MB / 387.3 MB, free: 8.898 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001148/0.1006, allocations: 0.8834 MB / 388.2 MB, free: 7.984 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0008596/0.1015, allocations: 195.8 kB / 388.3 MB, free: 7.789 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004576/0.1019, allocations: 76.48 kB / 388.4 MB, free: 7.715 MB / 314.7 MB Notification: Performance of SimCode: time 1.353e-06/0.1019, allocations: 0 / 388.4 MB, free: 7.715 MB / 314.7 MB Notification: Performance of Templates: time 0.163/0.265, allocations: 31.86 MB / 420.3 MB, free: 74.02 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: 5.395647230907343]