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.001049/0.001049, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001035/0.001035, allocations: 196 kB / 16.53 MB, free: 6.699 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.255/1.255, allocations: 222.9 MB / 240.2 MB, free: 4.383 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/StewartPlatform 1.0.2/package.mo): time 0.139/0.139, allocations: 6.481 MB / 296.9 MB, free: 2.727 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001296/0.001296, allocations: 59.91 kB / 358.9 MB, free: 132 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08648/0.08781, allocations: 50.86 MB / 409.7 MB, free: 13.23 MB / 350.1 MB Notification: Performance of NFInst.instantiate(StewartPlatform.Tests.SpindleDrive_test): time 0.007673/0.09552, allocations: 7.232 MB / 416.9 MB, free: 5.953 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003966/0.09952, allocations: 2.267 MB / 419.2 MB, free: 3.68 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006004/0.1001, allocations: 27.94 kB / 419.2 MB, free: 3.652 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001536/0.1017, allocations: 0.8015 MB / 420 MB, free: 2.848 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001555/0.1033, allocations: 0.8089 MB / 420.8 MB, free: 2.035 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004619/0.1038, allocations: 223.5 kB / 421.1 MB, free: 1.816 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.1518/0.2556, allocations: 1.86 MB / 422.9 MB, free: 35.83 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001395/0.257, allocations: 1.157 MB / 424.1 MB, free: 35.79 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008785/0.2579, allocations: 0.6794 MB / 424.8 MB, free: 35.74 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007711/0.2587, allocations: 0.9502 MB / 425.7 MB, free: 35.61 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001994/0.2589, allocations: 132.5 kB / 425.8 MB, free: 35.6 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000774/0.2597, allocations: 0.6003 MB / 426.4 MB, free: 35.6 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004533/0.2601, allocations: 0.8614 MB / 427.3 MB, free: 35.49 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005779/0.2607, allocations: 1.083 MB / 428.4 MB, free: 35.06 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002035/0.2628, allocations: 3.315 MB / 431.7 MB, free: 34.55 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.649e-06/0.2628, allocations: 0 / 431.7 MB, free: 34.55 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.472e-06/0.2628, allocations: 0 / 431.7 MB, free: 34.55 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.836e-05/0.2628, allocations: 0 / 431.7 MB, free: 34.55 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.002843/0.2657, allocations: 2.472 MB / 434.2 MB, free: 33.38 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.891e-05/0.2657, allocations: 9.375 kB / 434.2 MB, free: 33.38 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003444/0.2661, allocations: 435.6 kB / 434.6 MB, free: 33.32 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004656/0.2707, allocations: 1.553 MB / 436.2 MB, free: 33.12 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00153/0.2723, allocations: 1.018 MB / 437.2 MB, free: 32.57 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.352e-05/0.2724, allocations: 114 kB / 437.3 MB, free: 32.55 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002216/0.2726, allocations: 159 kB / 437.4 MB, free: 32.51 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00547/0.2781, allocations: 5.521 MB / 443 MB, free: 29.84 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.886e-05/0.2781, allocations: 30 kB / 443 MB, free: 29.84 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001759/0.2783, allocations: 73.97 kB / 443.1 MB, free: 29.81 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001463/0.2798, allocations: 1.265 MB / 444.3 MB, free: 29.6 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005583/0.2854, allocations: 4.606 MB / 448.9 MB, free: 28.29 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01528/0.3007, allocations: 22.13 MB / 471.1 MB, free: 27.67 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002096/0.3028, allocations: 1.52 MB / 472.6 MB, free: 26.75 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005082/0.3033, allocations: 442.8 kB / 473 MB, free: 26.58 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002721/0.3036, allocations: 338 kB / 473.3 MB, free: 26.29 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.138e-05/0.3036, allocations: 41.72 kB / 473.4 MB, free: 26.24 MB / 366.1 MB Notification: Performance of pre-optimization done (n=83): time 3.026e-06/0.3036, allocations: 0 / 473.4 MB, free: 26.24 MB / 366.1 MB Notification: Performance of matching and sorting (n=91): time 0.007419/0.3111, allocations: 4.268 MB / 477.7 MB, free: 23.92 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.675e-05/0.3111, allocations: 139.8 kB / 477.8 MB, free: 23.76 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002833/0.314, allocations: 2.549 MB / 480.3 MB, free: 22.78 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.121e-05/0.314, allocations: 37.14 kB / 480.4 MB, free: 22.74 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008092/0.3149, allocations: 1.939 MB / 482.3 MB, free: 21.23 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002087/0.3151, allocations: 389.8 kB / 482.7 MB, free: 20.96 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007679/0.3158, allocations: 0.8163 MB / 483.5 MB, free: 20.56 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 8.747e-05/0.3159, allocations: 302.3 kB / 483.8 MB, free: 20.26 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001407/0.3173, allocations: 1.084 MB / 484.9 MB, free: 19.94 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002169/0.3195, allocations: 3.787 MB / 488.7 MB, free: 15.89 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004278/0.3238, allocations: 5.346 MB / 494 MB, free: 11.28 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.007e-05/0.3239, allocations: 30.28 kB / 494.1 MB, free: 11.28 MB / 366.1 MB Notification: Performance of matching and sorting (n=533) (initialization): time 0.006003/0.3299, allocations: 4.611 MB / 498.7 MB, free: 9.5 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.201e-05/0.33, allocations: 50.41 kB / 498.7 MB, free: 9.496 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.487e-05/0.33, allocations: 98.92 kB / 498.8 MB, free: 9.496 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001147/0.3302, allocations: 127 kB / 498.9 MB, free: 9.445 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002348/0.3325, allocations: 0.9425 MB / 499.9 MB, free: 8.609 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001351/0.3327, allocations: 196.2 kB / 0.4884 GB, free: 8.438 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002088/0.3348, allocations: 203.3 kB / 0.4885 GB, free: 8.246 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002559/0.335, allocations: 260.8 kB / 0.4888 GB, free: 7.996 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001443/0.3365, allocations: 1.275 MB / 0.49 GB, free: 6.863 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002771/0.3368, allocations: 213.2 kB / 0.4902 GB, free: 6.652 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003196/0.3371, allocations: 245.8 kB / 0.4905 GB, free: 6.441 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.73e-05/0.3371, allocations: 12 kB / 0.4905 GB, free: 6.43 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.155e-05/0.3371, allocations: 4 kB / 0.4905 GB, free: 6.426 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.045e-06/0.3371, allocations: 5.625 kB / 0.4905 GB, free: 6.426 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003916/0.3411, allocations: 3.113 MB / 0.4935 GB, free: 3.684 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.085e-06/0.3411, allocations: 7.188 kB / 0.4935 GB, free: 3.68 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005077/0.3416, allocations: 139.7 kB / 0.4937 GB, free: 3.562 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.105e-05/0.3416, allocations: 12 kB / 0.4937 GB, free: 3.551 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.512e-05/0.3417, allocations: 20 kB / 0.4937 GB, free: 3.531 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.006e-05/0.3417, allocations: 14.67 kB / 0.4937 GB, free: 3.52 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.233e-06/0.3417, allocations: 11.94 kB / 0.4937 GB, free: 3.508 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002002/0.3437, allocations: 2.088 MB / 0.4958 GB, free: 1.512 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004647/0.3442, allocations: 355.1 kB / 0.4961 GB, free: 1.164 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001772/0.3444, allocations: 23.94 kB / 0.4961 GB, free: 1.141 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005948/0.345, allocations: 31.78 kB / 0.4962 GB, free: 1.117 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001055/0.3451, allocations: 67.11 kB / 0.4962 GB, free: 1.066 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.56e-05/0.3451, allocations: 46.45 kB / 0.4963 GB, free: 1.027 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.001765/0.3469, allocations: 1.572 MB / 0.4978 GB, free: 15.59 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.11e-07/0.3469, allocations: 0 / 0.4978 GB, free: 15.59 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.002579/0.3495, allocations: 0.5234 MB / 0.4983 GB, free: 15.07 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.00238/0.3519, allocations: 2.695 MB / 0.501 GB, free: 12.28 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.003604/0.3555, allocations: 2.637 MB / 0.5035 GB, free: 9.664 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.498e-06/0.3555, allocations: 0 / 0.5035 GB, free: 9.664 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005897/0.3561, allocations: 482.1 kB / 0.504 GB, free: 9.195 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001265/0.3574, allocations: 208.7 kB / 0.5042 GB, free: 8.992 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03006/0.3875, allocations: 27.11 MB / 0.5307 GB, free: 9.297 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002102/0.3896, allocations: 2.03 MB / 0.5326 GB, free: 7.238 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.002796/0.3924, allocations: 1.321 MB / 0.5339 GB, free: 5.91 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001134/0.3935, allocations: 0.9484 MB / 0.5349 GB, free: 4.961 MB / 414.1 MB Notification: Performance of SimCode: time 8.01e-07/0.3936, allocations: 0 / 0.5349 GB, free: 4.961 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.341/3.734, allocations: 34.87 MB / 0.5689 GB, free: 2.289 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.29/14.02, allocations: 14.12 kB / 0.5689 GB, free: 2.277 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/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)