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.001318/0.001318, allocations: 117.4 kB / 17.17 MB, free: 5.977 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.001683/0.001683, allocations: 214.3 kB / 20.13 MB, free: 3.035 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.374/1.374, allocations: 230.6 MB / 253.5 MB, free: 15.11 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.03134/0.03134, allocations: 6.581 MB / 316.1 MB, free: 1.164 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.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.001838/0.001838, allocations: 63.97 kB / 439.4 MB, free: 39.37 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08362/0.08546, allocations: 54.83 MB / 494.2 MB, free: 10.7 MB / 350.1 MB Notification: Performance of NFInst.instantiate(StewartPlatform.Tests.Trajectory_test): time 0.004283/0.08974, allocations: 4.768 MB / 499 MB, free: 5.906 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005259/0.095, allocations: 4.623 MB / 0.4918 GB, free: 1.27 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004478/0.09545, allocations: 16 kB / 0.4918 GB, free: 1.254 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007619/0.09621, allocations: 374 kB / 0.4922 GB, free: 0.8867 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003348/0.09956, allocations: 1.662 MB / 0.4938 GB, free: 15.22 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006865/0.1002, allocations: 319.2 kB / 0.4941 GB, free: 14.91 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.00701/0.1073, allocations: 6.071 MB / 0.5 GB, free: 8.832 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008181/0.1081, allocations: 0.5397 MB / 0.5006 GB, free: 8.266 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00115/0.1092, allocations: 0.8134 MB / 0.5014 GB, free: 7.449 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001623/0.1108, allocations: 1.359 MB / 0.5027 GB, free: 6.086 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003128/0.1112, allocations: 160 kB / 0.5028 GB, free: 5.93 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002539/0.1137, allocations: 1.314 MB / 0.5041 GB, free: 4.613 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001139/0.1148, allocations: 1.145 MB / 0.5052 GB, free: 3.465 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001294/0.1161, allocations: 1.243 MB / 0.5065 GB, free: 2.215 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004483/0.1206, allocations: 3.619 MB / 0.51 GB, free: 14.58 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.33e-06/0.1206, allocations: 0 / 0.51 GB, free: 14.58 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.1206, allocations: 7.875 kB / 0.51 GB, free: 14.57 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.489e-05/0.1207, allocations: 0 / 0.51 GB, free: 14.57 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.009582/0.1303, allocations: 3.962 MB / 0.5139 GB, free: 10.55 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.447e-05/0.1303, allocations: 12.03 kB / 0.5139 GB, free: 10.54 MB / 382.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.377e-05/0.1303, allocations: 17.5 kB / 0.5139 GB, free: 10.52 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001958/0.1305, allocations: 142.7 kB / 0.514 GB, free: 10.37 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006101/0.1366, allocations: 0.7795 MB / 0.5148 GB, free: 9.586 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008126/0.1448, allocations: 5.14 MB / 0.5198 GB, free: 4.379 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005468/0.1453, allocations: 289.2 kB / 0.5201 GB, free: 4.07 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001715/0.1455, allocations: 75.91 kB / 0.5202 GB, free: 3.996 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008224/0.1537, allocations: 2.905 MB / 0.523 GB, free: 0.9609 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.498e-05/0.1537, allocations: 7.938 kB / 0.523 GB, free: 0.9531 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001275/0.1539, allocations: 28 kB / 0.523 GB, free: 0.9258 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.833e-05/0.1539, allocations: 39.98 kB / 0.5231 GB, free: 0.8867 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01364/0.1675, allocations: 4.1 MB / 0.5271 GB, free: 12.78 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008427/0.176, allocations: 6.04 MB / 0.533 GB, free: 6.578 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008457/0.1844, allocations: 2.543 MB / 0.5355 GB, free: 3.895 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006652/0.1911, allocations: 1.956 MB / 0.5374 GB, free: 1.891 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001428/0.1912, allocations: 12 kB / 0.5374 GB, free: 1.879 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.453e-05/0.1913, allocations: 54.48 kB / 0.5374 GB, free: 1.816 MB / 398.1 MB Notification: Performance of pre-optimization done (n=41): time 3.096e-06/0.1913, allocations: 4 kB / 0.5374 GB, free: 1.812 MB / 398.1 MB Notification: Performance of matching and sorting (n=41): time 0.02089/0.2122, allocations: 5.853 MB / 0.5432 GB, free: 11.95 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003292/0.2125, allocations: 0.6219 MB / 0.5438 GB, free: 11.18 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008442/0.2209, allocations: 5.245 MB / 0.5489 GB, free: 5.918 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002483/0.2212, allocations: 29.7 kB / 0.5489 GB, free: 5.883 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009919/0.2222, allocations: 1.077 MB / 0.55 GB, free: 4.801 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002623/0.2225, allocations: 154.9 kB / 0.5501 GB, free: 4.648 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003067/0.2228, allocations: 81.67 kB / 0.5502 GB, free: 4.562 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001354/0.2229, allocations: 326 kB / 0.5505 GB, free: 4.238 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006453/0.2293, allocations: 1.857 MB / 0.5523 GB, free: 2.379 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006601/0.2359, allocations: 2.052 MB / 0.5543 GB, free: 260 kB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0127/0.2486, allocations: 3.601 MB / 0.5578 GB, free: 12.6 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.108e-05/0.2487, allocations: 0 / 0.5578 GB, free: 12.6 MB / 430.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.01417/0.2628, allocations: 3.981 MB / 0.5617 GB, free: 8.609 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.865e-05/0.2629, allocations: 4 kB / 0.5617 GB, free: 8.605 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.335e-05/0.2629, allocations: 4 kB / 0.5617 GB, free: 8.602 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.436e-05/0.2629, allocations: 7.938 kB / 0.5617 GB, free: 8.594 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003484/0.2664, allocations: 0.7488 MB / 0.5625 GB, free: 7.844 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.068e-05/0.2664, allocations: 15.92 kB / 0.5625 GB, free: 7.828 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005026/0.2714, allocations: 0.8226 MB / 0.5633 GB, free: 7.004 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001815/0.2716, allocations: 19.98 kB / 0.5633 GB, free: 6.984 MB / 430.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.001324/0.2729, allocations: 0.7073 MB / 0.564 GB, free: 6.27 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001162/0.2741, allocations: 262.3 kB / 0.5642 GB, free: 6.012 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000691/0.2748, allocations: 279.6 kB / 0.5645 GB, free: 5.738 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.18e-05/0.2748, allocations: 8 kB / 0.5645 GB, free: 5.73 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.172e-05/0.2748, allocations: 7.938 kB / 0.5645 GB, free: 5.723 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.649e-06/0.2748, allocations: 7.984 kB / 0.5645 GB, free: 5.715 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00378/0.2786, allocations: 1.716 MB / 0.5662 GB, free: 3.941 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.009e-05/0.2786, allocations: 8 kB / 0.5662 GB, free: 3.934 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003544/0.2822, allocations: 0.7487 MB / 0.567 GB, free: 3.184 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.278e-05/0.2822, allocations: 4 kB / 0.567 GB, free: 3.18 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001309/0.2823, allocations: 15.98 kB / 0.567 GB, free: 3.164 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.167e-06/0.2823, allocations: 8 kB / 0.567 GB, free: 3.156 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.219e-05/0.2823, allocations: 15.88 kB / 0.567 GB, free: 3.141 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01459/0.2969, allocations: 5.107 MB / 0.572 GB, free: 13.99 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00144/0.2984, allocations: 0.5576 MB / 0.5725 GB, free: 13.41 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009016/0.2993, allocations: 16 kB / 0.5725 GB, free: 13.4 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005397/0.3047, allocations: 0.776 MB / 0.5733 GB, free: 12.62 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005514/0.3052, allocations: 151.8 kB / 0.5734 GB, free: 12.48 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001414/0.3053, allocations: 23.98 kB / 0.5735 GB, free: 12.45 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.00705/0.3124, allocations: 3.953 MB / 0.5773 GB, free: 8.5 MB / 446.1 MB Notification: Performance of sort global known variables: time 3.41e-07/0.3124, allocations: 0 / 0.5773 GB, free: 8.5 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002816/0.3152, allocations: 0.589 MB / 0.5779 GB, free: 7.91 MB / 446.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.01619/0.3314, allocations: 6.087 MB / 0.5838 GB, free: 1.777 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.2005/0.5319, allocations: 3.808 MB / 0.5876 GB, free: 97.5 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 9.217e-06/0.5319, allocations: 1.844 kB / 0.5876 GB, free: 97.5 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.007231/0.5392, allocations: 2.432 MB / 0.5899 GB, free: 97.5 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006251/0.5454, allocations: 1.303 MB / 0.5912 GB, free: 97.41 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0692/0.6146, allocations: 35.74 MB / 0.6261 GB, free: 68.48 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001374/0.616, allocations: 1.77 MB / 0.6279 GB, free: 66.68 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.002066/0.6181, allocations: 0.639 MB / 0.6285 GB, free: 66.08 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00155/0.6196, allocations: 0.9402 MB / 0.6294 GB, free: 65.15 MB / 446.1 MB Notification: Performance of SimCode: time 9.32e-07/0.6196, allocations: 3.938 kB / 0.6294 GB, free: 65.14 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09719/0.7168, allocations: 77.13 MB / 0.7047 GB, free: 4.414 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.56/13.28, allocations: 10.42 kB / 0.7047 GB, free: 4.406 MB / 462.1 MB " [Timeout remaining time 647] (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: 15.932994426984806] Failed to read output from testmodel.py, exit status != 0: 13.445137347036507 13.4697431 13.344505204 Calling exit ...