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.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.001587/0.001587, allocations: 113 kB / 18.94 MB, free: 2.934 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.003207/0.003207, allocations: 208.1 kB / 22.25 MB, free: 5.086 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.618/1.618, allocations: 230.6 MB / 256 MB, free: 8.02 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.03445/0.03445, allocations: 6.584 MB / 319 MB, free: 12.64 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: "" <> 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: StewartPlatform requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002006/0.002006, allocations: 71.89 kB / 443.9 MB, free: 5.344 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1388/0.1408, allocations: 54.86 MB / 498.7 MB, free: 14.41 MB / 366.1 MB Notification: Performance of NFInst.instantiate(StewartPlatform.Tests.Trajectory_test): time 0.009123/0.1499, allocations: 4.8 MB / 0.4917 GB, free: 9.586 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.008427/0.1583, allocations: 4.643 MB / 0.4963 GB, free: 4.93 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006713/0.159, allocations: 16 kB / 0.4963 GB, free: 4.914 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001198/0.1602, allocations: 365.7 kB / 0.4966 GB, free: 4.555 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004692/0.1649, allocations: 1.669 MB / 0.4983 GB, free: 2.883 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000847/0.1657, allocations: 323.2 kB / 0.4986 GB, free: 2.566 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.009706/0.1754, allocations: 6.067 MB / 0.5045 GB, free: 12.49 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000806/0.1763, allocations: 417.4 kB / 0.5049 GB, free: 12.06 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001557/0.1778, allocations: 0.8095 MB / 0.5057 GB, free: 11.25 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001985/0.1798, allocations: 1.378 MB / 0.507 GB, free: 9.863 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003608/0.1802, allocations: 156 kB / 0.5072 GB, free: 9.711 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003757/0.1839, allocations: 1.314 MB / 0.5085 GB, free: 8.395 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001436/0.1854, allocations: 1.149 MB / 0.5096 GB, free: 7.242 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001652/0.187, allocations: 1.243 MB / 0.5108 GB, free: 5.992 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006446/0.1935, allocations: 3.631 MB / 0.5143 GB, free: 2.348 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.025e-05/0.1935, allocations: 0 / 0.5143 GB, free: 2.348 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.397e-06/0.1935, allocations: 0 / 0.5143 GB, free: 2.348 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.967e-05/0.1935, allocations: 0 / 0.5143 GB, free: 2.348 MB / 382.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.3378/0.5313, allocations: 3.878 MB / 0.5181 GB, free: 29.32 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.829e-05/0.5313, allocations: 9.062 kB / 0.5181 GB, free: 29.32 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002253/0.5316, allocations: 136.1 kB / 0.5183 GB, free: 29.28 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005858/0.5374, allocations: 0.7816 MB / 0.519 GB, free: 29.12 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01074/0.5482, allocations: 5.154 MB / 0.5241 GB, free: 28.65 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007226/0.5489, allocations: 0.5307 MB / 0.5246 GB, free: 28.2 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001694/0.5491, allocations: 75.19 kB / 0.5247 GB, free: 28.17 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008605/0.5577, allocations: 2.901 MB / 0.5275 GB, free: 27.41 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.034e-05/0.5577, allocations: 12.41 kB / 0.5275 GB, free: 27.41 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001224/0.5578, allocations: 38.05 kB / 0.5275 GB, free: 27.39 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.347e-05/0.5579, allocations: 39.14 kB / 0.5276 GB, free: 27.39 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01431/0.5722, allocations: 4.092 MB / 0.5316 GB, free: 26.89 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01109/0.5833, allocations: 5.994 MB / 0.5374 GB, free: 22.05 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008304/0.5916, allocations: 2.548 MB / 0.5399 GB, free: 20.66 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006554/0.5981, allocations: 1.96 MB / 0.5418 GB, free: 19.71 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001727/0.5983, allocations: 11.52 kB / 0.5418 GB, free: 19.71 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.19e-05/0.5984, allocations: 61.17 kB / 0.5419 GB, free: 19.65 MB / 382.1 MB Notification: Performance of pre-optimization done (n=41): time 3.987e-06/0.5984, allocations: 0 / 0.5419 GB, free: 19.65 MB / 382.1 MB Notification: Performance of matching and sorting (n=41): time 0.01983/0.6182, allocations: 5.851 MB / 0.5476 GB, free: 15.42 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000262/0.6185, allocations: 0.6219 MB / 0.5482 GB, free: 14.65 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01067/0.6292, allocations: 5.3 MB / 0.5534 GB, free: 9.34 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004432/0.6296, allocations: 37.7 kB / 0.5534 GB, free: 9.297 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001276/0.6309, allocations: 1.077 MB / 0.5545 GB, free: 8.234 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005267/0.6314, allocations: 146.7 kB / 0.5546 GB, free: 8.109 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006177/0.632, allocations: 85.67 kB / 0.5547 GB, free: 8.02 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 9.874e-05/0.6321, allocations: 321.9 kB / 0.555 GB, free: 7.699 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005343/0.6375, allocations: 1.862 MB / 0.5568 GB, free: 5.848 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005578/0.643, allocations: 2.061 MB / 0.5588 GB, free: 3.723 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01015/0.6532, allocations: 3.597 MB / 0.5624 GB, free: 88 kB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.332e-05/0.6532, allocations: 4 kB / 0.5624 GB, free: 84 kB / 382.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.01418/0.6674, allocations: 3.97 MB / 0.5662 GB, free: 12.1 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.891e-05/0.6674, allocations: 8 kB / 0.5662 GB, free: 12.09 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.311e-05/0.6674, allocations: 4 kB / 0.5662 GB, free: 12.09 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.097e-05/0.6675, allocations: 8 kB / 0.5663 GB, free: 12.08 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003161/0.6706, allocations: 0.741 MB / 0.567 GB, free: 11.34 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.864e-05/0.6706, allocations: 8 kB / 0.567 GB, free: 11.33 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00555/0.6762, allocations: 0.8222 MB / 0.5678 GB, free: 10.52 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001337/0.6763, allocations: 27.61 kB / 0.5678 GB, free: 10.5 MB / 398.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.001947/0.6783, allocations: 0.7159 MB / 0.5685 GB, free: 9.77 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001949/0.6802, allocations: 267 kB / 0.5688 GB, free: 9.508 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001188/0.6814, allocations: 279.6 kB / 0.569 GB, free: 9.234 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.318e-05/0.6814, allocations: 4 kB / 0.569 GB, free: 9.23 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.71e-05/0.6814, allocations: 8 kB / 0.569 GB, free: 9.223 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.316e-06/0.6814, allocations: 0 / 0.569 GB, free: 9.223 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005678/0.6871, allocations: 1.698 MB / 0.5707 GB, free: 7.477 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.03e-05/0.6871, allocations: 4 kB / 0.5707 GB, free: 7.473 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003205/0.6903, allocations: 0.741 MB / 0.5714 GB, free: 6.73 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.67e-05/0.6903, allocations: 11.75 kB / 0.5714 GB, free: 6.723 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001118/0.6905, allocations: 21.16 kB / 0.5715 GB, free: 6.703 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.472e-05/0.6905, allocations: 9.422 kB / 0.5715 GB, free: 6.695 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.663e-06/0.6905, allocations: 4 kB / 0.5715 GB, free: 6.691 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01392/0.7044, allocations: 5.115 MB / 0.5765 GB, free: 1.539 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002408/0.7068, allocations: 482 kB / 0.5769 GB, free: 1.066 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00122/0.708, allocations: 19.94 kB / 0.577 GB, free: 1.047 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005316/0.7134, allocations: 0.7684 MB / 0.5777 GB, free: 284 kB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005051/0.7139, allocations: 163.6 kB / 0.5779 GB, free: 120 kB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000102/0.714, allocations: 19.98 kB / 0.5779 GB, free: 100 kB / 398.1 MB Notification: Performance of sorting global known variables: time 0.00775/0.7217, allocations: 3.992 MB / 0.5818 GB, free: 12.11 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.7217, allocations: 4 kB / 0.5818 GB, free: 12.1 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.003279/0.725, allocations: 0.5929 MB / 0.5824 GB, free: 11.51 MB / 414.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.01649/0.7415, allocations: 6.096 MB / 0.5883 GB, free: 5.367 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.01237/0.7538, allocations: 3.816 MB / 0.592 GB, free: 1.551 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.15e-05/0.7539, allocations: 0 / 0.592 GB, free: 1.551 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.007151/0.761, allocations: 2.431 MB / 0.5944 GB, free: 15.12 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00812/0.7691, allocations: 1.311 MB / 0.5957 GB, free: 13.88 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1002/0.8693, allocations: 35.95 MB / 0.6308 GB, free: 9.562 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002646/0.872, allocations: 1.768 MB / 0.6325 GB, free: 7.762 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.003333/0.8753, allocations: 0.6424 MB / 0.6332 GB, free: 7.113 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002775/0.8781, allocations: 0.9326 MB / 0.6341 GB, free: 6.18 MB / 462.1 MB Notification: Performance of SimCode: time 2.034e-06/0.8781, allocations: 4 kB / 0.6341 GB, free: 6.176 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1685/1.047, allocations: 77.46 MB / 0.7097 GB, free: 9.109 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.95/17.99, allocations: 10.88 kB / 0.7097 GB, free: 9.102 MB / 0.5294 GB " [Timeout remaining time 642] (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: 21.463524064049125] Failed to read output from testmodel.py, exit status != 0: 18.139518775977194 18.442799335 18.245887049 Calling exit ...