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.001493/0.001493, allocations: 101.5 kB / 19.73 MB, free: 2.23 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.00162/0.00162, allocations: 215.4 kB / 23.04 MB, free: 5.07 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.367/1.367, allocations: 230.6 MB / 256.8 MB, free: 7.984 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.03317/0.03317, allocations: 6.581 MB / 319.8 MB, free: 12.63 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.002028/0.002028, allocations: 67.89 kB / 444.7 MB, free: 5.312 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09423/0.09626, allocations: 54.86 MB / 499.5 MB, free: 14.36 MB / 366.1 MB Notification: Performance of NFInst.instantiate(StewartPlatform.Tests.Trajectory_test): time 0.005969/0.1022, allocations: 4.799 MB / 0.4925 GB, free: 9.535 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.006909/0.1091, allocations: 4.635 MB / 0.497 GB, free: 4.887 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004385/0.1096, allocations: 16 kB / 0.4971 GB, free: 4.871 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008965/0.1105, allocations: 365.7 kB / 0.4974 GB, free: 4.512 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003798/0.1143, allocations: 1.665 MB / 0.499 GB, free: 2.844 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007044/0.115, allocations: 323.2 kB / 0.4993 GB, free: 2.527 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.007718/0.1227, allocations: 6.068 MB / 0.5053 GB, free: 12.45 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007283/0.1234, allocations: 425.4 kB / 0.5057 GB, free: 12.01 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001157/0.1246, allocations: 0.8056 MB / 0.5065 GB, free: 11.2 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001821/0.1264, allocations: 1.374 MB / 0.5078 GB, free: 9.824 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003199/0.1267, allocations: 156 kB / 0.5079 GB, free: 9.672 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002606/0.1293, allocations: 1.318 MB / 0.5092 GB, free: 8.352 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001128/0.1305, allocations: 1.149 MB / 0.5104 GB, free: 7.199 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001341/0.1318, allocations: 1.235 MB / 0.5116 GB, free: 5.957 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004516/0.1363, allocations: 3.635 MB / 0.5151 GB, free: 2.309 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.234e-06/0.1363, allocations: 3.984 kB / 0.5151 GB, free: 2.305 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.1363, allocations: 0 / 0.5151 GB, free: 2.305 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.785e-05/0.1364, allocations: 0 / 0.5151 GB, free: 2.305 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.1957/0.3321, allocations: 3.88 MB / 0.5189 GB, free: 29.33 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.271e-05/0.3321, allocations: 10.84 kB / 0.5189 GB, free: 29.33 MB / 382.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.777e-05/0.3322, allocations: 16.59 kB / 0.5189 GB, free: 29.33 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001442/0.3323, allocations: 136 kB / 0.5191 GB, free: 29.29 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005734/0.338, allocations: 0.7847 MB / 0.5198 GB, free: 29.13 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007077/0.3451, allocations: 5.151 MB / 0.5249 GB, free: 28.64 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005046/0.3456, allocations: 0.5337 MB / 0.5254 GB, free: 28.19 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001447/0.3458, allocations: 64.09 kB / 0.5254 GB, free: 28.17 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007734/0.3535, allocations: 2.914 MB / 0.5283 GB, free: 27.4 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.646e-05/0.3535, allocations: 10.02 kB / 0.5283 GB, free: 27.4 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001182/0.3536, allocations: 29.09 kB / 0.5283 GB, free: 27.38 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.649e-05/0.3537, allocations: 42.98 kB / 0.5284 GB, free: 27.38 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01345/0.3671, allocations: 4.09 MB / 0.5324 GB, free: 26.87 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006301/0.3734, allocations: 5.998 MB / 0.5382 GB, free: 22.02 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007432/0.3809, allocations: 2.551 MB / 0.5407 GB, free: 20.63 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005991/0.3869, allocations: 1.956 MB / 0.5426 GB, free: 19.69 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.382e-05/0.3869, allocations: 9.281 kB / 0.5426 GB, free: 19.68 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.812e-05/0.387, allocations: 58.23 kB / 0.5427 GB, free: 19.62 MB / 382.1 MB Notification: Performance of pre-optimization done (n=41): time 2.775e-06/0.387, allocations: 4 kB / 0.5427 GB, free: 19.62 MB / 382.1 MB Notification: Performance of matching and sorting (n=41): time 0.01823/0.4052, allocations: 5.856 MB / 0.5484 GB, free: 15.33 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001165/0.4053, allocations: 0.6218 MB / 0.549 GB, free: 14.56 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007205/0.4125, allocations: 5.307 MB / 0.5542 GB, free: 9.246 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001186/0.4127, allocations: 29.7 kB / 0.5542 GB, free: 9.211 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007561/0.4134, allocations: 1.077 MB / 0.5553 GB, free: 8.148 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001729/0.4136, allocations: 158.7 kB / 0.5554 GB, free: 8.012 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002921/0.4139, allocations: 81.67 kB / 0.5555 GB, free: 7.926 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.649e-05/0.4139, allocations: 325.9 kB / 0.5558 GB, free: 7.602 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005611/0.4195, allocations: 1.857 MB / 0.5576 GB, free: 5.75 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005577/0.4251, allocations: 2.049 MB / 0.5596 GB, free: 3.641 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01055/0.4357, allocations: 3.603 MB / 0.5631 GB, free: 15.99 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.086e-05/0.4357, allocations: 8 kB / 0.5632 GB, free: 15.98 MB / 398.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.01414/0.4498, allocations: 3.966 MB / 0.567 GB, free: 12.01 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.799e-05/0.4498, allocations: 8 kB / 0.567 GB, free: 12 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.158e-05/0.4499, allocations: 0 / 0.567 GB, free: 12 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.675e-05/0.4499, allocations: 8 kB / 0.567 GB, free: 12 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003499/0.4534, allocations: 0.7488 MB / 0.5678 GB, free: 11.25 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.717e-05/0.4534, allocations: 7.938 kB / 0.5678 GB, free: 11.24 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005294/0.4587, allocations: 0.8266 MB / 0.5686 GB, free: 10.42 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001236/0.4588, allocations: 19.94 kB / 0.5686 GB, free: 10.4 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.001395/0.4602, allocations: 0.7082 MB / 0.5693 GB, free: 9.684 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001466/0.4617, allocations: 264 kB / 0.5695 GB, free: 9.426 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008154/0.4625, allocations: 279.6 kB / 0.5698 GB, free: 9.148 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.204e-05/0.4625, allocations: 14.44 kB / 0.5698 GB, free: 9.137 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.137e-05/0.4625, allocations: 4 kB / 0.5698 GB, free: 9.133 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.235e-06/0.4625, allocations: 4 kB / 0.5698 GB, free: 9.129 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003981/0.4665, allocations: 1.697 MB / 0.5715 GB, free: 7.387 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.899e-06/0.4665, allocations: 4 kB / 0.5715 GB, free: 7.383 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003452/0.47, allocations: 0.7449 MB / 0.5722 GB, free: 6.637 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.037e-05/0.47, allocations: 8 kB / 0.5722 GB, free: 6.629 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001127/0.4701, allocations: 15.98 kB / 0.5722 GB, free: 6.613 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.225e-06/0.4701, allocations: 7.938 kB / 0.5723 GB, free: 6.605 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.789e-06/0.4701, allocations: 4 kB / 0.5723 GB, free: 6.602 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01455/0.4847, allocations: 5.119 MB / 0.5773 GB, free: 1.445 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001696/0.4864, allocations: 486 kB / 0.5777 GB, free: 0.9688 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001025/0.4874, allocations: 19.98 kB / 0.5777 GB, free: 0.9492 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005391/0.4928, allocations: 0.7684 MB / 0.5785 GB, free: 184 kB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005096/0.4933, allocations: 151.7 kB / 0.5786 GB, free: 32 kB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001183/0.4934, allocations: 23.98 kB / 0.5787 GB, free: 8 kB / 398.1 MB Notification: Performance of sorting global known variables: time 0.006967/0.5004, allocations: 4.004 MB / 0.5826 GB, free: 12.01 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.5004, allocations: 0 / 0.5826 GB, free: 12.01 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.002841/0.5032, allocations: 0.5929 MB / 0.5831 GB, free: 11.41 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.0162/0.5194, allocations: 6.093 MB / 0.5891 GB, free: 5.277 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.01315/0.5326, allocations: 3.815 MB / 0.5928 GB, free: 1.465 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 9.468e-06/0.5326, allocations: 4 kB / 0.5928 GB, free: 1.461 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.007344/0.5399, allocations: 2.431 MB / 0.5952 GB, free: 15.03 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007116/0.547, allocations: 1.302 MB / 0.5965 GB, free: 13.79 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0845/0.6315, allocations: 35.95 MB / 0.6316 GB, free: 9.473 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002143/0.6337, allocations: 1.764 MB / 0.6333 GB, free: 7.676 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.002674/0.6363, allocations: 0.6392 MB / 0.6339 GB, free: 7.031 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002162/0.6385, allocations: 0.9405 MB / 0.6348 GB, free: 6.09 MB / 462.1 MB Notification: Performance of SimCode: time 8.82e-07/0.6385, allocations: 3.938 kB / 0.6348 GB, free: 6.086 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1292/0.7677, allocations: 77.49 MB / 0.7105 GB, free: 9.008 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.12/15.89, allocations: 19.84 kB / 0.7105 GB, free: 8.988 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.649466468021274] Failed to read output from testmodel.py, exit status != 0: 16.081765039940365 16.263880061 16.124916719 Calling exit ...