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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001381/0.001381, allocations: 92.7 kB / 19.44 MB, free: 320 kB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001639/0.001639, allocations: 165.3 kB / 22.76 MB, free: 1.648 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.478/1.478, allocations: 177.1 MB / 203.1 MB, free: 5.602 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/StewartPlatform 1.0.2/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/StewartPlatform 1.0.2/package.mo): time 0.03558/0.03558, allocations: 5.067 MB / 264.6 MB, free: 8.117 MB / 250.7 MB " [Timeout remaining time 180] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(StewartPlatform.Tests.SpindleDrive_test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="StewartPlatform_StewartPlatform.Tests.SpindleDrive_test") translateModel(StewartPlatform.Tests.SpindleDrive_test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="StewartPlatform_StewartPlatform.Tests.SpindleDrive_test") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.585e-06/2.585e-06, allocations: 0 / 335.4 MB, free: 13.44 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.591e-05/3.849e-05, allocations: 2.312 kB / 335.4 MB, free: 13.44 MB / 266.7 MB Notification: Performance of NFInst.instantiate(StewartPlatform.Tests.SpindleDrive_test): time 0.006196/0.006235, allocations: 6.496 MB / 341.9 MB, free: 6.91 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.004146/0.01038, allocations: 2.212 MB / 344.2 MB, free: 4.691 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009141/0.01129, allocations: 35.88 kB / 344.2 MB, free: 4.656 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001778/0.01307, allocations: 0.8364 MB / 345 MB, free: 3.816 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002006/0.01508, allocations: 0.8628 MB / 345.9 MB, free: 2.949 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000636/0.01571, allocations: 247.3 kB / 346.1 MB, free: 2.707 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.002037/0.01775, allocations: 1.899 MB / 348 MB, free: 0.8047 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001569/0.01932, allocations: 1.111 MB / 349.1 MB, free: 15.68 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002007/0.02133, allocations: 0.9975 MB / 350.1 MB, free: 14.68 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001721/0.02305, allocations: 0.9623 MB / 351.1 MB, free: 13.71 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003043/0.02335, allocations: 128 kB / 351.2 MB, free: 13.59 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001274/0.02463, allocations: 0.5459 MB / 351.8 MB, free: 13.04 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001201/0.02583, allocations: 0.8995 MB / 352.7 MB, free: 12.14 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001063/0.02689, allocations: 0.5565 MB / 353.2 MB, free: 11.58 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005127/0.03202, allocations: 3.394 MB / 356.6 MB, free: 8.172 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.03202, allocations: 0 / 356.6 MB, free: 8.172 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.152e-06/0.03202, allocations: 0 / 356.6 MB, free: 8.172 MB / 282.7 MB Notification: Performance of Transformations before backend: time 6.416e-05/0.03209, allocations: 0 / 356.6 MB, free: 8.172 MB / 282.7 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.004569/0.03666, allocations: 2.417 MB / 359 MB, free: 5.711 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.423e-05/0.0367, allocations: 8.031 kB / 359 MB, free: 5.703 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006545/0.04325, allocations: 1.918 MB / 361 MB, free: 3.781 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002724/0.04597, allocations: 0.9837 MB / 361.9 MB, free: 2.766 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001387/0.04611, allocations: 115.1 kB / 362.1 MB, free: 2.652 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003864/0.04649, allocations: 148.2 kB / 362.2 MB, free: 2.508 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01085/0.05734, allocations: 5.531 MB / 367.7 MB, free: 12.51 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.602e-05/0.05742, allocations: 31.7 kB / 367.8 MB, free: 12.48 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002603/0.05768, allocations: 71.91 kB / 367.8 MB, free: 12.41 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002171/0.05985, allocations: 1.268 MB / 369.1 MB, free: 11.14 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008979/0.06883, allocations: 4.609 MB / 373.7 MB, free: 6.535 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02776/0.09658, allocations: 20.76 MB / 394.5 MB, free: 1.02 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002656/0.09924, allocations: 1.052 MB / 395.5 MB, free: 15.93 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007198/0.09996, allocations: 415.2 kB / 395.9 MB, free: 15.52 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002865/0.1002, allocations: 117.7 kB / 396.1 MB, free: 15.4 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.355e-05/0.1003, allocations: 46.5 kB / 396.1 MB, free: 15.35 MB / 330.7 MB Notification: Performance of pre-optimization done (n=83): time 2.555e-06/0.1003, allocations: 0 / 396.1 MB, free: 15.35 MB / 330.7 MB Notification: Performance of matching and sorting (n=91): time 0.00966/0.11, allocations: 4.312 MB / 400.4 MB, free: 10.97 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001166/0.1101, allocations: 152.4 kB / 400.6 MB, free: 10.79 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003361/0.1134, allocations: 2.389 MB / 402.9 MB, free: 8.359 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000108/0.1135, allocations: 37.7 kB / 403 MB, free: 8.316 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001794/0.1153, allocations: 2.026 MB / 405 MB, free: 6.27 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004471/0.1158, allocations: 393.1 kB / 405.4 MB, free: 5.883 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001138/0.1169, allocations: 0.8103 MB / 406.2 MB, free: 5.062 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0003331/0.1173, allocations: 334 kB / 406.5 MB, free: 4.73 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001892/0.1191, allocations: 1.078 MB / 407.6 MB, free: 3.648 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.1375/0.2567, allocations: 3.785 MB / 411.4 MB, free: 76.38 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00481/0.2615, allocations: 5.338 MB / 416.7 MB, free: 71.96 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.276e-05/0.2615, allocations: 27.5 kB / 416.8 MB, free: 71.96 MB / 330.7 MB Notification: Performance of matching and sorting (n=533) (initialization): time 0.007199/0.2687, allocations: 4.833 MB / 421.6 MB, free: 70.18 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.868e-05/0.2688, allocations: 47.06 kB / 421.6 MB, free: 70.18 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.162e-05/0.2689, allocations: 97.34 kB / 421.7 MB, free: 70.18 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001218/0.269, allocations: 127.4 kB / 421.9 MB, free: 70.18 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002277/0.2713, allocations: 0.9477 MB / 422.8 MB, free: 70.06 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001206/0.2714, allocations: 185.8 kB / 423 MB, free: 70.02 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002177/0.2736, allocations: 205 kB / 423.2 MB, free: 69.96 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000261/0.2738, allocations: 259.3 kB / 423.4 MB, free: 69.93 MB / 330.7 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.001374/0.2752, allocations: 1.285 MB / 424.7 MB, free: 69.35 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000315/0.2755, allocations: 210.9 kB / 424.9 MB, free: 69.34 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003086/0.2758, allocations: 226 kB / 425.2 MB, free: 69.23 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.93e-05/0.2759, allocations: 11.81 kB / 425.2 MB, free: 69.23 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.717e-06/0.2759, allocations: 3.891 kB / 425.2 MB, free: 69.23 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.773e-06/0.2759, allocations: 2.25 kB / 425.2 MB, free: 69.23 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003333/0.2792, allocations: 2.493 MB / 427.7 MB, free: 67.28 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.676e-05/0.2792, allocations: 4 kB / 427.7 MB, free: 67.28 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005003/0.2797, allocations: 142.8 kB / 427.8 MB, free: 67.16 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.926e-06/0.2797, allocations: 8 kB / 427.8 MB, free: 67.15 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.611e-05/0.2798, allocations: 27.06 kB / 427.8 MB, free: 67.12 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.646e-06/0.2798, allocations: 15.69 kB / 427.9 MB, free: 67.11 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.879e-06/0.2798, allocations: 11.94 kB / 427.9 MB, free: 67.1 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001874/0.2817, allocations: 2.071 MB / 429.9 MB, free: 65.23 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004413/0.2821, allocations: 264.9 kB / 430.2 MB, free: 65.07 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001713/0.2823, allocations: 23.73 kB / 430.2 MB, free: 65.05 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006192/0.2829, allocations: 35.44 kB / 430.3 MB, free: 65.02 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001314/0.283, allocations: 66.56 kB / 430.3 MB, free: 64.98 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.832e-05/0.2831, allocations: 28 kB / 430.3 MB, free: 64.95 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0014/0.2845, allocations: 1.342 MB / 431.7 MB, free: 63.81 MB / 330.7 MB Notification: Performance of sort global known variables: time 7e-08/0.2845, allocations: 0 / 431.7 MB, free: 63.81 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.002734/0.2872, allocations: 0.5005 MB / 432.2 MB, free: 63.32 MB / 330.7 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.0002802/0.2875, allocations: 157 kB / 432.3 MB, free: 63.18 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.00301/0.2905, allocations: 2.429 MB / 434.8 MB, free: 61.05 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 5.55e-06/0.2905, allocations: 4 kB / 434.8 MB, free: 61.04 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005114/0.291, allocations: 446.9 kB / 435.2 MB, free: 60.66 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001211/0.2922, allocations: 188.9 kB / 435.4 MB, free: 60.49 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006627/0.2989, allocations: 4.925 MB / 440.3 MB, free: 55.49 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001527/0.3004, allocations: 1.46 MB / 441.8 MB, free: 54 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.002456/0.3029, allocations: 1.279 MB / 443.1 MB, free: 52.72 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003066/0.3032, allocations: 140.5 kB / 443.2 MB, free: 52.58 MB / 330.7 MB Notification: Performance of SimCode: time 1.693e-06/0.3032, allocations: 0 / 443.2 MB, free: 52.58 MB / 330.7 MB Notification: Performance of Templates: time 0.02375/0.3269, allocations: 11.28 MB / 454.5 MB, free: 41.63 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f StewartPlatform_StewartPlatform.Tests.SpindleDrive_test.makefile [Timeout 660] (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) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.174191239988431]