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.0008024/0.0008024, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 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.0008214/0.0008214, allocations: 169.9 kB / 22.46 MB, free: 2.105 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 0.8774/0.8774, allocations: 177.1 MB / 202.8 MB, free: 5.727 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.01906/0.01906, allocations: 5.052 MB / 264.2 MB, free: 8.297 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: "" <> 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 2.034e-06/2.034e-06, allocations: 0 / 389.2 MB, free: 7.371 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.77e-05/1.974e-05, allocations: 2.281 kB / 389.2 MB, free: 7.367 MB / 314.7 MB Notification: Performance of NFInst.instantiate(StewartPlatform.Tests.ServoMotor_test): time 0.00264/0.00266, allocations: 2.413 MB / 391.6 MB, free: 4.945 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008576/0.003518, allocations: 0.6698 MB / 392.2 MB, free: 4.27 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001067/0.003624, allocations: 7.938 kB / 392.3 MB, free: 4.262 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002055/0.00383, allocations: 47.58 kB / 392.3 MB, free: 4.215 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 8.297e-05/0.003913, allocations: 55.5 kB / 392.4 MB, free: 4.16 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002231/0.004136, allocations: 111.7 kB / 392.5 MB, free: 4.051 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001992/0.004335, allocations: 259.4 kB / 392.7 MB, free: 3.797 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001841/0.004519, allocations: 88.59 kB / 392.8 MB, free: 3.711 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001134/0.004633, allocations: 147.7 kB / 393 MB, free: 3.566 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.128e-05/0.004724, allocations: 67.73 kB / 393 MB, free: 3.5 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 3.34e-05/0.004757, allocations: 24 kB / 393 MB, free: 3.477 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.056e-05/0.004778, allocations: 24 kB / 393.1 MB, free: 3.453 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 3.203e-05/0.00481, allocations: 51.83 kB / 393.1 MB, free: 3.402 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 5.497e-05/0.004865, allocations: 75.83 kB / 393.2 MB, free: 3.328 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002103/0.005075, allocations: 271.1 kB / 393.5 MB, free: 3.062 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.703e-06/0.005077, allocations: 4 kB / 393.5 MB, free: 3.059 MB / 314.7 MB Notification: Performance of FrontEnd: time 9.82e-07/0.005078, allocations: 0 / 393.5 MB, free: 3.059 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.107e-06/0.005082, allocations: 0 / 393.5 MB, free: 3.059 MB / 314.7 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.0005132/0.005595, allocations: 453.7 kB / 393.9 MB, free: 2.582 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.833e-05/0.005634, allocations: 8.031 kB / 393.9 MB, free: 2.574 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.457e-05/0.005678, allocations: 58.72 kB / 394 MB, free: 2.508 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.759e-05/0.005716, allocations: 28.75 kB / 394 MB, free: 2.48 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002249/0.005941, allocations: 183.9 kB / 394.2 MB, free: 2.277 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.4e-05/0.005955, allocations: 16.88 kB / 394.2 MB, free: 2.262 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.886e-05/0.005984, allocations: 24.38 kB / 394.2 MB, free: 2.238 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003049/0.006288, allocations: 273.8 kB / 394.5 MB, free: 1.949 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.225e-05/0.006301, allocations: 192 / 394.5 MB, free: 1.949 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.769e-05/0.006318, allocations: 12.12 kB / 394.5 MB, free: 1.938 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.931e-06/0.006324, allocations: 8 kB / 394.5 MB, free: 1.93 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003038/0.006628, allocations: 161.9 kB / 394.7 MB, free: 1.773 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006962/0.007324, allocations: 0.7083 MB / 395.4 MB, free: 1.004 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002477/0.007572, allocations: 114.4 kB / 395.5 MB, free: 0.8828 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.548e-05/0.007647, allocations: 52.81 kB / 395.5 MB, free: 0.8281 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.775e-05/0.007665, allocations: 0 / 395.5 MB, free: 0.8281 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.791e-05/0.007683, allocations: 38.5 kB / 395.6 MB, free: 0.7812 MB / 314.7 MB Notification: Performance of pre-optimization done (n=9): time 7.52e-07/0.007684, allocations: 0 / 395.6 MB, free: 0.7812 MB / 314.7 MB Notification: Performance of matching and sorting (n=9): time 0.0003115/0.007995, allocations: 181.6 kB / 395.7 MB, free: 0.5977 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.8e-05/0.008033, allocations: 77.11 kB / 395.8 MB, free: 0.5039 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001081/0.008141, allocations: 172.6 kB / 396 MB, free: 328 kB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.462e-05/0.008156, allocations: 33.62 kB / 396 MB, free: 288 kB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.216e-05/0.008228, allocations: 168 kB / 396.2 MB, free: 116 kB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.917e-05/0.008247, allocations: 31.73 kB / 396.2 MB, free: 84 kB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.95e-05/0.008287, allocations: 33.7 kB / 396.2 MB, free: 44 kB / 314.7 MB Notification: Performance of setup shared object (initialization): time 8.81e-05/0.008375, allocations: 318.8 kB / 396.6 MB, free: 15.72 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.873e-05/0.008464, allocations: 60.83 kB / 396.6 MB, free: 15.66 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001098/0.008574, allocations: 136.5 kB / 396.8 MB, free: 15.5 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001739/0.008747, allocations: 149.9 kB / 396.9 MB, free: 15.33 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.364e-06/0.00875, allocations: 0 / 396.9 MB, free: 15.33 MB / 330.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0002216/0.008971, allocations: 185.3 kB / 397.1 MB, free: 15.14 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.615e-05/0.008988, allocations: 4.188 kB / 397.1 MB, free: 15.14 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.352e-06/0.008994, allocations: 12 kB / 397.1 MB, free: 15.12 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.477e-05/0.009009, allocations: 4.469 kB / 397.1 MB, free: 15.12 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.094e-05/0.0091, allocations: 39.91 kB / 397.1 MB, free: 15.08 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.823e-06/0.009106, allocations: 4 kB / 397.1 MB, free: 15.08 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.041e-05/0.009167, allocations: 23.88 kB / 397.2 MB, free: 15.05 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.325e-06/0.009175, allocations: 8 kB / 397.2 MB, free: 15.05 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001035/0.009279, allocations: 140 kB / 397.3 MB, free: 14.91 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 8.629e-05/0.009365, allocations: 124.5 kB / 397.4 MB, free: 14.75 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0001277/0.009493, allocations: 125.9 kB / 397.6 MB, free: 14.61 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.71e-07/0.009494, allocations: 0 / 397.6 MB, free: 14.61 MB / 330.7 MB Notification: Performance of matching and sorting (n=16) (initialization_lambda0): time 0.0001693/0.009663, allocations: 165.3 kB / 397.7 MB, free: 14.44 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.332e-06/0.009669, allocations: 6.969 kB / 397.7 MB, free: 14.44 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.054e-06/0.009671, allocations: 4 kB / 397.7 MB, free: 14.43 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.884e-06/0.009673, allocations: 0 / 397.7 MB, free: 14.43 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.185e-05/0.009735, allocations: 43.91 kB / 397.8 MB, free: 14.39 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.615e-06/0.009738, allocations: 4.188 kB / 397.8 MB, free: 14.39 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.942e-05/0.009787, allocations: 19.92 kB / 397.8 MB, free: 14.37 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.16e-06/0.009792, allocations: 8 kB / 397.8 MB, free: 14.36 MB / 330.7 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 6.981e-05/0.009862, allocations: 188.2 kB / 398 MB, free: 14.17 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.869e-05/0.009881, allocations: 19.84 kB / 398 MB, free: 14.15 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.998e-05/0.009911, allocations: 9.469 kB / 398 MB, free: 14.14 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.034e-06/0.009913, allocations: 4 kB / 398 MB, free: 14.14 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.988e-06/0.009917, allocations: 0 / 398 MB, free: 14.14 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.096e-06/0.00992, allocations: 0 / 398 MB, free: 14.14 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001668/0.01009, allocations: 220.5 kB / 398.2 MB, free: 13.88 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.02e-07/0.01009, allocations: 7.938 kB / 398.2 MB, free: 13.87 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.576e-05/0.01016, allocations: 27.98 kB / 398.3 MB, free: 13.84 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.11e-07/0.01016, allocations: 0 / 398.3 MB, free: 13.84 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.023e-05/0.01017, allocations: 7.984 kB / 398.3 MB, free: 13.84 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.02e-07/0.01017, allocations: 0 / 398.3 MB, free: 13.84 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.01018, allocations: 0 / 398.3 MB, free: 13.84 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003095/0.01049, allocations: 295.3 kB / 398.6 MB, free: 13.53 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.581e-05/0.0105, allocations: 15.94 kB / 398.6 MB, free: 13.52 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.615e-05/0.01052, allocations: 3.984 kB / 398.6 MB, free: 13.51 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.744e-05/0.01057, allocations: 11.98 kB / 398.6 MB, free: 13.5 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.633e-05/0.01061, allocations: 11.98 kB / 398.6 MB, free: 13.49 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.066e-06/0.01061, allocations: 0 / 398.6 MB, free: 13.49 MB / 330.7 MB Notification: Performance of sorting global known variables: time 5.882e-05/0.01067, allocations: 120 kB / 398.7 MB, free: 13.37 MB / 330.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01067, allocations: 0 / 398.7 MB, free: 13.37 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0002352/0.01091, allocations: 91.61 kB / 398.8 MB, free: 13.28 MB / 330.7 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.0004617/0.01137, allocations: 0.8217 MB / 399.6 MB, free: 12.43 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0002837/0.01165, allocations: 176.1 kB / 399.8 MB, free: 12.26 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.01166, allocations: 0 / 399.8 MB, free: 12.26 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 7.773e-05/0.01173, allocations: 55.89 kB / 399.9 MB, free: 12.21 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002359/0.01197, allocations: 24.73 kB / 399.9 MB, free: 12.18 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001679/0.01365, allocations: 2.033 MB / 401.9 MB, free: 10.04 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.505e-05/0.01372, allocations: 121.1 kB / 402 MB, free: 9.898 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 5.062e-05/0.01377, allocations: 16.64 kB / 402.1 MB, free: 9.883 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.705e-05/0.01384, allocations: 52.48 kB / 402.1 MB, free: 9.832 MB / 330.7 MB Notification: Performance of SimCode: time 7.11e-07/0.01384, allocations: 0 / 402.1 MB, free: 9.832 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01901/0.03285, allocations: 4.072 MB / 406.2 MB, free: 5.887 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.297/7.33, allocations: 6.625 kB / 406.2 MB, free: 5.887 MB / 330.7 MB " [Timeout remaining time 653] (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 & python3 -m fmpy simulate --output-file StewartPlatform_StewartPlatform.Tests.ServoMotor_test_res.csv --start-time 0 --stop-time 60 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.002 StewartPlatform_StewartPlatform_Tests_ServoMotor_test.fmu > StewartPlatform_StewartPlatform.Tests.ServoMotor_test.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.574717217124999] Failed to read output from testmodel.py, exit status != 0: 7.408868560567498 7.56244299 7.555718087 Calling exit ...