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.0006816/0.0006816, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009264/0.001608, allocations: 435.8 kB / 10.33 MB, free: 368 kB / 10.45 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.0006942/0.0006942, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.000886/0.00158, allocations: 463.6 kB / 11.68 MB, free: 2.484 MB / 13.93 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 0.8517/0.8517, allocations: 177.2 MB / 189.6 MB, free: 5.312 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07321/0.9249, allocations: 53.66 MB / 243.2 MB, free: 15.59 MB / 250.7 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.02588/0.02588, allocations: 5.055 MB / 249 MB, free: 9.926 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.003571/0.02945, allocations: 1.909 MB / 250.9 MB, free: 8.012 MB / 250.7 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: translateModel(StewartPlatform.Tests.Trajectory_test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="StewartPlatform_StewartPlatform.Tests.Trajectory_test") translateModel(StewartPlatform.Tests.Trajectory_test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="StewartPlatform_StewartPlatform.Tests.Trajectory_test") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.222e-06/1.222e-06, allocations: 0 / 252.3 MB, free: 6.645 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 8.756e-06/9.978e-06, allocations: 2.312 kB / 252.3 MB, free: 6.641 MB / 250.7 MB Notification: Performance of NFInst.instantiate(StewartPlatform.Tests.Trajectory_test): time 0.003597/0.003607, allocations: 4.717 MB / 257 MB, free: 1.895 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.003985/0.007592, allocations: 4.587 MB / 261.6 MB, free: 13.29 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000179/0.007771, allocations: 16 kB / 261.6 MB, free: 13.28 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004581/0.008229, allocations: 349.8 kB / 262 MB, free: 12.93 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001777/0.01001, allocations: 1.677 MB / 263.6 MB, free: 11.25 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003094/0.01032, allocations: 319.2 kB / 264 MB, free: 10.94 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.003395/0.01371, allocations: 4.836 MB / 268.8 MB, free: 6.098 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003985/0.01411, allocations: 434.1 kB / 269.2 MB, free: 5.641 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00102/0.01513, allocations: 1.417 MB / 270.6 MB, free: 4.176 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008291/0.01596, allocations: 1.208 MB / 271.8 MB, free: 2.965 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001676/0.01613, allocations: 156 kB / 272 MB, free: 2.812 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001155/0.01728, allocations: 1.115 MB / 273.1 MB, free: 1.695 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005764/0.01786, allocations: 1.009 MB / 274.1 MB, free: 0.6836 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006112/0.01847, allocations: 0.5532 MB / 274.7 MB, free: 132 kB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.1029/0.1214, allocations: 2.492 MB / 277.2 MB, free: 7.906 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.158e-05/0.1214, allocations: 0 / 277.2 MB, free: 7.906 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.603e-06/0.1214, allocations: 0 / 277.2 MB, free: 7.906 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.706e-05/0.1215, allocations: 5.094 kB / 277.2 MB, free: 7.906 MB / 266.7 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.00425/0.1257, allocations: 3.479 MB / 280.6 MB, free: 6.512 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.936e-05/0.1257, allocations: 11.03 kB / 280.7 MB, free: 6.512 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001112/0.1269, allocations: 426.8 kB / 281.1 MB, free: 6.418 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001755/0.1286, allocations: 1.646 MB / 282.7 MB, free: 5.844 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002702/0.1289, allocations: 0.5198 MB / 283.2 MB, free: 5.438 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001101/0.129, allocations: 69.09 kB / 283.3 MB, free: 5.438 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001146/0.1301, allocations: 1.151 MB / 284.5 MB, free: 4.828 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.586e-05/0.1302, allocations: 10.59 kB / 284.5 MB, free: 4.824 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.657e-05/0.1302, allocations: 31.62 kB / 284.5 MB, free: 4.824 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.84e-05/0.1303, allocations: 43.94 kB / 284.5 MB, free: 4.824 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006208/0.1309, allocations: 366.4 kB / 284.9 MB, free: 4.738 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001909/0.1328, allocations: 3.652 MB / 288.5 MB, free: 1.984 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004484/0.1332, allocations: 1.207 MB / 289.8 MB, free: 0.7812 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002716/0.1335, allocations: 223.5 kB / 290 MB, free: 0.6289 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.476e-05/0.1336, allocations: 15.36 kB / 290 MB, free: 0.6289 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.756e-05/0.1336, allocations: 58.59 kB / 290 MB, free: 0.5898 MB / 266.7 MB Notification: Performance of pre-optimization done (n=44): time 1.914e-06/0.1336, allocations: 0 / 290 MB, free: 0.5898 MB / 266.7 MB Notification: Performance of matching and sorting (n=44): time 0.001075/0.1347, allocations: 486.5 kB / 290.5 MB, free: 0.5547 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.313e-05/0.1348, allocations: 0.4957 MB / 291 MB, free: 15.96 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001464/0.1362, allocations: 2.019 MB / 293 MB, free: 15.71 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 6.696e-05/0.1363, allocations: 37.61 kB / 293.1 MB, free: 15.68 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002726/0.1366, allocations: 0.538 MB / 293.6 MB, free: 15.47 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001243/0.1367, allocations: 166.2 kB / 293.8 MB, free: 15.37 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002954/0.137, allocations: 220.9 kB / 294 MB, free: 15.34 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 7.553e-05/0.1371, allocations: 344.1 kB / 294.3 MB, free: 15.04 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003147/0.1374, allocations: 156.6 kB / 294.5 MB, free: 15.03 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004414/0.1378, allocations: 0.572 MB / 295 MB, free: 14.53 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006074/0.1384, allocations: 0.5874 MB / 295.6 MB, free: 14.24 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.498e-06/0.1384, allocations: 3.094 kB / 295.6 MB, free: 14.24 MB / 282.7 MB Notification: Performance of matching and sorting (n=110) (initialization): time 0.0009228/0.1394, allocations: 0.6873 MB / 296.3 MB, free: 14.11 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.444e-05/0.1394, allocations: 10.62 kB / 296.3 MB, free: 14.11 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.066e-06/0.1394, allocations: 6.875 kB / 296.3 MB, free: 14.11 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.092e-05/0.1394, allocations: 10.69 kB / 296.4 MB, free: 14.11 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000958/0.1403, allocations: 450.9 kB / 296.8 MB, free: 14.11 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.454e-06/0.1404, allocations: 7.5 kB / 296.8 MB, free: 14.11 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009926/0.1413, allocations: 315.6 kB / 297.1 MB, free: 14.09 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.675e-05/0.1414, allocations: 29.25 kB / 297.1 MB, free: 14.09 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * 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 (99): * Single equations (assignments): 98 * Array equations: 1 * 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.0003124/0.1417, allocations: 169 kB / 297.3 MB, free: 13.97 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003124/0.1421, allocations: 131.2 kB / 297.4 MB, free: 13.97 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000169/0.1422, allocations: 186.8 kB / 297.6 MB, free: 13.94 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.659e-06/0.1422, allocations: 7.625 kB / 297.6 MB, free: 13.94 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.817e-06/0.1422, allocations: 6.5 kB / 297.6 MB, free: 13.94 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.989e-06/0.1422, allocations: 7.703 kB / 297.6 MB, free: 13.94 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001145/0.1434, allocations: 0.6603 MB / 298.3 MB, free: 13.84 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.949e-06/0.1434, allocations: 5.875 kB / 298.3 MB, free: 13.84 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007143/0.1441, allocations: 361.7 kB / 298.7 MB, free: 13.84 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002185/0.1443, allocations: 212.1 kB / 298.9 MB, free: 13.72 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.319e-06/0.1443, allocations: 3.656 kB / 298.9 MB, free: 13.72 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.42e-05/0.1444, allocations: 26.27 kB / 298.9 MB, free: 13.71 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.609e-06/0.1444, allocations: 8.531 kB / 298.9 MB, free: 13.71 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.945e-06/0.1444, allocations: 7.188 kB / 298.9 MB, free: 13.71 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001052/0.1454, allocations: 2.491 MB / 301.4 MB, free: 11.53 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002169/0.1457, allocations: 22.55 kB / 301.4 MB, free: 11.53 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001101/0.1468, allocations: 279.4 kB / 301.7 MB, free: 11.52 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003061/0.1471, allocations: 249.8 kB / 301.9 MB, free: 11.51 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.742e-05/0.1471, allocations: 16.16 kB / 302 MB, free: 11.51 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0006967/0.1478, allocations: 0.9825 MB / 302.9 MB, free: 11.42 MB / 282.7 MB Notification: Performance of sort global known variables: time 7e-08/0.1478, allocations: 0 / 302.9 MB, free: 11.42 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.001552/0.1494, allocations: 0.706 MB / 303.6 MB, free: 10.89 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 18 * 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 (44): * Single equations (assignments): 44 * 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.0007342/0.1501, allocations: 0.552 MB / 304.2 MB, free: 10.51 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0007522/0.1508, allocations: 421.8 kB / 304.6 MB, free: 10.2 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.631e-05/0.1509, allocations: 24 kB / 304.6 MB, free: 10.18 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003389/0.1512, allocations: 195.6 kB / 304.8 MB, free: 10.04 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002551/0.1537, allocations: 1.118 MB / 305.9 MB, free: 9.137 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01606/0.1698, allocations: 3.833 MB / 309.8 MB, free: 5.41 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004445/0.1702, allocations: 0.5098 MB / 310.3 MB, free: 4.875 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0007985/0.171, allocations: 250 kB / 310.5 MB, free: 4.637 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001296/0.1723, allocations: 0.5412 MB / 311.1 MB, free: 4.098 MB / 282.7 MB Notification: Performance of SimCode: time 1.022e-06/0.1723, allocations: 0 / 311.1 MB, free: 4.098 MB / 282.7 MB Notification: Performance of Templates: time 0.04636/0.2187, allocations: 49.43 MB / 360.5 MB, free: 3.277 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f StewartPlatform_StewartPlatform.Tests.Trajectory_test.makefile [Timeout 660] (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 & ./StewartPlatform_StewartPlatform.Tests.Trajectory_test -abortSlowSimulation -alarm=240 -lv LOG_STATS > StewartPlatform_StewartPlatform.Tests.Trajectory_test.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.0893556382507086]