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: translateModel(StewartPlatform.Tests.SpindleDrive_test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="StewartPlatform_StewartPlatform.Tests.SpindleDrive_test") translateModel(StewartPlatform.Tests.SpindleDrive_test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="StewartPlatform_StewartPlatform.Tests.SpindleDrive_test") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001481/0.001481, 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.001709/0.001709, allocations: 194.2 kB / 16.53 MB, free: 6.664 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.321/1.321, allocations: 222.9 MB / 240.2 MB, free: 4.375 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/StewartPlatform 1.0.2/package.mo): time 0.1386/0.1386, allocations: 6.487 MB / 296.9 MB, free: 2.699 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001439/0.001439, allocations: 68.09 kB / 358.7 MB, free: 244 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0985/0.09996, allocations: 50.85 MB / 409.6 MB, free: 13.34 MB / 350.1 MB Notification: Performance of NFInst.instantiate(StewartPlatform.Tests.SpindleDrive_test): time 0.008821/0.1088, allocations: 7.226 MB / 416.8 MB, free: 6.07 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.004824/0.1137, allocations: 2.263 MB / 419.1 MB, free: 3.801 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009527/0.1147, allocations: 31.94 kB / 419.1 MB, free: 3.77 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001789/0.1165, allocations: 0.8093 MB / 419.9 MB, free: 2.957 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002098/0.1186, allocations: 0.8089 MB / 420.7 MB, free: 2.145 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005968/0.1193, allocations: 219.5 kB / 420.9 MB, free: 1.93 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002283/0.1216, allocations: 1.873 MB / 422.8 MB, free: 56 kB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.176/0.2976, allocations: 1.147 MB / 424 MB, free: 35.78 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001033/0.2987, allocations: 0.6768 MB / 424.6 MB, free: 35.74 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008548/0.2995, allocations: 0.9513 MB / 425.6 MB, free: 35.6 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002128/0.2998, allocations: 132.5 kB / 425.7 MB, free: 35.6 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008394/0.3006, allocations: 0.5946 MB / 426.3 MB, free: 35.6 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004746/0.3011, allocations: 0.8684 MB / 427.2 MB, free: 35.49 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006178/0.3017, allocations: 1.086 MB / 428.3 MB, free: 35.06 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00216/0.3039, allocations: 3.31 MB / 431.6 MB, free: 34.56 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.968e-06/0.3039, allocations: 3.312 kB / 431.6 MB, free: 34.56 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.182e-06/0.3039, allocations: 0.7188 kB / 431.6 MB, free: 34.56 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.852e-05/0.304, allocations: 0 / 431.6 MB, free: 34.56 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.002906/0.3069, allocations: 2.475 MB / 434.1 MB, free: 33.38 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.625e-05/0.3069, allocations: 9.438 kB / 434.1 MB, free: 33.38 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004452/0.3114, allocations: 1.557 MB / 435.6 MB, free: 33.22 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001425/0.3128, allocations: 1.016 MB / 436.6 MB, free: 32.82 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.274e-05/0.3129, allocations: 111.3 kB / 436.7 MB, free: 32.79 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000228/0.3131, allocations: 149.9 kB / 436.9 MB, free: 32.76 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005373/0.3185, allocations: 5.533 MB / 442.4 MB, free: 30.08 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.179e-05/0.3186, allocations: 27.84 kB / 442.4 MB, free: 30.08 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001844/0.3188, allocations: 75.88 kB / 442.5 MB, free: 30.05 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001493/0.3203, allocations: 1.263 MB / 443.8 MB, free: 29.85 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006062/0.3263, allocations: 4.603 MB / 448.4 MB, free: 28.54 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01829/0.3447, allocations: 22.13 MB / 470.5 MB, free: 27.92 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002299/0.347, allocations: 1.523 MB / 472 MB, free: 26.99 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005671/0.3476, allocations: 437.9 kB / 472.5 MB, free: 26.83 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003345/0.3479, allocations: 343.3 kB / 472.8 MB, free: 26.53 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.842e-05/0.348, allocations: 41.58 kB / 472.9 MB, free: 26.49 MB / 366.1 MB Notification: Performance of pre-optimization done (n=83): time 3.326e-06/0.348, allocations: 0 / 472.9 MB, free: 26.49 MB / 366.1 MB Notification: Performance of matching and sorting (n=91): time 0.007839/0.3558, allocations: 4.251 MB / 477.1 MB, free: 24.18 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.126e-05/0.356, allocations: 143.9 kB / 477.2 MB, free: 24.02 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003451/0.3594, allocations: 2.556 MB / 479.8 MB, free: 23.04 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 8.267e-05/0.3595, allocations: 35.83 kB / 479.8 MB, free: 23 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001036/0.3606, allocations: 1.935 MB / 481.8 MB, free: 21.49 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002644/0.3608, allocations: 386.2 kB / 482.1 MB, free: 21.23 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008862/0.3617, allocations: 0.8195 MB / 483 MB, free: 20.82 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001151/0.3619, allocations: 307 kB / 483.3 MB, free: 20.52 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001576/0.3634, allocations: 1.077 MB / 484.3 MB, free: 20.2 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002528/0.366, allocations: 3.789 MB / 488.1 MB, free: 16.14 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005291/0.3713, allocations: 5.345 MB / 493.5 MB, free: 11.56 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.99e-05/0.3714, allocations: 27.06 kB / 493.5 MB, free: 11.56 MB / 366.1 MB Notification: Performance of matching and sorting (n=533) (initialization): time 0.006954/0.3783, allocations: 4.623 MB / 498.1 MB, free: 9.785 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.325e-05/0.3784, allocations: 49.16 kB / 498.2 MB, free: 9.781 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.938e-05/0.3785, allocations: 101.6 kB / 498.3 MB, free: 9.777 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001328/0.3787, allocations: 127.5 kB / 498.4 MB, free: 9.777 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002391/0.3811, allocations: 0.9401 MB / 499.3 MB, free: 9.07 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001617/0.3812, allocations: 195.4 kB / 499.5 MB, free: 8.902 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002375/0.3836, allocations: 203 kB / 499.7 MB, free: 8.711 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003015/0.3839, allocations: 262.9 kB / 500 MB, free: 8.457 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.001726/0.3857, allocations: 1.277 MB / 0.4895 GB, free: 7.324 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003611/0.386, allocations: 209.2 kB / 0.4897 GB, free: 7.117 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003728/0.3864, allocations: 250.8 kB / 0.49 GB, free: 6.902 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.797e-05/0.3864, allocations: 8 kB / 0.49 GB, free: 6.895 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.927e-05/0.3865, allocations: 8 kB / 0.49 GB, free: 6.887 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.957e-06/0.3865, allocations: 7.453 kB / 0.49 GB, free: 6.883 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004571/0.391, allocations: 3.111 MB / 0.493 GB, free: 4.141 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.04e-05/0.3911, allocations: 8 kB / 0.493 GB, free: 4.133 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005272/0.3916, allocations: 140.1 kB / 0.4932 GB, free: 4.016 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.167e-05/0.3916, allocations: 9.625 kB / 0.4932 GB, free: 4.008 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.631e-05/0.3917, allocations: 23.42 kB / 0.4932 GB, free: 3.988 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.558e-06/0.3917, allocations: 12 kB / 0.4932 GB, free: 3.977 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.037e-06/0.3917, allocations: 11.94 kB / 0.4932 GB, free: 3.965 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002323/0.394, allocations: 2.082 MB / 0.4952 GB, free: 1.973 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005883/0.3946, allocations: 358.5 kB / 0.4956 GB, free: 1.621 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001936/0.3948, allocations: 21.45 kB / 0.4956 GB, free: 1.602 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006008/0.3954, allocations: 35.47 kB / 0.4956 GB, free: 1.578 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001124/0.3956, allocations: 68.5 kB / 0.4957 GB, free: 1.527 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.01e-05/0.3956, allocations: 32 kB / 0.4957 GB, free: 1.496 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.002066/0.3977, allocations: 1.576 MB / 0.4973 GB, free: 80 kB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3977, allocations: 0 / 0.4973 GB, free: 80 kB / 366.1 MB Notification: Performance of remove unused functions: time 0.00302/0.4007, allocations: 0.5287 MB / 0.4978 GB, free: 15.55 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.000302/0.4011, allocations: 150.6 kB / 0.4979 GB, free: 15.4 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.003997/0.4051, allocations: 2.629 MB / 0.5005 GB, free: 12.8 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.37e-06/0.4051, allocations: 6.625 kB / 0.5005 GB, free: 12.79 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006447/0.4057, allocations: 477.5 kB / 0.501 GB, free: 12.33 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001301/0.4071, allocations: 208.8 kB / 0.5012 GB, free: 12.13 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007691/0.4148, allocations: 4.964 MB / 0.506 GB, free: 7.059 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001935/0.4167, allocations: 2.038 MB / 0.508 GB, free: 4.988 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.002904/0.4196, allocations: 1.312 MB / 0.5093 GB, free: 3.668 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002967/0.42, allocations: 147.4 kB / 0.5094 GB, free: 3.523 MB / 382.1 MB Notification: Performance of SimCode: time 1.232e-06/0.42, allocations: 0 / 0.5094 GB, free: 3.523 MB / 382.1 MB Notification: Performance of Templates: time 0.02962/0.4496, allocations: 15.24 MB / 0.5243 GB, free: 4.391 MB / 398.1 MB make -j1 -f StewartPlatform_StewartPlatform.Tests.SpindleDrive_test.makefile (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 & ./StewartPlatform_StewartPlatform.Tests.SpindleDrive_test -abortSlowSimulation -alarm=480 -lv LOG_STATS > StewartPlatform_StewartPlatform.Tests.SpindleDrive_test.pipe 2>&1)