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.00115/0.00115, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001217/0.001217, allocations: 197.1 kB / 16.14 MB, free: 6.734 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.202/1.202, allocations: 222.9 MB / 239.8 MB, free: 4.645 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/StewartPlatform 1.0.2/package.mo): time 0.1181/0.1181, allocations: 6.481 MB / 296.4 MB, free: 2.672 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001053/0.001053, allocations: 55.91 kB / 358.2 MB, free: 0.6719 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0761/0.07717, allocations: 50.86 MB / 409 MB, free: 13.77 MB / 350.1 MB Notification: Performance of NFInst.instantiate(StewartPlatform.Tests.SpindleDrive_test): time 0.1484/0.2255, allocations: 14.21 MB / 423.2 MB, free: 35.35 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005061/0.2306, allocations: 3.387 MB / 426.6 MB, free: 35.3 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008925/0.2316, allocations: 56.91 kB / 426.7 MB, free: 35.3 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001163/0.2327, allocations: 0.7748 MB / 427.4 MB, free: 35.28 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001056/0.2338, allocations: 0.7661 MB / 428.2 MB, free: 35.17 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003623/0.2342, allocations: 190.6 kB / 428.4 MB, free: 35.15 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001436/0.2356, allocations: 2.623 MB / 431 MB, free: 34.87 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008715/0.2365, allocations: 1.133 MB / 432.1 MB, free: 34.66 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004263/0.237, allocations: 0.5916 MB / 432.7 MB, free: 34.45 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007192/0.2377, allocations: 1.032 MB / 433.8 MB, free: 34.17 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001441/0.2378, allocations: 92.88 kB / 433.9 MB, free: 34.17 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007094/0.2386, allocations: 0.596 MB / 434.5 MB, free: 34.04 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004179/0.239, allocations: 0.8431 MB / 435.3 MB, free: 33.77 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005116/0.2395, allocations: 1.069 MB / 436.4 MB, free: 33.01 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001892/0.2414, allocations: 3.29 MB / 439.7 MB, free: 31.91 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.2414, allocations: 0 / 439.7 MB, free: 31.91 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.423e-06/0.2414, allocations: 4 kB / 439.7 MB, free: 31.91 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.23e-05/0.2415, allocations: 0 / 439.7 MB, free: 31.91 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.002571/0.244, allocations: 2.469 MB / 442.1 MB, free: 30.41 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.482e-05/0.2441, allocations: 14.88 kB / 442.1 MB, free: 30.41 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003091/0.2444, allocations: 431.8 kB / 442.6 MB, free: 30.22 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004059/0.2485, allocations: 1.548 MB / 444.1 MB, free: 30.01 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001188/0.2497, allocations: 1.022 MB / 445.1 MB, free: 29.38 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.284e-05/0.2497, allocations: 117 kB / 445.3 MB, free: 29.35 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000202/0.2499, allocations: 152.9 kB / 445.4 MB, free: 29.32 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004666/0.2546, allocations: 5.521 MB / 450.9 MB, free: 26.59 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.998e-05/0.2547, allocations: 21.34 kB / 450.9 MB, free: 26.58 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000162/0.2548, allocations: 76.44 kB / 451 MB, free: 26.56 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001329/0.2562, allocations: 1.272 MB / 452.3 MB, free: 26.33 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005539/0.2617, allocations: 4.606 MB / 456.9 MB, free: 24.89 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01713/0.2789, allocations: 22.14 MB / 479 MB, free: 24.09 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002164/0.2811, allocations: 1.519 MB / 480.6 MB, free: 23.16 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005373/0.2816, allocations: 444.1 kB / 481 MB, free: 23 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002873/0.2819, allocations: 332.8 kB / 481.3 MB, free: 22.7 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.455e-05/0.2819, allocations: 43.02 kB / 481.4 MB, free: 22.66 MB / 366.1 MB Notification: Performance of pre-optimization done (n=83): time 3.356e-06/0.282, allocations: 0 / 481.4 MB, free: 22.66 MB / 366.1 MB Notification: Performance of matching and sorting (n=91): time 0.007227/0.2892, allocations: 4.264 MB / 485.6 MB, free: 20.31 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.315e-05/0.2893, allocations: 148.3 kB / 485.8 MB, free: 20.14 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002844/0.2921, allocations: 2.546 MB / 488.3 MB, free: 19.17 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.595e-05/0.2922, allocations: 39.72 kB / 488.3 MB, free: 19.13 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000836/0.293, allocations: 1.936 MB / 490.3 MB, free: 17.62 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002225/0.2932, allocations: 391 kB / 490.7 MB, free: 17.36 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007285/0.294, allocations: 0.814 MB / 491.5 MB, free: 16.95 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 8.597e-05/0.2941, allocations: 303.8 kB / 491.8 MB, free: 16.65 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001201/0.2953, allocations: 1.079 MB / 492.9 MB, free: 16.33 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002128/0.2974, allocations: 3.787 MB / 496.6 MB, free: 12.23 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004503/0.3019, allocations: 5.342 MB / 0.4902 GB, free: 6.281 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.709e-05/0.302, allocations: 28 kB / 0.4902 GB, free: 6.254 MB / 366.1 MB Notification: Performance of matching and sorting (n=533) (initialization): time 0.005866/0.3078, allocations: 4.62 MB / 0.4948 GB, free: 1.633 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.512e-05/0.3079, allocations: 54.8 kB / 0.4948 GB, free: 1.582 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.057e-05/0.308, allocations: 96 kB / 0.4949 GB, free: 1.488 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.692e-05/0.3081, allocations: 128.8 kB / 0.495 GB, free: 1.363 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002143/0.3102, allocations: 0.9357 MB / 0.4959 GB, free: 436 kB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000113/0.3104, allocations: 195.2 kB / 0.4961 GB, free: 240 kB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002044/0.3124, allocations: 203.6 kB / 0.4963 GB, free: 36 kB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002563/0.3127, allocations: 256 kB / 0.4966 GB, free: 15.78 MB / 382.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.001417/0.3141, allocations: 1.285 MB / 0.4978 GB, free: 14.49 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000289/0.3144, allocations: 209.2 kB / 0.498 GB, free: 14.29 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003222/0.3147, allocations: 252.2 kB / 0.4983 GB, free: 14.04 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.86e-05/0.3148, allocations: 15.98 kB / 0.4983 GB, free: 14.02 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.281e-05/0.3148, allocations: 0 / 0.4983 GB, free: 14.02 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.762e-06/0.3148, allocations: 15.86 kB / 0.4983 GB, free: 14.01 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004043/0.3188, allocations: 3.106 MB / 0.5013 GB, free: 10.76 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.775e-06/0.3189, allocations: 4 kB / 0.5013 GB, free: 10.76 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004984/0.3194, allocations: 139.8 kB / 0.5015 GB, free: 10.62 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.999e-06/0.3194, allocations: 8 kB / 0.5015 GB, free: 10.61 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.381e-05/0.3194, allocations: 20 kB / 0.5015 GB, free: 10.59 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.146e-05/0.3195, allocations: 17.73 kB / 0.5015 GB, free: 10.58 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.789e-06/0.3195, allocations: 8 kB / 0.5015 GB, free: 10.57 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002098/0.3216, allocations: 2.081 MB / 0.5035 GB, free: 8.398 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004839/0.3221, allocations: 358.2 kB / 0.5039 GB, free: 8.027 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001784/0.3222, allocations: 20 kB / 0.5039 GB, free: 8.008 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005816/0.3228, allocations: 31.97 kB / 0.5039 GB, free: 7.977 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001094/0.323, allocations: 74.16 kB / 0.504 GB, free: 7.906 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.213e-05/0.323, allocations: 39.92 kB / 0.504 GB, free: 7.867 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001686/0.3247, allocations: 1.572 MB / 0.5056 GB, free: 6.277 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.2e-07/0.3247, allocations: 0 / 0.5056 GB, free: 6.277 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.002438/0.3272, allocations: 0.5195 MB / 0.5061 GB, free: 5.758 MB / 382.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.002386/0.3295, allocations: 2.698 MB / 0.5087 GB, free: 2.961 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.003174/0.3327, allocations: 2.507 MB / 0.5112 GB, free: 492 kB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/0.3327, allocations: 0.6875 kB / 0.5112 GB, free: 492 kB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005625/0.3333, allocations: 480.2 kB / 0.5116 GB, free: 12 kB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001166/0.3345, allocations: 203.5 kB / 0.5118 GB, free: 15.81 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0298/0.3643, allocations: 28.1 MB / 0.5393 GB, free: 15.12 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001586/0.3659, allocations: 2.039 MB / 0.5412 GB, free: 13.05 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0026/0.3685, allocations: 1.316 MB / 0.5425 GB, free: 11.73 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009297/0.3695, allocations: 0.9445 MB / 0.5435 GB, free: 10.78 MB / 430.1 MB Notification: Performance of SimCode: time 5.21e-07/0.3695, allocations: 0 / 0.5435 GB, free: 10.78 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04323/0.4127, allocations: 34.2 MB / 0.5768 GB, free: 8.793 MB / 462.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000191/0.4129, allocations: 189.2 kB / 0.577 GB, free: 8.539 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.321/2.733, allocations: 0 / 0.577 GB, free: 8.539 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)