Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr StewartPlatform_StewartPlatform.Tests.ServoMotor_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.001873/0.001873, allocations: 80.69 kB / 19.18 MB, free: 2.52 MB / 14.72 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.002246/0.002246, allocations: 169.5 kB / 22.46 MB, free: 5.371 MB / 14.72 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.45/1.45, allocations: 177.2 MB / 202.8 MB, free: 9.168 MB / 190.1 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.03301/0.03301, allocations: 5.068 MB / 264.2 MB, free: 11.75 MB / 254.1 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.ServoMotor_test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=30000,variableFilter="",fileNamePrefix="StewartPlatform_StewartPlatform.Tests.ServoMotor_test") translateModel(StewartPlatform.Tests.ServoMotor_test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=30000,variableFilter="",fileNamePrefix="StewartPlatform_StewartPlatform.Tests.ServoMotor_test") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.994e-06/1.994e-06, allocations: 0 / 389.7 MB, free: 12.61 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.151e-05/3.35e-05, allocations: 6.281 kB / 389.7 MB, free: 12.6 MB / 318.1 MB Notification: Performance of NFInst.instantiate(StewartPlatform.Tests.ServoMotor_test): time 0.004123/0.004156, allocations: 2.402 MB / 392.1 MB, free: 10.19 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001277/0.005434, allocations: 0.6777 MB / 392.8 MB, free: 9.504 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001074/0.005541, allocations: 7.938 kB / 392.8 MB, free: 9.496 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000215/0.005756, allocations: 51.52 kB / 392.8 MB, free: 9.445 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001189/0.005875, allocations: 47.5 kB / 392.9 MB, free: 9.398 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002696/0.006145, allocations: 99.81 kB / 393 MB, free: 9.301 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003115/0.006456, allocations: 259.4 kB / 393.2 MB, free: 9.047 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002227/0.006679, allocations: 96.58 kB / 393.3 MB, free: 8.953 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001819/0.006861, allocations: 143.8 kB / 393.4 MB, free: 8.812 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001306/0.006991, allocations: 79.72 kB / 393.5 MB, free: 8.734 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.307e-05/0.007034, allocations: 24 kB / 393.5 MB, free: 8.711 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.401e-05/0.007079, allocations: 24 kB / 393.6 MB, free: 8.688 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.172e-05/0.00713, allocations: 47.83 kB / 393.6 MB, free: 8.641 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 9.509e-05/0.007225, allocations: 75.83 kB / 393.7 MB, free: 8.566 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003266/0.007552, allocations: 267.1 kB / 394 MB, free: 8.305 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.527e-06/0.007555, allocations: 0 / 394 MB, free: 8.305 MB / 318.1 MB Notification: Performance of FrontEnd: time 8.51e-07/0.007556, allocations: 0 / 394 MB, free: 8.305 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.24e-06/0.007562, allocations: 0 / 394 MB, free: 8.305 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 53 * Number of variables: 53 Notification: Performance of Generate backend data structure: time 0.0007781/0.00834, allocations: 461.7 kB / 394.4 MB, free: 7.82 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.467e-05/0.008374, allocations: 8.031 kB / 394.4 MB, free: 7.812 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.724e-05/0.008431, allocations: 28.75 kB / 394.4 MB, free: 7.785 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003151/0.008747, allocations: 185.2 kB / 394.6 MB, free: 7.578 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.363e-05/0.00877, allocations: 16.88 kB / 394.6 MB, free: 7.562 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.194e-05/0.008822, allocations: 28.36 kB / 394.7 MB, free: 7.535 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005539/0.009376, allocations: 269.8 kB / 394.9 MB, free: 7.25 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.732e-05/0.009393, allocations: 4.188 kB / 394.9 MB, free: 7.246 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.017e-05/0.009424, allocations: 8.375 kB / 394.9 MB, free: 7.238 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.121e-05/0.009435, allocations: 11.94 kB / 395 MB, free: 7.227 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004316/0.009866, allocations: 157.9 kB / 395.1 MB, free: 7.074 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001101/0.01097, allocations: 0.6815 MB / 395.8 MB, free: 6.344 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004099/0.01138, allocations: 106.4 kB / 395.9 MB, free: 6.23 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001624/0.01154, allocations: 52.81 kB / 395.9 MB, free: 6.176 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.915e-05/0.01156, allocations: 3.984 kB / 395.9 MB, free: 6.172 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.772e-05/0.01159, allocations: 42.5 kB / 396 MB, free: 6.121 MB / 318.1 MB Notification: Performance of pre-optimization done (n=9): time 1.273e-06/0.01159, allocations: 0 / 396 MB, free: 6.121 MB / 318.1 MB Notification: Performance of matching and sorting (n=9): time 0.0005784/0.01217, allocations: 177.8 kB / 396.2 MB, free: 5.941 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.266e-05/0.01222, allocations: 77.11 kB / 396.2 MB, free: 5.848 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001723/0.01239, allocations: 172.7 kB / 396.4 MB, free: 5.664 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.263e-05/0.01241, allocations: 29.7 kB / 396.4 MB, free: 5.629 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000124/0.01254, allocations: 164 kB / 396.6 MB, free: 5.465 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.165e-05/0.01258, allocations: 35.69 kB / 396.6 MB, free: 5.43 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.112e-05/0.01265, allocations: 37.7 kB / 396.7 MB, free: 5.387 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001584/0.01281, allocations: 322.8 kB / 397 MB, free: 5.062 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001897/0.013, allocations: 52.83 kB / 397 MB, free: 5.008 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002329/0.01323, allocations: 143.6 kB / 397.2 MB, free: 4.84 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003569/0.01359, allocations: 149.9 kB / 397.3 MB, free: 4.672 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.334e-06/0.01359, allocations: 0 / 397.3 MB, free: 4.672 MB / 318.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0004407/0.01403, allocations: 189.3 kB / 397.5 MB, free: 4.48 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.954e-05/0.01405, allocations: 8 kB / 397.5 MB, free: 4.473 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.202e-06/0.01406, allocations: 0 / 397.5 MB, free: 4.473 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.822e-05/0.01408, allocations: 4 kB / 397.5 MB, free: 4.469 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001782/0.01425, allocations: 39.91 kB / 397.6 MB, free: 4.43 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.326e-06/0.01426, allocations: 4.188 kB / 397.6 MB, free: 4.426 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001265/0.01439, allocations: 27.88 kB / 397.6 MB, free: 4.398 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.39e-05/0.0144, allocations: 8 kB / 397.6 MB, free: 4.391 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001857/0.01459, allocations: 132.1 kB / 397.7 MB, free: 4.258 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001754/0.01476, allocations: 116.5 kB / 397.8 MB, free: 4.113 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002628/0.01503, allocations: 138.1 kB / 398 MB, free: 3.957 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.092e-06/0.01503, allocations: 0 / 398 MB, free: 3.957 MB / 318.1 MB Notification: Performance of matching and sorting (n=16) (initialization_lambda0): time 0.0003336/0.01536, allocations: 161.5 kB / 398.1 MB, free: 3.793 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.257e-05/0.01537, allocations: 13.19 kB / 398.1 MB, free: 3.781 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.854e-06/0.01538, allocations: 0 / 398.1 MB, free: 3.781 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.238e-06/0.01538, allocations: 4 kB / 398.1 MB, free: 3.777 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000138/0.01552, allocations: 35.91 kB / 398.2 MB, free: 3.742 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.405e-06/0.01552, allocations: 4 kB / 398.2 MB, free: 3.738 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001104/0.01563, allocations: 15.98 kB / 398.2 MB, free: 3.723 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.116e-05/0.01564, allocations: 8 kB / 398.2 MB, free: 3.715 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (16): * Single equations (assignments): 16 * Array equations: 0 * 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.0001144/0.01576, allocations: 188.8 kB / 398.4 MB, free: 3.523 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.84e-05/0.01579, allocations: 23.88 kB / 398.4 MB, free: 3.5 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.506e-05/0.01584, allocations: 17.47 kB / 398.4 MB, free: 3.484 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.164e-06/0.01584, allocations: 0 / 398.4 MB, free: 3.484 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/0.01585, allocations: 0 / 398.4 MB, free: 3.484 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.304e-06/0.01585, allocations: 7.984 kB / 398.4 MB, free: 3.477 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002497/0.0161, allocations: 173.2 kB / 398.6 MB, free: 3.277 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.0161, allocations: 0 / 398.6 MB, free: 3.277 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001675/0.01627, allocations: 27.98 kB / 398.6 MB, free: 3.25 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.458e-06/0.01628, allocations: 4 kB / 398.6 MB, free: 3.246 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.57e-05/0.01629, allocations: 3.938 kB / 398.6 MB, free: 3.242 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.393e-06/0.01629, allocations: 4 kB / 398.6 MB, free: 3.238 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.41e-07/0.01629, allocations: 0 / 398.6 MB, free: 3.238 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006306/0.01692, allocations: 299.2 kB / 398.9 MB, free: 2.93 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.375e-05/0.01695, allocations: 12.09 kB / 399 MB, free: 2.918 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.76e-05/0.01698, allocations: 3.938 kB / 399 MB, free: 2.914 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001345/0.01711, allocations: 23.97 kB / 399 MB, free: 2.891 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.118e-05/0.01716, allocations: 11.98 kB / 399 MB, free: 2.879 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.711e-06/0.01717, allocations: 0 / 399 MB, free: 2.879 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001095/0.01728, allocations: 120 kB / 399.1 MB, free: 2.762 MB / 318.1 MB Notification: Performance of sort global known variables: time 7e-08/0.01728, allocations: 0 / 399.1 MB, free: 2.762 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0004009/0.01768, allocations: 87.67 kB / 399.2 MB, free: 2.676 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (inertia.phi,inertia.w) * 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 (9): * Single equations (assignments): 9 * Array equations: 0 * 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.0001109/0.01779, allocations: 99.19 kB / 399.3 MB, free: 2.57 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0005295/0.01832, allocations: 175.8 kB / 399.5 MB, free: 2.398 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.385e-06/0.01832, allocations: 0 / 399.5 MB, free: 2.398 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001643/0.01848, allocations: 47.95 kB / 399.5 MB, free: 2.352 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003542/0.01884, allocations: 28.61 kB / 399.5 MB, free: 2.324 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008398/0.01968, allocations: 438 kB / 400 MB, free: 1.871 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001173/0.0198, allocations: 121.1 kB / 400.1 MB, free: 1.73 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 6.873e-05/0.01986, allocations: 20.62 kB / 400.1 MB, free: 1.711 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.772e-05/0.01991, allocations: 12.5 kB / 400.1 MB, free: 1.699 MB / 318.1 MB Notification: Performance of SimCode: time 3.21e-07/0.01991, allocations: 0 / 400.1 MB, free: 1.699 MB / 318.1 MB Notification: Performance of Templates: time 0.005128/0.02504, allocations: 1.591 MB / 401.7 MB, free: 140 kB / 318.1 MB " [Timeout remaining time 660] make -j1 -f StewartPlatform_StewartPlatform.Tests.ServoMotor_test.makefile [Timeout 660] (rm -f StewartPlatform_StewartPlatform.Tests.ServoMotor_test.pipe ; mkfifo StewartPlatform_StewartPlatform.Tests.ServoMotor_test.pipe ; head -c 1048576 < StewartPlatform_StewartPlatform.Tests.ServoMotor_test.pipe >> ../files/StewartPlatform_StewartPlatform.Tests.ServoMotor_test.sim & ./StewartPlatform_StewartPlatform.Tests.ServoMotor_test -abortSlowSimulation -alarm=480 -lv LOG_STATS > StewartPlatform_StewartPlatform.Tests.ServoMotor_test.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.406624432653189] Failed to read output from testmodel.py, exit status != 0: 0.03375360742211342 0.048848623 0.038179431 Calling exit ...