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.0008066/0.0008066, allocations: 100 kB / 15.05 MB, free: 1.105 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.0008152/0.0008153, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.519/1.519, allocations: 223.2 MB / 239.9 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/StewartPlatform 1.0.2/package.mo): time 0.1896/0.1896, allocations: 6.471 MB / 297.4 MB, free: 3.656 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003642/0.0003647, allocations: 8 kB / 359.9 MB, free: 200 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1361/0.1365, allocations: 51.85 MB / 411.7 MB, free: 12.3 MB / 350.1 MB Notification: Performance of NFInst.instantiate(StewartPlatform.Tests.SpindleDrive_test): time 0.01348/0.1501, allocations: 12.11 MB / 423.8 MB, free: 156 kB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.2599/0.41, allocations: 3.284 MB / 427.1 MB, free: 33.33 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002856/0.413, allocations: 52.56 kB / 427.2 MB, free: 33.33 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001738/0.4147, allocations: 0.5373 MB / 427.7 MB, free: 33.27 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006905/0.4216, allocations: 1.698 MB / 429.4 MB, free: 33.16 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001198/0.4229, allocations: 148.5 kB / 429.5 MB, free: 33.15 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002809/0.4257, allocations: 1.112 MB / 430.7 MB, free: 33.1 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002345/0.428, allocations: 1.378 MB / 432 MB, free: 32.86 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008901/0.429, allocations: 0.5205 MB / 432.6 MB, free: 32.77 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008647/0.4298, allocations: 0.7088 MB / 433.3 MB, free: 32.65 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001655/0.43, allocations: 75.31 kB / 433.3 MB, free: 32.65 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009492/0.431, allocations: 0.4892 MB / 433.8 MB, free: 32.64 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006044/0.4316, allocations: 0.7401 MB / 434.6 MB, free: 32.54 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000376/0.432, allocations: 462.2 kB / 435 MB, free: 32.41 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002289/0.4343, allocations: 2.604 MB / 437.6 MB, free: 32.21 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.4343, allocations: 0 / 437.6 MB, free: 32.21 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.815e-06/0.4343, allocations: 0 / 437.6 MB, free: 32.21 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.193e-05/0.4343, allocations: 0 / 437.6 MB, free: 32.21 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.003282/0.4376, allocations: 2.066 MB / 439.7 MB, free: 31.06 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.944e-05/0.4377, allocations: 14.88 kB / 439.7 MB, free: 31.06 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005109/0.4382, allocations: 433.8 kB / 440.1 MB, free: 31 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005706/0.4439, allocations: 1.874 MB / 442 MB, free: 30.84 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002976/0.4469, allocations: 1 MB / 443 MB, free: 30.4 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000125/0.447, allocations: 111.7 kB / 443.1 MB, free: 30.4 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003375/0.4474, allocations: 145.8 kB / 443.3 MB, free: 30.4 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008497/0.4559, allocations: 5.524 MB / 448.8 MB, free: 29.05 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.934e-05/0.456, allocations: 28.86 kB / 448.8 MB, free: 29.04 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000268/0.4563, allocations: 76.55 kB / 448.9 MB, free: 29.04 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002382/0.4587, allocations: 1.271 MB / 450.2 MB, free: 29.01 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01153/0.4702, allocations: 4.597 MB / 454.7 MB, free: 28.08 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03331/0.5036, allocations: 22.16 MB / 476.9 MB, free: 27.3 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004321/0.508, allocations: 1.533 MB / 478.4 MB, free: 26.36 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005569/0.5086, allocations: 334.7 kB / 478.8 MB, free: 26.07 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.26e-05/0.5087, allocations: 42.95 kB / 478.8 MB, free: 26.02 MB / 366.1 MB Notification: Performance of pre-optimization done (n=83): time 6.131e-06/0.5087, allocations: 0 / 478.8 MB, free: 26.02 MB / 366.1 MB Notification: Performance of matching and sorting (n=91): time 0.01334/0.5221, allocations: 4.525 MB / 483.3 MB, free: 23.39 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.236e-05/0.5222, allocations: 139.6 kB / 483.5 MB, free: 23.23 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007804/0.53, allocations: 2.536 MB / 486 MB, free: 22.25 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002315/0.5303, allocations: 40.3 kB / 486 MB, free: 22.21 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002871/0.5332, allocations: 1.942 MB / 488 MB, free: 20.7 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001005/0.5342, allocations: 381.3 kB / 488.4 MB, free: 20.44 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006325/0.5349, allocations: 82.95 kB / 488.4 MB, free: 20.38 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0008447/0.5357, allocations: 487.6 kB / 488.9 MB, free: 20 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003402/0.5392, allocations: 1.059 MB / 490 MB, free: 19.68 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005004/0.5442, allocations: 3.764 MB / 493.7 MB, free: 15.57 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004796/0.549, allocations: 2.007 MB / 495.7 MB, free: 14.71 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002343/0.5493, allocations: 27.66 kB / 495.8 MB, free: 14.71 MB / 366.1 MB Notification: Performance of matching and sorting (n=533) (initialization): time 0.01057/0.5599, allocations: 4.602 MB / 0.4886 GB, free: 11.89 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001653/0.56, allocations: 51.98 kB / 0.4887 GB, free: 11.84 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002357/0.5603, allocations: 96 kB / 0.4888 GB, free: 11.75 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002053/0.5605, allocations: 140 kB / 0.4889 GB, free: 11.61 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003182/0.5637, allocations: 0.9396 MB / 0.4898 GB, free: 10.67 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002315/0.564, allocations: 198.1 kB / 0.49 GB, free: 10.48 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003488/0.5675, allocations: 203.7 kB / 0.4902 GB, free: 10.28 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005808/0.568, allocations: 256 kB / 0.4905 GB, free: 10.03 MB / 366.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.00307/0.5711, allocations: 1.281 MB / 0.4917 GB, free: 8.738 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007467/0.5719, allocations: 205.3 kB / 0.4919 GB, free: 8.535 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006537/0.5725, allocations: 251.9 kB / 0.4922 GB, free: 8.289 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.194e-05/0.5726, allocations: 12 kB / 0.4922 GB, free: 8.277 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.323e-05/0.5726, allocations: 13.45 kB / 0.4922 GB, free: 8.266 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.337e-05/0.5726, allocations: 7.984 kB / 0.4922 GB, free: 8.258 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00697/0.5796, allocations: 3.096 MB / 0.4952 GB, free: 5.023 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.575e-05/0.5797, allocations: 4 kB / 0.4952 GB, free: 5.02 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006486/0.5803, allocations: 147.7 kB / 0.4954 GB, free: 4.875 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.881e-05/0.5804, allocations: 15.95 kB / 0.4954 GB, free: 4.859 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.294e-05/0.5805, allocations: 20.88 kB / 0.4954 GB, free: 4.84 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.469e-05/0.5805, allocations: 15.92 kB / 0.4954 GB, free: 4.824 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.507e-06/0.5805, allocations: 8 kB / 0.4954 GB, free: 4.816 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004082/0.5846, allocations: 2.562 MB / 0.4979 GB, free: 1.988 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001468/0.5861, allocations: 366.1 kB / 0.4983 GB, free: 1.609 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007416/0.5868, allocations: 20 kB / 0.4983 GB, free: 1.59 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008191/0.5877, allocations: 40.03 kB / 0.4983 GB, free: 1.551 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001417/0.5878, allocations: 55.83 kB / 0.4984 GB, free: 1.496 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.531e-05/0.5879, allocations: 38.95 kB / 0.4984 GB, free: 1.461 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.002943/0.5909, allocations: 1.572 MB / 0.4999 GB, free: 15.88 MB / 382.1 MB Notification: Performance of sort global known variables: time 3.156e-06/0.5909, allocations: 4 kB / 0.4999 GB, free: 15.87 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.004224/0.5951, allocations: 0.5234 MB / 0.5005 GB, free: 15.35 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.005149/0.6003, allocations: 4.783 MB / 0.5051 GB, free: 10.36 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.005404/0.6057, allocations: 2.492 MB / 0.5076 GB, free: 7.895 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.156e-05/0.6057, allocations: 0 / 0.5076 GB, free: 7.895 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00084/0.6066, allocations: 484.4 kB / 0.508 GB, free: 7.422 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001854/0.6085, allocations: 189.1 kB / 0.5082 GB, free: 7.234 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.327/0.9355, allocations: 83.96 MB / 0.5902 GB, free: 113.7 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001595/0.9371, allocations: 2.08 MB / 0.5922 GB, free: 113 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.002521/0.9396, allocations: 1.314 MB / 0.5935 GB, free: 112.9 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001038/0.9407, allocations: 0.9479 MB / 0.5944 GB, free: 112.9 MB / 446.1 MB Notification: Performance of SimCode: time 1.202e-06/0.9407, allocations: 0 / 0.5944 GB, free: 112.9 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.435/1.376, allocations: 39.09 MB / 0.6326 GB, free: 101 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000191/1.376, allocations: 167.2 kB / 0.6328 GB, free: 100.8 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.689/4.065, allocations: 0 / 0.6328 GB, free: 100.8 MB / 446.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/linux/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) Environment - environmentSimulation: