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.001043/0.001043, allocations: 77.09 kB / 20.66 MB, free: 3.844 MB / 18.57 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.0009479/0.0009479, allocations: 169 kB / 24.06 MB, free: 456 kB / 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 0.9619/0.9619, allocations: 177.1 MB / 204.5 MB, free: 5.504 MB / 186.7 MB " [Timeout remaining time 179] 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.02024/0.02024, allocations: 5.079 MB / 266.1 MB, free: 7.945 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 1.883e-06/1.883e-06, allocations: 0 / 337.4 MB, free: 12.81 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.53e-05/1.718e-05, allocations: 2.312 kB / 337.4 MB, free: 12.81 MB / 266.7 MB Notification: Performance of NFInst.instantiate(StewartPlatform.Tests.SpindleDrive_test): time 0.004686/0.004703, allocations: 6.936 MB / 344.3 MB, free: 5.84 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.003027/0.007731, allocations: 2.251 MB / 346.6 MB, free: 3.582 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000515/0.008246, allocations: 31.88 kB / 346.6 MB, free: 3.551 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001031/0.009276, allocations: 0.852 MB / 347.5 MB, free: 2.695 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001183/0.01046, allocations: 0.8744 MB / 348.4 MB, free: 1.816 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000397/0.01086, allocations: 235.4 kB / 348.6 MB, free: 1.586 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001335/0.01219, allocations: 1.898 MB / 350.5 MB, free: 15.68 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001028/0.01322, allocations: 1.115 MB / 351.6 MB, free: 14.55 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001177/0.0144, allocations: 1.04 MB / 352.6 MB, free: 13.51 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009356/0.01533, allocations: 0.9233 MB / 353.6 MB, free: 12.58 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000176/0.01551, allocations: 124 kB / 353.7 MB, free: 12.46 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006528/0.01616, allocations: 0.5459 MB / 354.2 MB, free: 11.91 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005337/0.01669, allocations: 0.8918 MB / 355.1 MB, free: 11.02 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004578/0.01715, allocations: 0.5565 MB / 355.7 MB, free: 10.46 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001803/0.01896, allocations: 2.225 MB / 357.9 MB, free: 8.227 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.006e-06/0.01896, allocations: 3.938 kB / 357.9 MB, free: 8.223 MB / 282.7 MB Notification: Performance of FrontEnd: time 5.41e-07/0.01896, allocations: 0 / 357.9 MB, free: 8.223 MB / 282.7 MB Notification: Performance of Transformations before backend: time 3.57e-05/0.019, allocations: 4 kB / 357.9 MB, free: 8.219 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.002529/0.02152, allocations: 2.667 MB / 360.6 MB, free: 5.5 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.799e-05/0.02156, allocations: 12.03 kB / 360.6 MB, free: 5.488 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002167/0.02373, allocations: 0.9552 MB / 361.5 MB, free: 4.531 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009029/0.02463, allocations: 0.8652 MB / 362.4 MB, free: 3.637 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.515e-05/0.0247, allocations: 111.1 kB / 362.5 MB, free: 3.527 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001769/0.02487, allocations: 148.3 kB / 362.7 MB, free: 3.383 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002676/0.02755, allocations: 3.153 MB / 365.8 MB, free: 15.6 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.29e-05/0.02759, allocations: 35.69 kB / 365.8 MB, free: 15.56 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001249/0.02772, allocations: 71.91 kB / 365.9 MB, free: 15.49 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0009438/0.02866, allocations: 1.124 MB / 367 MB, free: 14.36 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001977/0.03064, allocations: 1.355 MB / 368.4 MB, free: 13.01 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01366/0.0443, allocations: 26.15 MB / 394.5 MB, free: 1.918 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009431/0.04524, allocations: 0.5623 MB / 395.1 MB, free: 1.309 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001675/0.04541, allocations: 157 kB / 395.3 MB, free: 1.141 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001485/0.04556, allocations: 105.9 kB / 395.4 MB, free: 1.039 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.759e-05/0.04559, allocations: 45.38 kB / 395.4 MB, free: 0.9844 MB / 314.7 MB Notification: Performance of pre-optimization done (n=83): time 2.375e-06/0.04559, allocations: 0 / 395.4 MB, free: 0.9844 MB / 314.7 MB Notification: Performance of matching and sorting (n=91): time 0.003298/0.04889, allocations: 1.987 MB / 397.4 MB, free: 14.94 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.566e-05/0.04894, allocations: 140.5 kB / 397.5 MB, free: 14.77 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001611/0.05055, allocations: 2.256 MB / 399.8 MB, free: 12.46 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 3.302e-05/0.05059, allocations: 37.7 kB / 399.8 MB, free: 12.42 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009826/0.05157, allocations: 2.181 MB / 402 MB, free: 10.21 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002371/0.05181, allocations: 421 kB / 402.4 MB, free: 9.801 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006981/0.05251, allocations: 0.92 MB / 403.3 MB, free: 8.863 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001361/0.05264, allocations: 0.5042 MB / 403.8 MB, free: 8.352 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003292/0.05297, allocations: 299.8 kB / 404.1 MB, free: 8.051 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002518/0.05549, allocations: 4.378 MB / 408.5 MB, free: 1.773 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003383/0.05887, allocations: 5.228 MB / 413.7 MB, free: 10.67 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.593e-05/0.05891, allocations: 28 kB / 413.8 MB, free: 10.64 MB / 346.7 MB Notification: Performance of matching and sorting (n=536) (initialization): time 0.00312/0.06203, allocations: 3.219 MB / 417 MB, free: 7.422 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.278e-05/0.06207, allocations: 44 kB / 417 MB, free: 7.379 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.32e-05/0.06213, allocations: 100 kB / 417.1 MB, free: 7.281 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.479e-05/0.06221, allocations: 128 kB / 417.3 MB, free: 7.156 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001362/0.06357, allocations: 0.9363 MB / 418.2 MB, free: 6.219 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.754e-05/0.06367, allocations: 195.2 kB / 418.4 MB, free: 6.027 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001085/0.06475, allocations: 191.7 kB / 418.6 MB, free: 5.84 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001838/0.06494, allocations: 228 kB / 418.8 MB, free: 5.617 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 445 * 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 (512): * Single equations (assignments): 509 * 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.0005624/0.0655, allocations: 0.5079 MB / 419.3 MB, free: 5.098 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000227/0.06573, allocations: 210.7 kB / 419.5 MB, free: 4.891 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001758/0.0659, allocations: 177.4 kB / 419.7 MB, free: 4.715 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.232e-05/0.06591, allocations: 12 kB / 419.7 MB, free: 4.703 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.508e-06/0.06592, allocations: 7.938 kB / 419.7 MB, free: 4.695 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.454e-06/0.06593, allocations: 11.98 kB / 419.7 MB, free: 4.684 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002607/0.06854, allocations: 2.582 MB / 422.3 MB, free: 1.961 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.879e-06/0.06854, allocations: 4 kB / 422.3 MB, free: 1.957 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000266/0.06881, allocations: 123.8 kB / 422.4 MB, free: 1.836 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.765e-06/0.06882, allocations: 8 kB / 422.4 MB, free: 1.828 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.742e-05/0.06884, allocations: 27.98 kB / 422.5 MB, free: 1.801 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.015e-06/0.06885, allocations: 11.94 kB / 422.5 MB, free: 1.789 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.191e-06/0.06886, allocations: 11.94 kB / 422.5 MB, free: 1.777 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009913/0.06985, allocations: 1.408 MB / 423.9 MB, free: 256 kB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000252/0.0701, allocations: 234.5 kB / 424.1 MB, free: 20 kB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.703e-05/0.0702, allocations: 20 kB / 424.1 MB, free: 0 / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.1446/0.2148, allocations: 15.61 kB / 424.1 MB, free: 85.15 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001326/0.2149, allocations: 62.77 kB / 424.2 MB, free: 85.15 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.98e-05/0.215, allocations: 29.33 kB / 424.2 MB, free: 85.15 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.001105/0.2161, allocations: 0.8763 MB / 425.1 MB, free: 84.96 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.9e-07/0.2161, allocations: 0 / 425.1 MB, free: 84.96 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.002234/0.2183, allocations: 0.5092 MB / 425.6 MB, free: 84.96 MB / 346.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.0002214/0.2185, allocations: 150.2 kB / 425.8 MB, free: 84.88 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001738/0.2203, allocations: 1.621 MB / 427.4 MB, free: 84.83 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 4.678e-06/0.2203, allocations: 1.062 kB / 427.4 MB, free: 84.83 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000238/0.2205, allocations: 232 kB / 427.6 MB, free: 84.79 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007475/0.2213, allocations: 190.7 kB / 427.8 MB, free: 84.78 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004846/0.2261, allocations: 4.078 MB / 431.9 MB, free: 82.88 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005869/0.2267, allocations: 0.6509 MB / 432.5 MB, free: 82.78 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.00069/0.2274, allocations: 313.7 kB / 432.8 MB, free: 82.68 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003013/0.2277, allocations: 339.9 kB / 433.2 MB, free: 82.61 MB / 346.7 MB Notification: Performance of SimCode: time 2.474e-06/0.2277, allocations: 0 / 433.2 MB, free: 82.61 MB / 346.7 MB Notification: Performance of Templates: time 0.01921/0.2469, allocations: 12.92 MB / 446.1 MB, free: 74.65 MB / 346.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=240 -lv LOG_STATS > StewartPlatform_StewartPlatform.Tests.SpindleDrive_test.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.309716080315411]