Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr StewartPlatform_StewartPlatform.Tests.Trajectory_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.001703/0.001703, allocations: 109.5 kB / 16.46 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.00173/0.00173, allocations: 192.5 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.365/1.365, allocations: 225.6 MB / 247.8 MB, free: 13.93 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.03267/0.03267, allocations: 6.576 MB / 309.3 MB, free: 3.328 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.Trajectory_test,fileNamePrefix="StewartPlatform_StewartPlatform_Tests_Trajectory_test",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(StewartPlatform.Tests.Trajectory_test,fileNamePrefix="StewartPlatform_StewartPlatform_Tests_Trajectory_test",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001916/0.001916, allocations: 72.12 kB / 430.2 MB, free: 17.64 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1033/0.1052, allocations: 53.64 MB / 483.8 MB, free: 11.91 MB / 350.1 MB Notification: Performance of NFInst.instantiate(StewartPlatform.Tests.Trajectory_test): time 0.006398/0.1116, allocations: 4.743 MB / 488.6 MB, free: 7.141 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.007548/0.1191, allocations: 4.576 MB / 493.2 MB, free: 2.551 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006131/0.1197, allocations: 20 kB / 493.2 MB, free: 2.531 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001019/0.1208, allocations: 362.1 kB / 493.5 MB, free: 2.176 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004221/0.125, allocations: 1.662 MB / 495.2 MB, free: 0.5078 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007871/0.1258, allocations: 327.2 kB / 495.5 MB, free: 192 kB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.007265/0.133, allocations: 5.565 MB / 0.4893 GB, free: 10.61 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000955/0.134, allocations: 0.5476 MB / 0.4899 GB, free: 10.04 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001311/0.1353, allocations: 0.7938 MB / 0.4906 GB, free: 9.242 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001717/0.137, allocations: 1.366 MB / 0.492 GB, free: 7.871 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000339/0.1374, allocations: 156 kB / 0.4921 GB, free: 7.719 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002707/0.1401, allocations: 1.287 MB / 0.4934 GB, free: 6.43 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001234/0.1413, allocations: 1.157 MB / 0.4945 GB, free: 5.27 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001572/0.1429, allocations: 1.243 MB / 0.4957 GB, free: 4.02 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005126/0.148, allocations: 3.612 MB / 0.4993 GB, free: 404 kB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.992e-06/0.148, allocations: 0 / 0.4993 GB, free: 404 kB / 366.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.148, allocations: 0 / 0.4993 GB, free: 404 kB / 366.1 MB Notification: Performance of Transformations before backend: time 4.845e-05/0.148, allocations: 0 / 0.4993 GB, free: 404 kB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 184 * Number of variables: 184 Notification: Performance of Generate backend data structure: time 0.009246/0.1573, allocations: 3.962 MB / 0.5031 GB, free: 12.36 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.002e-05/0.1573, allocations: 8.031 kB / 0.5031 GB, free: 12.36 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002128/0.1576, allocations: 138.7 kB / 0.5033 GB, free: 12.21 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005591/0.1631, allocations: 0.7794 MB / 0.504 GB, free: 11.43 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009003/0.1722, allocations: 5.152 MB / 0.5091 GB, free: 6.215 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005233/0.1727, allocations: 293.2 kB / 0.5093 GB, free: 5.902 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001513/0.1728, allocations: 68.12 kB / 0.5094 GB, free: 5.836 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007376/0.1802, allocations: 2.901 MB / 0.5122 GB, free: 2.805 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.343e-05/0.1802, allocations: 4 kB / 0.5122 GB, free: 2.801 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001237/0.1803, allocations: 28 kB / 0.5123 GB, free: 2.773 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.422e-05/0.1804, allocations: 51.91 kB / 0.5123 GB, free: 2.723 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.2559/0.4364, allocations: 4.093 MB / 0.5163 GB, free: 39.02 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008637/0.445, allocations: 6.025 MB / 0.5222 GB, free: 35.99 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007496/0.4525, allocations: 2.556 MB / 0.5247 GB, free: 35.4 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005802/0.4583, allocations: 1.952 MB / 0.5266 GB, free: 35.11 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001229/0.4584, allocations: 17.25 kB / 0.5266 GB, free: 35.11 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.216e-05/0.4585, allocations: 56.41 kB / 0.5267 GB, free: 35.05 MB / 382.1 MB Notification: Performance of pre-optimization done (n=41): time 3.426e-06/0.4585, allocations: 0.5312 kB / 0.5267 GB, free: 35.05 MB / 382.1 MB Notification: Performance of matching and sorting (n=41): time 0.01777/0.4762, allocations: 5.849 MB / 0.5324 GB, free: 32.7 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001646/0.4764, allocations: 0.6258 MB / 0.533 GB, free: 31.93 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007109/0.4835, allocations: 5.239 MB / 0.5381 GB, free: 29.37 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002351/0.4837, allocations: 40.48 kB / 0.5381 GB, free: 29.33 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000661/0.4844, allocations: 1.071 MB / 0.5392 GB, free: 28.42 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001708/0.4846, allocations: 150.1 kB / 0.5393 GB, free: 28.31 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002571/0.4848, allocations: 90.67 kB / 0.5394 GB, free: 28.26 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.615e-05/0.4849, allocations: 316.9 kB / 0.5397 GB, free: 27.95 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004917/0.4898, allocations: 1.855 MB / 0.5415 GB, free: 26.9 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0049/0.4947, allocations: 2.055 MB / 0.5435 GB, free: 24.78 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009151/0.5039, allocations: 3.605 MB / 0.5471 GB, free: 21.15 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.004e-05/0.5039, allocations: 4.812 kB / 0.5471 GB, free: 21.14 MB / 382.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.01077/0.5146, allocations: 3.974 MB / 0.5509 GB, free: 17.18 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.768e-05/0.5147, allocations: 10.81 kB / 0.551 GB, free: 17.17 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.088e-05/0.5147, allocations: 4 kB / 0.551 GB, free: 17.17 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.414e-05/0.5147, allocations: 4 kB / 0.551 GB, free: 17.16 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002723/0.5174, allocations: 0.7371 MB / 0.5517 GB, free: 16.43 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.326e-05/0.5174, allocations: 11.94 kB / 0.5517 GB, free: 16.42 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004534/0.522, allocations: 0.8271 MB / 0.5525 GB, free: 15.61 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001254/0.5221, allocations: 27.92 kB / 0.5525 GB, free: 15.59 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * 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 (41): * Single equations (assignments): 41 * 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.001199/0.5233, allocations: 0.7082 MB / 0.5532 GB, free: 14.87 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001241/0.5245, allocations: 270.8 kB / 0.5535 GB, free: 14.61 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006368/0.5252, allocations: 275.6 kB / 0.5537 GB, free: 14.34 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.546e-06/0.5252, allocations: 8 kB / 0.5537 GB, free: 14.33 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.335e-05/0.5252, allocations: 4 kB / 0.5538 GB, free: 14.32 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.672e-06/0.5252, allocations: 4 kB / 0.5538 GB, free: 14.32 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002974/0.5282, allocations: 1.713 MB / 0.5554 GB, free: 12.57 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.071e-06/0.5282, allocations: 5.406 kB / 0.5554 GB, free: 12.56 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002786/0.531, allocations: 0.7503 MB / 0.5562 GB, free: 11.82 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.977e-06/0.531, allocations: 4 kB / 0.5562 GB, free: 11.81 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.58e-05/0.5311, allocations: 15.98 kB / 0.5562 GB, free: 11.8 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.763e-06/0.5311, allocations: 8 kB / 0.5562 GB, free: 11.79 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.088e-06/0.5311, allocations: 7.938 kB / 0.5562 GB, free: 11.78 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01077/0.5418, allocations: 5.115 MB / 0.5612 GB, free: 6.637 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001666/0.5435, allocations: 0.5487 MB / 0.5617 GB, free: 6.074 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005419/0.544, allocations: 16 kB / 0.5617 GB, free: 6.059 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004206/0.5482, allocations: 0.78 MB / 0.5625 GB, free: 5.277 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004158/0.5487, allocations: 155.7 kB / 0.5627 GB, free: 5.125 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.439e-05/0.5487, allocations: 23.98 kB / 0.5627 GB, free: 5.102 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.004834/0.5536, allocations: 3.949 MB / 0.5665 GB, free: 1.152 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.41e-07/0.5536, allocations: 0 / 0.5665 GB, free: 1.152 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.002401/0.556, allocations: 0.5853 MB / 0.5671 GB, free: 0.6055 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * 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 simulation (41): * Single equations (assignments): 41 * 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.01498/0.571, allocations: 6.085 MB / 0.5731 GB, free: 10.51 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.01231/0.5833, allocations: 3.811 MB / 0.5768 GB, free: 6.699 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.335e-05/0.5833, allocations: 7.984 kB / 0.5768 GB, free: 6.691 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.007117/0.5904, allocations: 2.435 MB / 0.5792 GB, free: 4.258 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007618/0.598, allocations: 1.3 MB / 0.5804 GB, free: 3.012 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08617/0.6842, allocations: 35.76 MB / 0.6153 GB, free: 14.94 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002395/0.6866, allocations: 1.759 MB / 0.6171 GB, free: 13.15 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.002985/0.6896, allocations: 0.6411 MB / 0.6177 GB, free: 12.5 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002223/0.6918, allocations: 0.9366 MB / 0.6186 GB, free: 11.57 MB / 446.1 MB Notification: Performance of SimCode: time 1.353e-06/0.6918, allocations: 0 / 0.6186 GB, free: 11.57 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1354/0.8272, allocations: 76.92 MB / 0.6937 GB, free: 14.99 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.62/14.45, allocations: 7.938 kB / 0.6937 GB, free: 14.98 MB / 0.5137 GB " [Timeout remaining time 645] (rm -f StewartPlatform_StewartPlatform.Tests.Trajectory_test.pipe ; mkfifo StewartPlatform_StewartPlatform.Tests.Trajectory_test.pipe ; head -c 1048576 < StewartPlatform_StewartPlatform.Tests.Trajectory_test.pipe >> ../files/StewartPlatform_StewartPlatform.Tests.Trajectory_test.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_StewartPlatform_StewartPlatform_Tests_Trajectory_test_fmu --startTime=0 --stopTime=6 --stepSize=0.012 --timeout=50 --tolerance=1e-06 StewartPlatform_StewartPlatform_Tests_Trajectory_test.fmu > StewartPlatform_StewartPlatform.Tests.Trajectory_test.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 17.239553201943636] Failed to read output from testmodel.py, exit status != 0: 14.55800302233547 14.574683635 14.423648017 Calling exit ...