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.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.ServoMotor_test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=60000,variableFilter="",fileNamePrefix="StewartPlatform_StewartPlatform.Tests.ServoMotor_test") translateModel(StewartPlatform.Tests.ServoMotor_test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=60000,variableFilter="",fileNamePrefix="StewartPlatform_StewartPlatform.Tests.ServoMotor_test") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006694/0.006694, allocations: 99.83 kB / 15.73 MB, free: 6.02 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001415/0.001416, allocations: 193.5 kB / 16.67 MB, free: 5.934 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.333/1.333, allocations: 222.9 MB / 240.4 MB, free: 15.06 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/StewartPlatform 1.0.2/package.mo): time 0.03128/0.03128, allocations: 6.494 MB / 297 MB, free: 8.355 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00119/0.00119, allocations: 63.91 kB / 410.9 MB, free: 24.62 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09358/0.09478, allocations: 50.86 MB / 461.8 MB, free: 5.746 MB / 334.1 MB Notification: Performance of NFInst.instantiate(StewartPlatform.Tests.ServoMotor_test): time 0.003593/0.09842, allocations: 2.456 MB / 464.2 MB, free: 3.277 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001097/0.09954, allocations: 0.6701 MB / 464.9 MB, free: 2.602 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001014/0.09966, allocations: 11.88 kB / 464.9 MB, free: 2.59 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002114/0.09988, allocations: 47.56 kB / 464.9 MB, free: 2.543 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000106/0.1, allocations: 51.5 kB / 465 MB, free: 2.492 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002802/0.1003, allocations: 103.8 kB / 465.1 MB, free: 2.391 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002635/0.1006, allocations: 243.5 kB / 465.3 MB, free: 2.152 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002744/0.1009, allocations: 148 kB / 465.5 MB, free: 2.004 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001002/0.101, allocations: 87.72 kB / 465.6 MB, free: 1.918 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001528/0.1011, allocations: 107.5 kB / 465.7 MB, free: 1.812 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.053e-05/0.1012, allocations: 27.98 kB / 465.7 MB, free: 1.785 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.818e-05/0.1012, allocations: 20 kB / 465.7 MB, free: 1.766 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 4.525e-05/0.1013, allocations: 55.78 kB / 465.8 MB, free: 1.711 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001011/0.1014, allocations: 119.5 kB / 465.9 MB, free: 1.594 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002901/0.1017, allocations: 254.9 kB / 466.1 MB, free: 1.344 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.294e-06/0.1017, allocations: 4 kB / 466.1 MB, free: 1.34 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.555e-06/0.1017, allocations: 0 / 466.1 MB, free: 1.34 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.664e-06/0.1017, allocations: 4 kB / 466.1 MB, free: 1.336 MB / 334.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.0007133/0.1024, allocations: 0.5145 MB / 466.7 MB, free: 0.7734 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.672e-05/0.1025, allocations: 15.89 kB / 466.7 MB, free: 0.7578 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.756e-05/0.1025, allocations: 24.8 kB / 466.7 MB, free: 0.7344 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000305/0.1028, allocations: 251.9 kB / 466.9 MB, free: 460 kB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.903e-05/0.1029, allocations: 16.81 kB / 467 MB, free: 440 kB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.878e-05/0.1029, allocations: 20.38 kB / 467 MB, free: 420 kB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00045/0.1034, allocations: 254.9 kB / 467.2 MB, free: 148 kB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.568e-05/0.1034, allocations: 0 / 467.2 MB, free: 148 kB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.216e-05/0.1034, allocations: 8 kB / 467.2 MB, free: 140 kB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.793e-06/0.1034, allocations: 8 kB / 467.2 MB, free: 132 kB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003904/0.1038, allocations: 165.6 kB / 467.4 MB, free: 15.97 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001037/0.1049, allocations: 0.8259 MB / 468.2 MB, free: 15.07 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003975/0.1053, allocations: 106.5 kB / 468.3 MB, free: 14.96 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001467/0.1055, allocations: 56.81 kB / 468.4 MB, free: 14.9 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.663e-05/0.1055, allocations: 4.188 kB / 468.4 MB, free: 14.89 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.461e-05/0.1055, allocations: 34.5 kB / 468.4 MB, free: 14.85 MB / 350.1 MB Notification: Performance of pre-optimization done (n=9): time 1.272e-06/0.1055, allocations: 0 / 468.4 MB, free: 14.85 MB / 350.1 MB Notification: Performance of matching and sorting (n=9): time 0.0005162/0.106, allocations: 173.8 kB / 468.6 MB, free: 14.68 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.868e-05/0.1061, allocations: 77.2 kB / 468.7 MB, free: 14.58 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001459/0.1063, allocations: 180.9 kB / 468.9 MB, free: 14.39 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.413e-05/0.1063, allocations: 25.7 kB / 468.9 MB, free: 14.36 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001004/0.1064, allocations: 160.2 kB / 469 MB, free: 14.2 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.936e-05/0.1064, allocations: 35.69 kB / 469.1 MB, free: 14.16 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.525e-05/0.1065, allocations: 37.7 kB / 469.1 MB, free: 14.12 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001135/0.1066, allocations: 326.8 kB / 469.4 MB, free: 13.79 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000162/0.1068, allocations: 60.81 kB / 469.5 MB, free: 13.73 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001815/0.107, allocations: 104.3 kB / 469.6 MB, free: 13.61 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003056/0.1073, allocations: 149.9 kB / 469.7 MB, free: 13.44 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.1073, allocations: 4 kB / 469.7 MB, free: 13.43 MB / 350.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0003777/0.1077, allocations: 185.5 kB / 469.9 MB, free: 13.25 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.548e-05/0.1077, allocations: 8 kB / 469.9 MB, free: 13.24 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.88e-06/0.1077, allocations: 0 / 469.9 MB, free: 13.24 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.477e-05/0.1078, allocations: 4 kB / 469.9 MB, free: 13.23 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001753/0.1079, allocations: 43.91 kB / 470 MB, free: 13.19 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.696e-06/0.108, allocations: 4 kB / 470 MB, free: 13.19 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001197/0.1081, allocations: 23.94 kB / 470 MB, free: 13.16 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.425e-05/0.1081, allocations: 8 kB / 470 MB, free: 13.16 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001675/0.1083, allocations: 140.1 kB / 470.1 MB, free: 13.02 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001379/0.1084, allocations: 90.78 kB / 470.2 MB, free: 12.9 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002231/0.1087, allocations: 137.9 kB / 470.4 MB, free: 12.75 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.537e-06/0.1087, allocations: 3.938 kB / 470.4 MB, free: 12.74 MB / 350.1 MB Notification: Performance of matching and sorting (n=16) (initialization_lambda0): time 0.0002918/0.109, allocations: 157.4 kB / 470.5 MB, free: 12.58 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.879e-06/0.109, allocations: 8 kB / 470.5 MB, free: 12.57 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.813e-06/0.109, allocations: 0 / 470.5 MB, free: 12.57 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.128e-06/0.109, allocations: 4 kB / 470.5 MB, free: 12.57 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001266/0.1091, allocations: 35.97 kB / 470.6 MB, free: 12.54 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.078e-06/0.1091, allocations: 3.938 kB / 470.6 MB, free: 12.53 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001147/0.1093, allocations: 28.12 kB / 470.6 MB, free: 12.5 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.574e-06/0.1093, allocations: 4 kB / 470.6 MB, free: 12.5 MB / 350.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.0001028/0.1094, allocations: 189.3 kB / 470.8 MB, free: 12.31 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.576e-05/0.1094, allocations: 11.91 kB / 470.8 MB, free: 12.3 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.257e-05/0.1095, allocations: 17.41 kB / 470.8 MB, free: 12.28 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.314e-06/0.1095, allocations: 0 / 470.8 MB, free: 12.28 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.469e-05/0.1095, allocations: 3.984 kB / 470.8 MB, free: 12.28 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.176e-06/0.1095, allocations: 0 / 470.8 MB, free: 12.28 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002727/0.1098, allocations: 261.4 kB / 471.1 MB, free: 11.97 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.233e-06/0.1098, allocations: 4 kB / 471.1 MB, free: 11.97 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001566/0.11, allocations: 35.91 kB / 471.1 MB, free: 11.93 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.974e-06/0.11, allocations: 0 / 471.1 MB, free: 11.93 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.114e-05/0.11, allocations: 0 / 471.1 MB, free: 11.93 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.918e-06/0.11, allocations: 4 kB / 471.1 MB, free: 11.93 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.72e-07/0.11, allocations: 0 / 471.1 MB, free: 11.93 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005389/0.1105, allocations: 295.2 kB / 471.4 MB, free: 11.62 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.187e-05/0.1106, allocations: 85.09 kB / 471.5 MB, free: 11.52 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.496e-05/0.1106, allocations: 4.188 kB / 471.5 MB, free: 11.52 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001262/0.1108, allocations: 11.98 kB / 471.5 MB, free: 11.51 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.875e-05/0.1108, allocations: 11.92 kB / 471.5 MB, free: 11.5 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.06e-06/0.1108, allocations: 0 / 471.5 MB, free: 11.5 MB / 350.1 MB Notification: Performance of sorting global known variables: time 8.828e-05/0.1109, allocations: 128 kB / 471.6 MB, free: 11.37 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1109, allocations: 0 / 471.6 MB, free: 11.37 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004003/0.1113, allocations: 91.62 kB / 471.7 MB, free: 11.28 MB / 350.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 9.231e-05/0.1114, allocations: 99.12 kB / 471.8 MB, free: 11.17 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004821/0.1119, allocations: 188 kB / 472 MB, free: 10.99 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.1119, allocations: 0 / 472 MB, free: 10.99 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001447/0.1121, allocations: 51.91 kB / 472.1 MB, free: 10.94 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003554/0.1125, allocations: 46.75 kB / 472.1 MB, free: 10.9 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009083/0.1134, allocations: 485.3 kB / 472.6 MB, free: 10.39 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000312/0.1137, allocations: 0.7319 MB / 473.3 MB, free: 9.637 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.633e-05/0.1138, allocations: 12.64 kB / 473.3 MB, free: 9.625 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.079e-05/0.1138, allocations: 15.44 kB / 473.3 MB, free: 9.609 MB / 350.1 MB Notification: Performance of SimCode: time 2.61e-07/0.1138, allocations: 4 kB / 473.4 MB, free: 9.605 MB / 350.1 MB Notification: Performance of Templates: time 0.004316/0.1181, allocations: 1.588 MB / 474.9 MB, free: 8.035 MB / 350.1 MB make -j1 -f StewartPlatform_StewartPlatform.Tests.ServoMotor_test.makefile (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)