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.00728/0.00728, allocations: 99.95 kB / 15.73 MB, free: 6.473 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.00187/0.00187, allocations: 194.8 kB / 16.67 MB, free: 6.379 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.357/1.357, allocations: 222.9 MB / 240.4 MB, free: 4.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/StewartPlatform 1.0.2/package.mo): time 0.1423/0.1423, allocations: 6.484 MB / 297 MB, free: 2.672 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001179/0.001179, allocations: 67.89 kB / 410.9 MB, free: 12.09 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2748/0.276, allocations: 50.85 MB / 461.7 MB, free: 19.3 MB / 350.1 MB Notification: Performance of NFInst.instantiate(StewartPlatform.Tests.Switch2_test): time 0.004399/0.2804, allocations: 3.861 MB / 465.6 MB, free: 16.59 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005554/0.286, allocations: 4.193 MB / 469.8 MB, free: 13.67 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003376/0.2864, allocations: 11 kB / 469.8 MB, free: 13.67 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008447/0.2872, allocations: 312.8 kB / 470.1 MB, free: 13.52 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003286/0.2906, allocations: 1.385 MB / 471.5 MB, free: 12.92 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005621/0.2911, allocations: 232.5 kB / 471.7 MB, free: 12.8 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.004738/0.2959, allocations: 3.309 MB / 475 MB, free: 11.87 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0014/0.2973, allocations: 1.191 MB / 476.2 MB, free: 11.38 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009924/0.2983, allocations: 0.6566 MB / 476.9 MB, free: 11.1 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009435/0.2993, allocations: 0.84 MB / 477.7 MB, free: 10.73 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002084/0.2995, allocations: 116.8 kB / 477.8 MB, free: 10.73 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002361/0.3018, allocations: 1.081 MB / 478.9 MB, free: 10.43 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000724/0.3026, allocations: 0.9253 MB / 479.8 MB, free: 9.879 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007837/0.3034, allocations: 0.9208 MB / 480.8 MB, free: 9.219 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002985/0.3064, allocations: 2.88 MB / 483.6 MB, free: 7.41 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.08e-06/0.3064, allocations: 0 / 483.6 MB, free: 7.41 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.224e-06/0.3064, allocations: 0 / 483.6 MB, free: 7.41 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.655e-05/0.3064, allocations: 0.875 kB / 483.6 MB, free: 7.41 MB / 350.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.004099/0.3105, allocations: 2.393 MB / 486 MB, free: 5.676 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.817e-05/0.3106, allocations: 8.25 kB / 486.1 MB, free: 5.676 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001344/0.3119, allocations: 308.7 kB / 486.4 MB, free: 5.535 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00318/0.3151, allocations: 1.915 MB / 488.3 MB, free: 4.34 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003947/0.3156, allocations: 256.1 kB / 488.5 MB, free: 4.172 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001635/0.3157, allocations: 65.69 kB / 488.6 MB, free: 4.152 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003624/0.3194, allocations: 1.626 MB / 490.2 MB, free: 3.223 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.882e-05/0.3194, allocations: 4 kB / 490.2 MB, free: 3.219 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001105/0.3195, allocations: 30.38 kB / 490.2 MB, free: 3.195 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.143e-05/0.3196, allocations: 39.33 kB / 490.3 MB, free: 3.184 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004287/0.3239, allocations: 1.858 MB / 492.1 MB, free: 1.668 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004807/0.3287, allocations: 3.484 MB / 495.6 MB, free: 14.11 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001972/0.3307, allocations: 0.7215 MB / 496.3 MB, free: 13.38 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00176/0.3324, allocations: 0.6291 MB / 497 MB, free: 12.75 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.457e-05/0.3325, allocations: 4 kB / 497 MB, free: 12.75 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001984/0.3345, allocations: 0.7601 MB / 497.7 MB, free: 11.97 MB / 366.1 MB Notification: Performance of pre-optimization done (n=25): time 2.554e-06/0.3345, allocations: 0 / 497.7 MB, free: 11.97 MB / 366.1 MB Notification: Performance of matching and sorting (n=25): time 0.00573/0.3403, allocations: 1.962 MB / 499.7 MB, free: 10 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.218e-05/0.3403, allocations: 132.5 kB / 499.8 MB, free: 9.84 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003091/0.3434, allocations: 2.423 MB / 0.4905 GB, free: 7.375 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 7.04e-05/0.3435, allocations: 29.7 kB / 0.4905 GB, free: 7.34 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006642/0.3442, allocations: 0.7824 MB / 0.4913 GB, free: 6.551 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001141/0.3443, allocations: 86.89 kB / 0.4914 GB, free: 6.465 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003206/0.3446, allocations: 193.5 kB / 0.4915 GB, free: 6.27 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001118/0.3448, allocations: 337.9 kB / 0.4919 GB, free: 5.934 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002093/0.3469, allocations: 0.8678 MB / 0.4927 GB, free: 5.062 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002145/0.349, allocations: 0.9571 MB / 0.4936 GB, free: 4.09 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003615/0.3526, allocations: 1.38 MB / 0.495 GB, free: 2.699 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.148e-06/0.3527, allocations: 0 / 0.495 GB, free: 2.699 MB / 366.1 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.004627/0.3573, allocations: 1.954 MB / 0.4969 GB, free: 0.7344 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.14e-05/0.3573, allocations: 11.88 kB / 0.4969 GB, free: 0.7227 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.536e-06/0.3573, allocations: 48 / 0.4969 GB, free: 0.7227 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.128e-05/0.3574, allocations: 7.984 kB / 0.4969 GB, free: 0.7148 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001021/0.3584, allocations: 203.7 kB / 0.4971 GB, free: 0.5156 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.984e-06/0.3584, allocations: 0 / 0.4971 GB, free: 0.5156 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001647/0.3601, allocations: 211.1 kB / 0.4973 GB, free: 316 kB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.989e-05/0.3601, allocations: 20 kB / 0.4973 GB, free: 296 kB / 366.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.001005/0.3612, allocations: 0.6085 MB / 0.4979 GB, free: 15.67 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002292/0.3614, allocations: 165.8 kB / 0.4981 GB, free: 15.51 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002582/0.3617, allocations: 172.4 kB / 0.4982 GB, free: 15.34 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.576e-06/0.3617, allocations: 4 kB / 0.4983 GB, free: 15.33 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.588e-06/0.3617, allocations: 3.984 kB / 0.4983 GB, free: 15.33 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.89e-06/0.3617, allocations: 0 / 0.4983 GB, free: 15.33 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001758/0.3635, allocations: 1.404 MB / 0.4996 GB, free: 13.87 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.444e-06/0.3635, allocations: 3.938 kB / 0.4996 GB, free: 13.86 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000853/0.3643, allocations: 163.8 kB / 0.4998 GB, free: 13.7 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.411e-06/0.3643, allocations: 3.938 kB / 0.4998 GB, free: 13.7 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.929e-05/0.3644, allocations: 8 kB / 0.4998 GB, free: 13.69 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.985e-06/0.3644, allocations: 0 / 0.4998 GB, free: 13.69 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.288e-06/0.3644, allocations: 3.984 kB / 0.4998 GB, free: 13.69 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003837/0.3683, allocations: 1.394 MB / 0.5012 GB, free: 12.27 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004349/0.3687, allocations: 267 kB / 0.5014 GB, free: 11.99 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002719/0.369, allocations: 11.94 kB / 0.5014 GB, free: 11.98 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001123/0.3701, allocations: 151.8 kB / 0.5016 GB, free: 11.83 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002789/0.3704, allocations: 79.89 kB / 0.5017 GB, free: 11.75 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.299e-05/0.3705, allocations: 11.98 kB / 0.5017 GB, free: 11.74 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.002399/0.3729, allocations: 1.751 MB / 0.5034 GB, free: 9.965 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3729, allocations: 0 / 0.5034 GB, free: 9.965 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001619/0.3745, allocations: 0.5384 MB / 0.5039 GB, free: 9.426 MB / 382.1 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.00107/0.3756, allocations: 0.5024 MB / 0.5044 GB, free: 8.91 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.004101/0.3797, allocations: 1.593 MB / 0.5059 GB, free: 7.316 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.036e-06/0.3797, allocations: 0 / 0.5059 GB, free: 7.316 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001879/0.3816, allocations: 0.6632 MB / 0.5066 GB, free: 6.652 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003453/0.3851, allocations: 0.9568 MB / 0.5075 GB, free: 5.723 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005144/0.3902, allocations: 3.384 MB / 0.5108 GB, free: 2.301 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001086/0.3913, allocations: 1.543 MB / 0.5123 GB, free: 0.7266 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0009394/0.3923, allocations: 313.5 kB / 0.5126 GB, free: 428 kB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004426/0.3927, allocations: 87.42 kB / 0.5127 GB, free: 340 kB / 382.1 MB Notification: Performance of SimCode: time 5.31e-07/0.3927, allocations: 0 / 0.5127 GB, free: 340 kB / 382.1 MB Notification: Performance of Templates: time 0.04976/0.4425, allocations: 32.33 MB / 0.5443 GB, free: 224 kB / 414.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)