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.001466/0.001466, allocations: 97.31 kB / 19.73 MB, free: 2.117 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.001376/0.001376, allocations: 218.5 kB / 23.03 MB, free: 4.922 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.292/1.292, allocations: 230.6 MB / 256.8 MB, free: 7.789 MB / 206.1 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.0318/0.0318, allocations: 6.578 MB / 319.8 MB, free: 12.41 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(StewartPlatform.Tests.Trajectory_test,fileNamePrefix="StewartPlatform_StewartPlatform_Tests_Trajectory_test",fmuType="cs",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.001842/0.001842, allocations: 71.89 kB / 444.6 MB, free: 4.824 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09704/0.09889, allocations: 54.86 MB / 499.5 MB, free: 13.89 MB / 366.1 MB Notification: Performance of NFInst.instantiate(StewartPlatform.Tests.Trajectory_test): time 0.005569/0.1045, allocations: 4.333 MB / 0.492 GB, free: 9.531 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.006389/0.1108, allocations: 4.207 MB / 0.4961 GB, free: 5.312 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005802/0.1114, allocations: 12 kB / 0.4961 GB, free: 5.301 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001017/0.1124, allocations: 333.9 kB / 0.4964 GB, free: 4.973 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00396/0.1164, allocations: 1.673 MB / 0.498 GB, free: 3.297 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000793/0.1172, allocations: 331.2 kB / 0.4984 GB, free: 2.973 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.007298/0.1245, allocations: 6.06 MB / 0.5043 GB, free: 12.9 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000834/0.1253, allocations: 417.5 kB / 0.5047 GB, free: 12.47 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001325/0.1267, allocations: 0.8095 MB / 0.5055 GB, free: 11.66 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002086/0.1287, allocations: 1.366 MB / 0.5068 GB, free: 10.29 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005827/0.1293, allocations: 156 kB / 0.507 GB, free: 10.14 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002547/0.1319, allocations: 1.107 MB / 0.508 GB, free: 9.027 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001255/0.1331, allocations: 1.153 MB / 0.5092 GB, free: 7.871 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001269/0.1344, allocations: 1.006 MB / 0.5101 GB, free: 6.859 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004232/0.1386, allocations: 3.581 MB / 0.5136 GB, free: 3.266 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.1386, allocations: 0 / 0.5136 GB, free: 3.266 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.883e-06/0.1386, allocations: 3.938 kB / 0.5136 GB, free: 3.262 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.893e-05/0.1387, allocations: 0 / 0.5136 GB, free: 3.262 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.1909/0.3296, allocations: 3.888 MB / 0.5174 GB, free: 29.33 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.487e-05/0.3296, allocations: 9.062 kB / 0.5175 GB, free: 29.33 MB / 382.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.893e-05/0.3297, allocations: 17.73 kB / 0.5175 GB, free: 29.33 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001734/0.3299, allocations: 139.5 kB / 0.5176 GB, free: 29.29 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005344/0.3352, allocations: 0.7766 MB / 0.5184 GB, free: 29.14 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007482/0.3427, allocations: 5.16 MB / 0.5234 GB, free: 28.67 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005629/0.3432, allocations: 0.5327 MB / 0.5239 GB, free: 28.26 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001707/0.3434, allocations: 67.92 kB / 0.524 GB, free: 28.26 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007182/0.3506, allocations: 3.137 MB / 0.527 GB, free: 27.25 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.272e-05/0.3506, allocations: 5.5 kB / 0.5271 GB, free: 27.25 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001196/0.3507, allocations: 37.19 kB / 0.5271 GB, free: 27.22 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.298e-05/0.3508, allocations: 37.59 kB / 0.5271 GB, free: 27.22 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01197/0.3628, allocations: 4.092 MB / 0.5311 GB, free: 26.74 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006446/0.3692, allocations: 5.454 MB / 0.5364 GB, free: 22.66 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006387/0.3756, allocations: 2.548 MB / 0.5389 GB, free: 21.28 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005091/0.3807, allocations: 1.958 MB / 0.5408 GB, free: 20.33 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.613e-05/0.3808, allocations: 7.375 kB / 0.5409 GB, free: 20.33 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.741e-05/0.3808, allocations: 56.8 kB / 0.5409 GB, free: 20.28 MB / 382.1 MB Notification: Performance of pre-optimization done (n=41): time 3.227e-06/0.3808, allocations: 9.469 kB / 0.5409 GB, free: 20.27 MB / 382.1 MB Notification: Performance of matching and sorting (n=41): time 0.01572/0.3965, allocations: 5.852 MB / 0.5466 GB, free: 15.8 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001199/0.3967, allocations: 0.6258 MB / 0.5472 GB, free: 15.03 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006202/0.4029, allocations: 5.3 MB / 0.5524 GB, free: 9.719 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001453/0.403, allocations: 33.7 kB / 0.5524 GB, free: 9.68 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006343/0.4036, allocations: 1.079 MB / 0.5535 GB, free: 8.617 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001607/0.4038, allocations: 150.8 kB / 0.5536 GB, free: 8.488 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002877/0.4041, allocations: 85.42 kB / 0.5537 GB, free: 8.402 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.983e-05/0.4041, allocations: 321.9 kB / 0.554 GB, free: 8.082 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00476/0.4089, allocations: 1.862 MB / 0.5559 GB, free: 6.227 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004814/0.4137, allocations: 2.249 MB / 0.558 GB, free: 3.863 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009026/0.4227, allocations: 3.605 MB / 0.5616 GB, free: 224 kB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.199e-06/0.4227, allocations: 0 / 0.5616 GB, free: 224 kB / 382.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.01217/0.4349, allocations: 3.978 MB / 0.5655 GB, free: 12.23 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.463e-05/0.4349, allocations: 4 kB / 0.5655 GB, free: 12.23 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.355e-05/0.4349, allocations: 4.812 kB / 0.5655 GB, free: 12.22 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.605e-05/0.435, allocations: 8 kB / 0.5655 GB, free: 12.21 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002937/0.4379, allocations: 0.7449 MB / 0.5662 GB, free: 11.47 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.614e-05/0.4379, allocations: 15.98 kB / 0.5662 GB, free: 11.45 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004701/0.4426, allocations: 0.8143 MB / 0.567 GB, free: 10.65 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001171/0.4427, allocations: 27.92 kB / 0.567 GB, free: 10.62 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.001216/0.444, allocations: 0.7065 MB / 0.5677 GB, free: 9.91 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001058/0.445, allocations: 258.3 kB / 0.568 GB, free: 9.656 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000473/0.4455, allocations: 280.5 kB / 0.5682 GB, free: 9.379 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.718e-06/0.4455, allocations: 8.594 kB / 0.5682 GB, free: 9.371 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.334e-05/0.4455, allocations: 8 kB / 0.5683 GB, free: 9.363 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.626e-06/0.4455, allocations: 7.984 kB / 0.5683 GB, free: 9.355 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002664/0.4482, allocations: 1.238 MB / 0.5695 GB, free: 8.074 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.792e-06/0.4482, allocations: 4 kB / 0.5695 GB, free: 8.07 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00305/0.4512, allocations: 0.7432 MB / 0.5702 GB, free: 7.328 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.254e-05/0.4513, allocations: 8 kB / 0.5702 GB, free: 7.32 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.235e-05/0.4514, allocations: 15.98 kB / 0.5702 GB, free: 7.305 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.833e-06/0.4514, allocations: 4 kB / 0.5702 GB, free: 7.301 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.312e-06/0.4514, allocations: 7.938 kB / 0.5702 GB, free: 7.293 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01256/0.4639, allocations: 5.119 MB / 0.5752 GB, free: 2.137 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00141/0.4653, allocations: 497.1 kB / 0.5757 GB, free: 1.656 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005715/0.4659, allocations: 16 kB / 0.5757 GB, free: 1.641 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004404/0.4703, allocations: 0.7722 MB / 0.5765 GB, free: 0.8672 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004562/0.4708, allocations: 154.9 kB / 0.5766 GB, free: 0.7188 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.11e-05/0.4709, allocations: 27.98 kB / 0.5767 GB, free: 0.6914 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.005884/0.4767, allocations: 3.996 MB / 0.5806 GB, free: 12.7 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.4767, allocations: 0 / 0.5806 GB, free: 12.7 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.002144/0.4789, allocations: 0.5907 MB / 0.5811 GB, free: 12.14 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.0138/0.4927, allocations: 6.092 MB / 0.5871 GB, free: 6.023 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.01155/0.5042, allocations: 3.817 MB / 0.5908 GB, free: 2.207 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.101e-05/0.5042, allocations: 4 kB / 0.5908 GB, free: 2.203 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.006625/0.5109, allocations: 2.424 MB / 0.5932 GB, free: 15.78 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006239/0.5171, allocations: 1.306 MB / 0.5945 GB, free: 14.54 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07372/0.5908, allocations: 35.95 MB / 0.6296 GB, free: 10.22 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001407/0.5922, allocations: 1.181 MB / 0.6307 GB, free: 9 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.002166/0.5944, allocations: 0.6425 MB / 0.6313 GB, free: 8.352 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001782/0.5962, allocations: 0.9365 MB / 0.6323 GB, free: 7.414 MB / 462.1 MB Notification: Performance of SimCode: time 1.012e-06/0.5962, allocations: 0 / 0.6323 GB, free: 7.414 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1246/0.7208, allocations: 81.52 MB / 0.7119 GB, free: 6.512 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.37/16.09, allocations: 14.56 kB / 0.7119 GB, free: 6.5 MB / 0.5294 GB " [Timeout remaining time 644] (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 os._exit(0), Time elapsed: 18.772381052956916] Failed to read output from testmodel.py, exit status != 0: 16.27886676893104 16.449928388 16.308530672 Calling exit ...