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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/StewartPlatform 1.0.2/package.mo", uses=false) 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(StewartPlatform.Tests.Trajectory_test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="StewartPlatform_StewartPlatform.Tests.Trajectory_test") translateModel(StewartPlatform.Tests.Trajectory_test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="StewartPlatform_StewartPlatform.Tests.Trajectory_test") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001781/0.001781, allocations: 115.3 kB / 15.34 MB, free: 0.5156 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002601/0.002601, allocations: 190.3 kB / 16.25 MB, free: 6.629 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.506/1.506, allocations: 222.9 MB / 239.9 MB, free: 4.426 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/StewartPlatform 1.0.2/package.mo): time 0.1754/0.1754, allocations: 6.479 MB / 296.6 MB, free: 2.73 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00117/0.00117, allocations: 59.91 kB / 358.3 MB, free: 0.5859 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1341/0.1353, allocations: 50.84 MB / 409.1 MB, free: 13.7 MB / 350.1 MB Notification: Performance of NFInst.instantiate(StewartPlatform.Tests.Trajectory_test): time 0.01008/0.1454, allocations: 7.572 MB / 416.7 MB, free: 6.086 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01008/0.1556, allocations: 5.239 MB / 421.9 MB, free: 0.832 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001995/0.1576, allocations: 20 kB / 421.9 MB, free: 0.8125 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00113/0.1588, allocations: 326.2 kB / 422.2 MB, free: 0.4922 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.2396/0.3984, allocations: 1.549 MB / 423.8 MB, free: 35.82 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009001/0.3994, allocations: 293.7 kB / 424.1 MB, free: 35.82 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.006165/0.4055, allocations: 5.673 MB / 429.8 MB, free: 35.75 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001005/0.4066, allocations: 0.7811 MB / 430.5 MB, free: 35.61 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001528/0.4081, allocations: 0.7868 MB / 431.3 MB, free: 35.53 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001626/0.4098, allocations: 1.397 MB / 432.7 MB, free: 35.37 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003323/0.4101, allocations: 155.6 kB / 432.9 MB, free: 35.37 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002806/0.4129, allocations: 1.215 MB / 434.1 MB, free: 35.36 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001028/0.414, allocations: 1.107 MB / 435.2 MB, free: 35.27 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001296/0.4153, allocations: 1.16 MB / 436.4 MB, free: 34.9 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004082/0.4194, allocations: 3.241 MB / 439.6 MB, free: 34.04 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.591e-06/0.4194, allocations: 0 / 439.6 MB, free: 34.04 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.344e-06/0.4194, allocations: 4 kB / 439.6 MB, free: 34.04 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.001e-05/0.4195, allocations: 0 / 439.6 MB, free: 34.04 MB / 350.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.009192/0.4287, allocations: 3.63 MB / 443.2 MB, free: 32.23 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.213e-05/0.4287, allocations: 10.06 kB / 443.2 MB, free: 32.23 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002501/0.4313, allocations: 434.2 kB / 443.7 MB, free: 32.09 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004634/0.4359, allocations: 2.564 MB / 446.2 MB, free: 30.95 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009955/0.4369, allocations: 313.2 kB / 446.5 MB, free: 30.78 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002457/0.4372, allocations: 69.09 kB / 446.6 MB, free: 30.76 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01613/0.4533, allocations: 3.114 MB / 449.7 MB, free: 29.87 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.831e-05/0.4534, allocations: 3.188 kB / 449.7 MB, free: 29.87 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001613/0.4536, allocations: 36.67 kB / 449.8 MB, free: 29.84 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.535e-05/0.4536, allocations: 38.39 kB / 449.8 MB, free: 29.84 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02799/0.4816, allocations: 4.392 MB / 454.2 MB, free: 29.17 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008901/0.4906, allocations: 5.699 MB / 459.9 MB, free: 25.39 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02213/0.5128, allocations: 2.854 MB / 462.7 MB, free: 24.54 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.01511/0.5279, allocations: 2.153 MB / 464.9 MB, free: 24.09 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002976/0.5283, allocations: 11.25 kB / 464.9 MB, free: 24.09 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.24e-05/0.5283, allocations: 62.19 kB / 465 MB, free: 24.03 MB / 350.1 MB Notification: Performance of pre-optimization done (n=44): time 3.326e-06/0.5283, allocations: 1.344 kB / 465 MB, free: 24.03 MB / 350.1 MB Notification: Performance of matching and sorting (n=44): time 0.04363/0.572, allocations: 6.21 MB / 471.2 MB, free: 22.34 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002166/0.5722, allocations: 0.7069 MB / 471.9 MB, free: 21.47 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005597/0.5778, allocations: 3.352 MB / 475.2 MB, free: 19.82 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003761/0.5782, allocations: 40.48 kB / 475.3 MB, free: 19.78 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006553/0.5789, allocations: 0.961 MB / 476.2 MB, free: 18.95 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002904/0.5792, allocations: 152.6 kB / 476.4 MB, free: 18.82 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006859/0.5799, allocations: 239.1 kB / 476.6 MB, free: 18.7 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 7.616e-05/0.58, allocations: 347.3 kB / 477 MB, free: 18.37 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01507/0.5951, allocations: 2.292 MB / 479.2 MB, free: 17.17 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01465/0.6098, allocations: 2.58 MB / 481.8 MB, free: 14.5 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02612/0.6359, allocations: 4.101 MB / 485.9 MB, free: 10.35 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.42e-05/0.636, allocations: 4 kB / 485.9 MB, free: 10.35 MB / 350.1 MB Notification: Performance of matching and sorting (n=110) (initialization): time 0.02863/0.6646, allocations: 4.841 MB / 490.8 MB, free: 5.523 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.967e-05/0.6647, allocations: 8.844 kB / 490.8 MB, free: 5.516 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.663e-05/0.6647, allocations: 4 kB / 490.8 MB, free: 5.512 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.57e-05/0.6647, allocations: 11.98 kB / 490.8 MB, free: 5.5 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007006/0.6718, allocations: 0.8528 MB / 491.7 MB, free: 4.648 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.277e-05/0.6718, allocations: 15.94 kB / 491.7 MB, free: 4.633 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008828/0.6806, allocations: 0.816 MB / 492.5 MB, free: 3.82 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002649/0.6809, allocations: 39.98 kB / 492.5 MB, free: 3.781 MB / 350.1 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.001541/0.6825, allocations: 0.7081 MB / 493.2 MB, free: 3.062 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001414/0.6839, allocations: 237.1 kB / 493.5 MB, free: 2.828 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003666/0.6843, allocations: 244.7 kB / 493.7 MB, free: 2.586 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.496e-06/0.6843, allocations: 8 kB / 493.7 MB, free: 2.578 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.525e-05/0.6843, allocations: 4 kB / 493.7 MB, free: 2.574 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.488e-06/0.6843, allocations: 7.984 kB / 493.7 MB, free: 2.566 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002776/0.6871, allocations: 1.698 MB / 495.4 MB, free: 0.8203 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.584e-06/0.6871, allocations: 7.938 kB / 495.4 MB, free: 0.8125 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007142/0.6943, allocations: 0.777 MB / 496.2 MB, free: 40 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.217e-06/0.6943, allocations: 4 kB / 496.2 MB, free: 36 kB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001212/0.6944, allocations: 15.98 kB / 496.2 MB, free: 20 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.472e-06/0.6944, allocations: 12 kB / 496.2 MB, free: 8 kB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.418e-06/0.6944, allocations: 7.938 kB / 496.2 MB, free: 0 / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02875/0.7232, allocations: 5.525 MB / 0.49 GB, free: 10.46 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001103/0.7243, allocations: 354.3 kB / 0.4903 GB, free: 10.09 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00111/0.7254, allocations: 16 kB / 0.4904 GB, free: 10.07 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00886/0.7343, allocations: 0.7484 MB / 0.4911 GB, free: 9.328 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007674/0.7351, allocations: 195.6 kB / 0.4913 GB, free: 9.137 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002295/0.7354, allocations: 23.98 kB / 0.4913 GB, free: 9.113 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.004819/0.7402, allocations: 2.424 MB / 0.4937 GB, free: 6.688 MB / 366.1 MB Notification: Performance of sort global known variables: time 3.31e-07/0.7402, allocations: 0 / 0.4937 GB, free: 6.688 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.003331/0.7435, allocations: 0.7183 MB / 0.4944 GB, free: 5.969 MB / 366.1 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.001725/0.7453, allocations: 0.5187 MB / 0.4949 GB, free: 5.457 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.03143/0.7767, allocations: 4.526 MB / 0.4993 GB, free: 0.9492 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.221e-05/0.7768, allocations: 4 kB / 0.4993 GB, free: 0.9453 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.01568/0.7925, allocations: 2.796 MB / 0.502 GB, free: 14.16 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006885/0.7994, allocations: 1.088 MB / 0.5031 GB, free: 13.16 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01587/0.8153, allocations: 5.695 MB / 0.5087 GB, free: 7.371 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002027/0.8174, allocations: 1.76 MB / 0.5104 GB, free: 5.578 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.002878/0.8203, allocations: 0.5428 MB / 0.5109 GB, free: 5.031 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001208/0.8215, allocations: 139.4 kB / 0.511 GB, free: 4.895 MB / 382.1 MB Notification: Performance of SimCode: time 5.01e-07/0.8215, allocations: 4 kB / 0.511 GB, free: 4.891 MB / 382.1 MB Notification: Performance of Templates: time 0.07148/0.893, allocations: 46.17 MB / 0.5561 GB, free: 6.91 MB / 430.1 MB make -j1 -f StewartPlatform_StewartPlatform.Tests.Trajectory_test.makefile (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=480 -lv LOG_STATS > StewartPlatform_StewartPlatform.Tests.Trajectory_test.pipe 2>&1)