Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr StewartPlatform_StewartPlatform.Tests.SpindleDrive_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: "" <> buildModelFMU(StewartPlatform.Tests.SpindleDrive_test,fileNamePrefix="StewartPlatform_StewartPlatform_Tests_SpindleDrive_test",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(StewartPlatform.Tests.SpindleDrive_test,fileNamePrefix="StewartPlatform_StewartPlatform_Tests_SpindleDrive_test",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007182/0.007182, allocations: 100.7 kB / 15.73 MB, free: 6.039 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.001585/0.001585, allocations: 188.9 kB / 16.67 MB, free: 5.973 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.354/1.354, allocations: 222.9 MB / 240.4 MB, free: 4.172 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/StewartPlatform 1.0.2/package.mo): time 0.1441/0.1441, allocations: 6.479 MB / 297 MB, free: 2.668 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001406/0.001406, allocations: 59.91 kB / 410.4 MB, free: 12.58 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2639/0.2653, allocations: 50.85 MB / 461.3 MB, free: 18.96 MB / 350.1 MB Notification: Performance of NFInst.instantiate(StewartPlatform.Tests.SpindleDrive_test): time 0.007505/0.2728, allocations: 7.227 MB / 468.5 MB, free: 13.86 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.004542/0.2774, allocations: 2.272 MB / 470.8 MB, free: 12.34 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001021/0.2785, allocations: 30.06 kB / 470.8 MB, free: 12.34 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001772/0.2803, allocations: 0.8062 MB / 471.6 MB, free: 11.96 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002191/0.2825, allocations: 0.8348 MB / 472.4 MB, free: 11.56 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000608/0.2831, allocations: 221.5 kB / 472.7 MB, free: 11.45 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002514/0.2857, allocations: 1.872 MB / 474.5 MB, free: 10.7 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001439/0.2871, allocations: 1.152 MB / 475.7 MB, free: 10.2 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001049/0.2882, allocations: 0.6751 MB / 476.4 MB, free: 9.914 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001203/0.2894, allocations: 0.954 MB / 477.3 MB, free: 9.543 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002975/0.2897, allocations: 129.4 kB / 477.4 MB, free: 9.543 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001237/0.2909, allocations: 0.5999 MB / 478 MB, free: 9.395 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008774/0.2918, allocations: 0.8549 MB / 478.9 MB, free: 9.082 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000854/0.2927, allocations: 1.09 MB / 480 MB, free: 8.285 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003679/0.2964, allocations: 3.481 MB / 483.5 MB, free: 6.07 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.131e-06/0.2964, allocations: 0 / 483.5 MB, free: 6.07 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.974e-06/0.2964, allocations: 0 / 483.5 MB, free: 6.07 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.794e-05/0.2965, allocations: 1.188 kB / 483.5 MB, free: 6.07 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: 884 * Number of variables: 884 Notification: Performance of Generate backend data structure: time 0.005397/0.3019, allocations: 2.476 MB / 485.9 MB, free: 4.23 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.944e-05/0.302, allocations: 9.469 kB / 485.9 MB, free: 4.23 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004463/0.3024, allocations: 427.6 kB / 486.4 MB, free: 3.934 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004671/0.3071, allocations: 1.554 MB / 487.9 MB, free: 3.113 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001847/0.309, allocations: 1.032 MB / 488.9 MB, free: 2.383 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.435e-05/0.3091, allocations: 116.6 kB / 489.1 MB, free: 2.324 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002758/0.3093, allocations: 153.3 kB / 489.2 MB, free: 2.266 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007438/0.3168, allocations: 5.524 MB / 494.7 MB, free: 14.22 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.89e-05/0.3169, allocations: 27.75 kB / 494.8 MB, free: 14.2 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001925/0.3171, allocations: 75.91 kB / 494.8 MB, free: 14.12 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001689/0.3188, allocations: 1.261 MB / 496.1 MB, free: 12.86 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007728/0.3265, allocations: 4.61 MB / 0.489 GB, free: 8.242 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02308/0.3497, allocations: 22.06 MB / 0.5105 GB, free: 1.426 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002415/0.3521, allocations: 1.517 MB / 0.512 GB, free: 15.76 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005752/0.3527, allocations: 445.5 kB / 0.5124 GB, free: 15.32 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000332/0.3531, allocations: 347 kB / 0.5127 GB, free: 14.92 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.855e-05/0.3531, allocations: 38.56 kB / 0.5128 GB, free: 14.88 MB / 398.1 MB Notification: Performance of pre-optimization done (n=83): time 2.966e-06/0.3531, allocations: 0 / 0.5128 GB, free: 14.88 MB / 398.1 MB Notification: Performance of matching and sorting (n=91): time 0.00812/0.3612, allocations: 4.249 MB / 0.5169 GB, free: 10.52 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.579e-05/0.3613, allocations: 144.5 kB / 0.5171 GB, free: 10.34 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003032/0.3644, allocations: 2.55 MB / 0.5196 GB, free: 7.766 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 5.836e-05/0.3644, allocations: 37.7 kB / 0.5196 GB, free: 7.723 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001149/0.3656, allocations: 1.943 MB / 0.5215 GB, free: 5.75 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002941/0.3659, allocations: 387.3 kB / 0.5219 GB, free: 5.367 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000884/0.3668, allocations: 0.8135 MB / 0.5227 GB, free: 4.543 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 9.339e-05/0.3669, allocations: 305.1 kB / 0.523 GB, free: 4.242 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00144/0.3683, allocations: 1.082 MB / 0.524 GB, free: 3.156 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002967/0.3713, allocations: 3.787 MB / 0.5277 GB, free: 14 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005162/0.3765, allocations: 5.346 MB / 0.5329 GB, free: 7.297 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.634e-05/0.3766, allocations: 24 kB / 0.533 GB, free: 7.273 MB / 414.1 MB Notification: Performance of matching and sorting (n=533) (initialization): time 0.006719/0.3833, allocations: 4.625 MB / 0.5375 GB, free: 2.641 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.982e-05/0.3834, allocations: 48 kB / 0.5375 GB, free: 2.594 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.8e-05/0.3835, allocations: 96 kB / 0.5376 GB, free: 2.5 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001142/0.3836, allocations: 128 kB / 0.5377 GB, free: 2.375 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002318/0.3859, allocations: 0.9441 MB / 0.5386 GB, free: 1.43 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001336/0.3861, allocations: 187.3 kB / 0.5388 GB, free: 1.246 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002136/0.3882, allocations: 203.6 kB / 0.539 GB, free: 1.047 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002809/0.3885, allocations: 260 kB / 0.5393 GB, free: 0.793 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 442 * Number of states: 0 () * Number of discrete variables: 18 (pointMass.sphereColor[3],pointMass.sphereColor[2],pointMass.sphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],prismatic.boxColor[3],prismatic.boxColor[2],prismatic.boxColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (509): * Single equations (assignments): 506 * 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.001652/0.3902, allocations: 1.27 MB / 0.5405 GB, free: 15.51 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000328/0.3905, allocations: 217.2 kB / 0.5407 GB, free: 15.3 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003744/0.3909, allocations: 247.9 kB / 0.541 GB, free: 15.05 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.91e-05/0.3909, allocations: 8 kB / 0.541 GB, free: 15.04 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.064e-05/0.3909, allocations: 12.28 kB / 0.541 GB, free: 15.03 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.895e-06/0.3909, allocations: 3.984 kB / 0.541 GB, free: 15.03 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004472/0.3954, allocations: 3.108 MB / 0.544 GB, free: 11.76 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.448e-06/0.3954, allocations: 7.938 kB / 0.544 GB, free: 11.75 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005286/0.396, allocations: 144.5 kB / 0.5442 GB, free: 11.61 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.333e-05/0.396, allocations: 8 kB / 0.5442 GB, free: 11.61 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.67e-05/0.396, allocations: 24 kB / 0.5442 GB, free: 11.58 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.193e-05/0.3961, allocations: 11.94 kB / 0.5442 GB, free: 11.57 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.941e-06/0.3961, allocations: 8 kB / 0.5442 GB, free: 11.56 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002333/0.3984, allocations: 2.083 MB / 0.5462 GB, free: 9.387 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006472/0.3991, allocations: 358.2 kB / 0.5466 GB, free: 9.016 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001675/0.3992, allocations: 23.98 kB / 0.5466 GB, free: 8.992 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005944/0.3998, allocations: 31.97 kB / 0.5466 GB, free: 8.961 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000126/0.4, allocations: 75.69 kB / 0.5467 GB, free: 8.887 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.743e-05/0.4001, allocations: 39.94 kB / 0.5467 GB, free: 8.848 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.002057/0.4021, allocations: 1.572 MB / 0.5483 GB, free: 7.262 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.4021, allocations: 0 / 0.5483 GB, free: 7.262 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.002799/0.4049, allocations: 0.5273 MB / 0.5488 GB, free: 6.734 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 27 * Number of states: 2 (prismatic.s,prismatic.v) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (73): * Single equations (assignments): 70 * 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 Backend phase and start with SimCode phase: time 0.002777/0.4077, allocations: 2.692 MB / 0.5514 GB, free: 3.941 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.004093/0.4118, allocations: 2.532 MB / 0.5539 GB, free: 1.43 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 7.845e-06/0.4119, allocations: 0 / 0.5539 GB, free: 1.43 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006593/0.4125, allocations: 484.7 kB / 0.5544 GB, free: 0.957 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001537/0.4141, allocations: 214.8 kB / 0.5546 GB, free: 0.75 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03165/0.4457, allocations: 25.27 MB / 0.5792 GB, free: 3.871 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001803/0.4476, allocations: 2.042 MB / 0.5812 GB, free: 1.797 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.002547/0.4501, allocations: 1.316 MB / 0.5825 GB, free: 484 kB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.2098/0.66, allocations: 0.9462 MB / 0.5834 GB, free: 114.1 MB / 462.1 MB Notification: Performance of SimCode: time 1.442e-06/0.66, allocations: 0 / 0.5834 GB, free: 114.1 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06825/0.7283, allocations: 32.25 MB / 0.6149 GB, free: 104.7 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.37/13.1, allocations: 10.52 kB / 0.6149 GB, free: 104.7 MB / 462.1 MB (rm -f StewartPlatform_StewartPlatform.Tests.SpindleDrive_test.pipe ; mkfifo StewartPlatform_StewartPlatform.Tests.SpindleDrive_test.pipe ; head -c 1048576 < StewartPlatform_StewartPlatform.Tests.SpindleDrive_test.pipe >> ../files/StewartPlatform_StewartPlatform.Tests.SpindleDrive_test.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_StewartPlatform_StewartPlatform_Tests_SpindleDrive_test_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 StewartPlatform_StewartPlatform_Tests_SpindleDrive_test.fmu > StewartPlatform_StewartPlatform.Tests.SpindleDrive_test.pipe 2>&1)