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.001188/0.001188, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001183/0.001183, allocations: 194.8 kB / 16.25 MB, free: 6.621 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.205/1.205, allocations: 222.9 MB / 239.9 MB, free: 4.516 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/StewartPlatform 1.0.2/package.mo): time 0.1195/0.1195, allocations: 6.491 MB / 296.5 MB, free: 2.754 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001061/0.001061, allocations: 59.91 kB / 358.3 MB, free: 0.4961 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07761/0.07869, allocations: 50.86 MB / 409.2 MB, free: 13.59 MB / 350.1 MB Notification: Performance of NFInst.instantiate(StewartPlatform.Tests.SpindleDrive_test): time 0.15/0.2288, allocations: 14.21 MB / 423.4 MB, free: 35.48 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.004769/0.2336, allocations: 3.357 MB / 426.8 MB, free: 35.43 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007046/0.2343, allocations: 51.69 kB / 426.8 MB, free: 35.43 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001118/0.2354, allocations: 0.7607 MB / 427.6 MB, free: 35.42 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001026/0.2365, allocations: 0.7587 MB / 428.3 MB, free: 35.3 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003117/0.2368, allocations: 200.3 kB / 428.5 MB, free: 35.29 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001206/0.238, allocations: 1.913 MB / 430.4 MB, free: 35 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008909/0.2389, allocations: 1.228 MB / 431.7 MB, free: 34.76 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004442/0.2394, allocations: 0.6758 MB / 432.3 MB, free: 34.51 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007325/0.2401, allocations: 1.076 MB / 433.4 MB, free: 34.2 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000137/0.2403, allocations: 128.8 kB / 433.5 MB, free: 34.2 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000625/0.2409, allocations: 0.6118 MB / 434.2 MB, free: 34.07 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004063/0.2413, allocations: 0.8721 MB / 435 MB, free: 33.77 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004852/0.2418, allocations: 1.11 MB / 436.1 MB, free: 32.98 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001733/0.2435, allocations: 3.351 MB / 439.5 MB, free: 31.85 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.206e-06/0.2436, allocations: 0 / 439.5 MB, free: 31.85 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.243e-06/0.2436, allocations: 0 / 439.5 MB, free: 31.85 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.33e-05/0.2436, allocations: 0 / 439.5 MB, free: 31.85 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.002309/0.2459, allocations: 2.467 MB / 442 MB, free: 30.35 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.342e-05/0.2459, allocations: 11.53 kB / 442 MB, free: 30.35 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002914/0.2462, allocations: 427.6 kB / 442.4 MB, free: 30.16 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00413/0.2504, allocations: 1.555 MB / 443.9 MB, free: 29.95 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001082/0.2515, allocations: 1.02 MB / 445 MB, free: 29.32 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.335e-05/0.2515, allocations: 110.9 kB / 445.1 MB, free: 29.3 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002096/0.2518, allocations: 165.3 kB / 445.2 MB, free: 29.26 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004507/0.2563, allocations: 5.521 MB / 450.7 MB, free: 26.53 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.269e-05/0.2563, allocations: 25.47 kB / 450.8 MB, free: 26.52 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001647/0.2565, allocations: 74.86 kB / 450.8 MB, free: 26.49 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001342/0.2578, allocations: 1.272 MB / 452.1 MB, free: 26.26 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005093/0.2629, allocations: 4.599 MB / 456.7 MB, free: 24.83 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01529/0.2782, allocations: 22.13 MB / 478.8 MB, free: 24.04 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002109/0.2804, allocations: 1.522 MB / 480.4 MB, free: 23.11 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005178/0.2809, allocations: 444.1 kB / 480.8 MB, free: 22.94 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002887/0.2812, allocations: 340.4 kB / 481.1 MB, free: 22.64 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.166e-05/0.2812, allocations: 42.97 kB / 481.2 MB, free: 22.6 MB / 366.1 MB Notification: Performance of pre-optimization done (n=83): time 2.755e-06/0.2813, allocations: 3.938 kB / 481.2 MB, free: 22.59 MB / 366.1 MB Notification: Performance of matching and sorting (n=91): time 0.006977/0.2882, allocations: 4.258 MB / 485.4 MB, free: 20.25 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.586e-05/0.2883, allocations: 139.9 kB / 485.6 MB, free: 20.09 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002662/0.291, allocations: 2.547 MB / 488.1 MB, free: 19.12 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.557e-05/0.291, allocations: 36.92 kB / 488.2 MB, free: 19.08 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008271/0.2919, allocations: 1.94 MB / 490.1 MB, free: 17.57 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002384/0.2921, allocations: 390.3 kB / 490.5 MB, free: 17.3 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007661/0.2929, allocations: 0.8144 MB / 491.3 MB, free: 16.9 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 9.328e-05/0.293, allocations: 301.7 kB / 491.6 MB, free: 16.6 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001257/0.2942, allocations: 1.082 MB / 492.7 MB, free: 16.28 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002218/0.2965, allocations: 3.787 MB / 496.5 MB, free: 12.18 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004671/0.3012, allocations: 5.344 MB / 0.49 GB, free: 6.629 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.461e-05/0.3012, allocations: 28 kB / 0.4901 GB, free: 6.602 MB / 366.1 MB Notification: Performance of matching and sorting (n=533) (initialization): time 0.006195/0.3074, allocations: 4.623 MB / 0.4946 GB, free: 1.98 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.56e-05/0.3075, allocations: 48 kB / 0.4946 GB, free: 1.934 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.526e-05/0.3076, allocations: 96 kB / 0.4947 GB, free: 1.84 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001106/0.3077, allocations: 132.7 kB / 0.4948 GB, free: 1.711 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002203/0.3099, allocations: 0.9357 MB / 0.4958 GB, free: 0.7734 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001323/0.31, allocations: 195.2 kB / 0.4959 GB, free: 0.582 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002079/0.3121, allocations: 199.9 kB / 0.4961 GB, free: 396 kB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002846/0.3124, allocations: 262.2 kB / 0.4964 GB, free: 136 kB / 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001527/0.3139, allocations: 1.279 MB / 0.4976 GB, free: 14.84 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002695/0.3142, allocations: 217.1 kB / 0.4978 GB, free: 14.63 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000363/0.3146, allocations: 247.9 kB / 0.4981 GB, free: 14.39 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.067e-05/0.3146, allocations: 23.19 kB / 0.4981 GB, free: 14.37 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.322e-05/0.3146, allocations: 0 / 0.4981 GB, free: 14.37 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.228e-06/0.3147, allocations: 7.984 kB / 0.4981 GB, free: 14.36 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004069/0.3187, allocations: 3.102 MB / 0.5011 GB, free: 11.11 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.594e-06/0.3187, allocations: 4 kB / 0.5011 GB, free: 11.11 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004949/0.3192, allocations: 150.8 kB / 0.5013 GB, free: 10.96 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.595e-05/0.3193, allocations: 8 kB / 0.5013 GB, free: 10.96 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.495e-05/0.3193, allocations: 22.27 kB / 0.5013 GB, free: 10.94 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.096e-05/0.3193, allocations: 15.92 kB / 0.5013 GB, free: 10.92 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.35e-06/0.3193, allocations: 8 kB / 0.5013 GB, free: 10.91 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002144/0.3215, allocations: 2.081 MB / 0.5034 GB, free: 8.742 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004721/0.322, allocations: 358.2 kB / 0.5037 GB, free: 8.371 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001815/0.3222, allocations: 16 kB / 0.5037 GB, free: 8.355 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006048/0.3228, allocations: 31.97 kB / 0.5038 GB, free: 8.324 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001084/0.3229, allocations: 67.81 kB / 0.5038 GB, free: 8.258 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.152e-05/0.323, allocations: 34.66 kB / 0.5039 GB, free: 8.227 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001713/0.3247, allocations: 1.576 MB / 0.5054 GB, free: 6.633 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.402e-06/0.3247, allocations: 0 / 0.5054 GB, free: 6.633 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.002361/0.327, allocations: 0.5311 MB / 0.5059 GB, free: 6.102 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.002472/0.3295, allocations: 2.702 MB / 0.5086 GB, free: 3.297 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.003168/0.3327, allocations: 2.628 MB / 0.5111 GB, free: 0.6992 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.015e-06/0.3327, allocations: 4 kB / 0.5111 GB, free: 0.6953 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000574/0.3333, allocations: 482.9 kB / 0.5116 GB, free: 232 kB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001132/0.3344, allocations: 210.9 kB / 0.5118 GB, free: 24 kB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03187/0.3663, allocations: 28.09 MB / 0.5392 GB, free: 15.33 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001912/0.3683, allocations: 2.038 MB / 0.5412 GB, free: 13.26 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.002838/0.3711, allocations: 1.312 MB / 0.5425 GB, free: 11.94 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001093/0.3722, allocations: 0.9522 MB / 0.5434 GB, free: 10.99 MB / 430.1 MB Notification: Performance of SimCode: time 1.432e-06/0.3722, allocations: 0 / 0.5434 GB, free: 10.99 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0473/0.4195, allocations: 34.73 MB / 0.5773 GB, free: 8.484 MB / 462.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001985/0.4198, allocations: 190.3 kB / 0.5775 GB, free: 8.227 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.384/2.804, allocations: 0 / 0.5775 GB, free: 8.227 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)