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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001312/0.001312, allocations: 108.4 kB / 16.45 MB, free: 6.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001287/0.001287, allocations: 191.8 kB / 19.41 MB, free: 3.539 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.356/1.356, allocations: 225.6 MB / 247.8 MB, free: 13.94 MB / 206.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.03281/0.03281, allocations: 6.579 MB / 309.3 MB, free: 3.324 MB / 238.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.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: "" <> buildModelFMU(StewartPlatform.Tests.ServoMotor_test,fileNamePrefix="StewartPlatform_StewartPlatform_Tests_ServoMotor_test",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(StewartPlatform.Tests.ServoMotor_test,fileNamePrefix="StewartPlatform_StewartPlatform_Tests_ServoMotor_test",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001909/0.001909, allocations: 67.89 kB / 430.2 MB, free: 17.66 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09635/0.09826, allocations: 53.63 MB / 483.8 MB, free: 11.94 MB / 350.1 MB Notification: Performance of NFInst.instantiate(StewartPlatform.Tests.ServoMotor_test): time 0.004196/0.1025, allocations: 2.49 MB / 486.3 MB, free: 9.441 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001185/0.1036, allocations: 0.6739 MB / 487 MB, free: 8.762 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001153/0.1038, allocations: 4 kB / 487 MB, free: 8.758 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002346/0.104, allocations: 55.56 kB / 487.1 MB, free: 8.703 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001106/0.1041, allocations: 47.5 kB / 487.1 MB, free: 8.656 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002936/0.1044, allocations: 103.8 kB / 487.2 MB, free: 8.555 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002978/0.1047, allocations: 243.5 kB / 487.4 MB, free: 8.316 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002299/0.1049, allocations: 96.34 kB / 487.5 MB, free: 8.219 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000124/0.105, allocations: 99.58 kB / 487.6 MB, free: 8.121 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001449/0.1052, allocations: 107.5 kB / 487.7 MB, free: 8.016 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.275e-05/0.1052, allocations: 24 kB / 487.8 MB, free: 7.992 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.372e-05/0.1053, allocations: 27.94 kB / 487.8 MB, free: 7.965 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.637e-05/0.1053, allocations: 47.86 kB / 487.8 MB, free: 7.918 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001095/0.1054, allocations: 119.4 kB / 487.9 MB, free: 7.801 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003295/0.1058, allocations: 259 kB / 488.2 MB, free: 7.547 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.628e-06/0.1058, allocations: 3.938 kB / 488.2 MB, free: 7.543 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.1058, allocations: 7.938 kB / 488.2 MB, free: 7.535 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.123e-06/0.1058, allocations: 0 / 488.2 MB, free: 7.535 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: 53 * Number of variables: 53 Notification: Performance of Generate backend data structure: time 0.0007868/0.1066, allocations: 0.5184 MB / 488.7 MB, free: 6.969 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.037e-05/0.1066, allocations: 11.89 kB / 488.7 MB, free: 6.957 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.293e-05/0.1067, allocations: 54.73 kB / 488.8 MB, free: 6.895 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.819e-05/0.1067, allocations: 24.8 kB / 488.8 MB, free: 6.871 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000379/0.1071, allocations: 243.9 kB / 489.1 MB, free: 6.594 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.282e-05/0.1071, allocations: 20.81 kB / 489.1 MB, free: 6.574 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.141e-05/0.1071, allocations: 16.38 kB / 489.1 MB, free: 6.559 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004618/0.1076, allocations: 258.8 kB / 489.3 MB, free: 6.289 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.57e-05/0.1076, allocations: 0 / 489.3 MB, free: 6.289 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.244e-05/0.1076, allocations: 8 kB / 489.4 MB, free: 6.281 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.116e-05/0.1077, allocations: 8 kB / 489.4 MB, free: 6.273 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003874/0.108, allocations: 161.6 kB / 489.5 MB, free: 6.113 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001132/0.1092, allocations: 0.8259 MB / 490.3 MB, free: 5.215 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003771/0.1096, allocations: 110.5 kB / 490.5 MB, free: 5.098 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001419/0.1097, allocations: 52.81 kB / 490.5 MB, free: 5.043 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.057e-05/0.1097, allocations: 3.984 kB / 490.5 MB, free: 5.039 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.812e-05/0.1097, allocations: 34.56 kB / 490.5 MB, free: 4.996 MB / 350.1 MB Notification: Performance of pre-optimization done (n=9): time 1.082e-06/0.1097, allocations: 0 / 490.5 MB, free: 4.996 MB / 350.1 MB Notification: Performance of matching and sorting (n=9): time 0.0005215/0.1103, allocations: 173.7 kB / 490.7 MB, free: 4.82 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.093e-05/0.1103, allocations: 77.11 kB / 490.8 MB, free: 4.727 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001669/0.1105, allocations: 171.3 kB / 491 MB, free: 4.543 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.599e-05/0.1105, allocations: 33.7 kB / 491 MB, free: 4.504 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001001/0.1106, allocations: 160.1 kB / 491.1 MB, free: 4.344 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.042e-05/0.1107, allocations: 39.69 kB / 491.2 MB, free: 4.305 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.044e-05/0.1107, allocations: 38.08 kB / 491.2 MB, free: 4.262 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001433/0.1109, allocations: 322.8 kB / 491.5 MB, free: 3.938 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000155/0.111, allocations: 60.75 kB / 491.6 MB, free: 3.875 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001819/0.1112, allocations: 106.8 kB / 491.7 MB, free: 3.746 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000308/0.1115, allocations: 153.7 kB / 491.8 MB, free: 3.574 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.1115, allocations: 0 / 491.8 MB, free: 3.574 MB / 350.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0003769/0.1119, allocations: 193.3 kB / 492 MB, free: 3.379 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.576e-05/0.1119, allocations: 4 kB / 492 MB, free: 3.375 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.36e-06/0.1119, allocations: 4 kB / 492 MB, free: 3.371 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.597e-05/0.1119, allocations: 4 kB / 492 MB, free: 3.367 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001565/0.1121, allocations: 35.97 kB / 492.1 MB, free: 3.332 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.777e-06/0.1121, allocations: 4 kB / 492.1 MB, free: 3.328 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001145/0.1122, allocations: 24.06 kB / 492.1 MB, free: 3.305 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.604e-05/0.1122, allocations: 12 kB / 492.1 MB, free: 3.293 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001657/0.1124, allocations: 132.1 kB / 492.3 MB, free: 3.16 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001403/0.1125, allocations: 98.77 kB / 492.3 MB, free: 3.039 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002244/0.1128, allocations: 133.8 kB / 492.5 MB, free: 2.887 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.91e-07/0.1128, allocations: 4 kB / 492.5 MB, free: 2.883 MB / 350.1 MB Notification: Performance of matching and sorting (n=16) (initialization_lambda0): time 0.0002901/0.113, allocations: 153.5 kB / 492.6 MB, free: 2.727 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.358e-06/0.1131, allocations: 10.66 kB / 492.6 MB, free: 2.719 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.843e-06/0.1131, allocations: 0 / 492.6 MB, free: 2.719 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.579e-06/0.1131, allocations: 4 kB / 492.6 MB, free: 2.715 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001241/0.1132, allocations: 44.09 kB / 492.7 MB, free: 2.672 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.174e-06/0.1132, allocations: 0 / 492.7 MB, free: 2.672 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001026/0.1133, allocations: 19.94 kB / 492.7 MB, free: 2.652 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.085e-05/0.1133, allocations: 8 kB / 492.7 MB, free: 2.645 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.0001196/0.1134, allocations: 193.1 kB / 492.9 MB, free: 2.449 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.783e-05/0.1135, allocations: 15.91 kB / 492.9 MB, free: 2.434 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.82e-05/0.1135, allocations: 17.41 kB / 492.9 MB, free: 2.418 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.258e-06/0.1135, allocations: 3.984 kB / 492.9 MB, free: 2.414 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.168e-06/0.1135, allocations: 4 kB / 492.9 MB, free: 2.41 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.286e-06/0.1135, allocations: 0 / 492.9 MB, free: 2.41 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002931/0.1138, allocations: 253.5 kB / 493.2 MB, free: 2.113 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.1138, allocations: 0 / 493.2 MB, free: 2.113 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001484/0.114, allocations: 31.97 kB / 493.2 MB, free: 2.082 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.773e-06/0.114, allocations: 0 / 493.2 MB, free: 2.082 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.039e-05/0.114, allocations: 0 / 493.2 MB, free: 2.082 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.099e-06/0.114, allocations: 4 kB / 493.2 MB, free: 2.078 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.114, allocations: 0 / 493.2 MB, free: 2.078 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000535/0.1145, allocations: 303.2 kB / 493.5 MB, free: 1.766 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.252e-05/0.1146, allocations: 81.06 kB / 493.6 MB, free: 1.668 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.635e-05/0.1146, allocations: 8.031 kB / 493.6 MB, free: 1.66 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001175/0.1147, allocations: 16.05 kB / 493.6 MB, free: 1.645 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.404e-05/0.1148, allocations: 11.92 kB / 493.6 MB, free: 1.633 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.629e-06/0.1148, allocations: 0 / 493.6 MB, free: 1.633 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001003/0.1149, allocations: 124 kB / 493.8 MB, free: 1.512 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1149, allocations: 0 / 493.8 MB, free: 1.512 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003797/0.1152, allocations: 91.62 kB / 493.9 MB, free: 1.422 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 0.0008166/0.1161, allocations: 0.8256 MB / 494.7 MB, free: 0.5664 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004758/0.1165, allocations: 176.1 kB / 494.8 MB, free: 404 kB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.1165, allocations: 0 / 494.8 MB, free: 404 kB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001346/0.1167, allocations: 55.89 kB / 494.9 MB, free: 348 kB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003287/0.117, allocations: 23.98 kB / 494.9 MB, free: 324 kB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002661/0.1197, allocations: 2.071 MB / 497 MB, free: 14.12 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003493/0.12, allocations: 0.7365 MB / 497.7 MB, free: 13.36 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 7.24e-05/0.1201, allocations: 12.62 kB / 497.7 MB, free: 13.35 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.012e-05/0.1202, allocations: 59.42 kB / 497.8 MB, free: 13.29 MB / 366.1 MB Notification: Performance of SimCode: time 6.11e-07/0.1202, allocations: 4 kB / 497.8 MB, free: 13.29 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02739/0.1476, allocations: 3.303 MB / 0.4894 GB, free: 10.07 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.052/8.2, allocations: 7.922 kB / 0.4894 GB, free: 10.06 MB / 366.1 MB " [Timeout remaining time 652] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_StewartPlatform_StewartPlatform_Tests_ServoMotor_test_fmu --startTime=0 --stopTime=60 --stepSize=0.002 --timeout=50 --tolerance=1e-06 StewartPlatform_StewartPlatform_Tests_ServoMotor_test.fmu > StewartPlatform_StewartPlatform.Tests.ServoMotor_test.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.825719865970314] Failed to read output from testmodel.py, exit status != 0: 8.265285375062376 8.279657025 8.171108092 Calling exit ...