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.001358/0.001358, allocations: 103.8 kB / 16.37 MB, free: 6.477 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.001299/0.001299, allocations: 195.8 kB / 17.31 MB, free: 5.82 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.326/1.326, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/StewartPlatform 1.0.2/package.mo): time 0.03034/0.03034, allocations: 6.497 MB / 297.7 MB, free: 8.387 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001264/0.001264, allocations: 59.91 kB / 360.2 MB, free: 9.816 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2103/0.2116, allocations: 50.86 MB / 411 MB, free: 28.28 MB / 302.1 MB Notification: Performance of NFInst.instantiate(StewartPlatform.Tests.Trajectory_test): time 0.004491/0.2161, allocations: 4.733 MB / 415.8 MB, free: 23.54 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.00497/0.2212, allocations: 4.549 MB / 420.3 MB, free: 18.97 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004414/0.2216, allocations: 20 kB / 420.3 MB, free: 18.95 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007668/0.2224, allocations: 349.9 kB / 420.7 MB, free: 18.61 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00328/0.2258, allocations: 1.655 MB / 422.3 MB, free: 16.96 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000611/0.2264, allocations: 319.2 kB / 422.7 MB, free: 16.64 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.004668/0.2311, allocations: 5.566 MB / 428.2 MB, free: 11.07 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007889/0.2319, allocations: 0.7818 MB / 429 MB, free: 10.26 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009173/0.2328, allocations: 0.7822 MB / 429.8 MB, free: 9.473 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001093/0.2339, allocations: 1.277 MB / 431.1 MB, free: 8.191 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002561/0.2342, allocations: 156 kB / 431.2 MB, free: 8.039 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002015/0.2362, allocations: 1.244 MB / 432.5 MB, free: 6.793 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007629/0.237, allocations: 1.103 MB / 433.6 MB, free: 5.688 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009369/0.238, allocations: 1.126 MB / 434.7 MB, free: 4.555 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002978/0.2409, allocations: 3.368 MB / 438.1 MB, free: 1.176 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.612e-06/0.241, allocations: 4 kB / 438.1 MB, free: 1.172 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.764e-06/0.241, allocations: 0 / 438.1 MB, free: 1.172 MB / 302.1 MB Notification: Performance of Transformations before backend: time 4.861e-05/0.241, allocations: 0 / 438.1 MB, free: 1.172 MB / 302.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.00853/0.2496, allocations: 3.62 MB / 441.7 MB, free: 13.49 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.007e-05/0.2496, allocations: 15.89 kB / 441.7 MB, free: 13.47 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002318/0.252, allocations: 433.5 kB / 442.1 MB, free: 13.05 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004695/0.2567, allocations: 2.582 MB / 444.7 MB, free: 10.4 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005263/0.2572, allocations: 305.2 kB / 445 MB, free: 10.08 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001692/0.2574, allocations: 68.38 kB / 445.1 MB, free: 10.01 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007575/0.265, allocations: 2.905 MB / 448 MB, free: 6.973 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.213e-05/0.2651, allocations: 3.938 kB / 448 MB, free: 6.969 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001242/0.2652, allocations: 36 kB / 448 MB, free: 6.934 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.448e-05/0.2653, allocations: 43.97 kB / 448.1 MB, free: 6.891 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01233/0.2776, allocations: 4.1 MB / 452.2 MB, free: 2.789 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007488/0.2851, allocations: 5.438 MB / 457.6 MB, free: 13.18 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007402/0.2926, allocations: 2.625 MB / 460.2 MB, free: 10.39 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005847/0.2984, allocations: 2.009 MB / 462.2 MB, free: 8.324 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000127/0.2986, allocations: 8 kB / 462.2 MB, free: 8.316 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.729e-05/0.2987, allocations: 66.86 kB / 462.3 MB, free: 8.242 MB / 334.1 MB Notification: Performance of pre-optimization done (n=44): time 3.095e-06/0.2987, allocations: 7.938 kB / 462.3 MB, free: 8.234 MB / 334.1 MB Notification: Performance of matching and sorting (n=44): time 0.01866/0.3173, allocations: 5.852 MB / 468.2 MB, free: 2.367 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003439/0.3177, allocations: 0.6973 MB / 468.9 MB, free: 1.504 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00595/0.3237, allocations: 3.354 MB / 472.2 MB, free: 14.13 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002222/0.3239, allocations: 29.7 kB / 472.2 MB, free: 14.09 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009735/0.3249, allocations: 0.9652 MB / 473.2 MB, free: 13.12 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003009/0.3252, allocations: 165.7 kB / 473.4 MB, free: 12.96 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006468/0.3259, allocations: 234.2 kB / 473.6 MB, free: 12.73 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001515/0.326, allocations: 345.9 kB / 473.9 MB, free: 12.38 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006447/0.3325, allocations: 2.132 MB / 476.1 MB, free: 10.25 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006665/0.3392, allocations: 2.439 MB / 478.5 MB, free: 7.715 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01194/0.3512, allocations: 4.018 MB / 482.5 MB, free: 3.625 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.394e-05/0.3512, allocations: 0 / 482.5 MB, free: 3.625 MB / 350.1 MB Notification: Performance of matching and sorting (n=110) (initialization): time 0.01376/0.365, allocations: 4.642 MB / 487.2 MB, free: 14.98 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.12e-05/0.3651, allocations: 11.94 kB / 487.2 MB, free: 14.96 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.005e-05/0.3651, allocations: 8 kB / 487.2 MB, free: 14.96 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.114e-05/0.3652, allocations: 8 kB / 487.2 MB, free: 14.95 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003537/0.3687, allocations: 0.831 MB / 488 MB, free: 14.12 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.587e-05/0.3688, allocations: 16 kB / 488 MB, free: 14.1 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004622/0.3734, allocations: 0.7872 MB / 488.8 MB, free: 13.31 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000277/0.3737, allocations: 43.97 kB / 488.9 MB, free: 13.27 MB / 366.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.001546/0.3753, allocations: 0.7208 MB / 489.6 MB, free: 12.54 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001006/0.3763, allocations: 229.1 kB / 489.8 MB, free: 12.31 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006287/0.3769, allocations: 241.6 kB / 490 MB, free: 12.07 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.198e-05/0.3769, allocations: 8 kB / 490.1 MB, free: 12.06 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.535e-05/0.3769, allocations: 4 kB / 490.1 MB, free: 12.05 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.027e-05/0.377, allocations: 11.98 kB / 490.1 MB, free: 12.04 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003851/0.3808, allocations: 1.568 MB / 491.6 MB, free: 10.41 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.126e-05/0.3809, allocations: 4 kB / 491.6 MB, free: 10.41 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003139/0.384, allocations: 0.7527 MB / 492.4 MB, free: 9.656 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.346e-05/0.384, allocations: 4 kB / 492.4 MB, free: 9.652 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000136/0.3842, allocations: 19.98 kB / 492.4 MB, free: 9.633 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.376e-06/0.3842, allocations: 12 kB / 492.4 MB, free: 9.621 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.712e-06/0.3842, allocations: 7.938 kB / 492.4 MB, free: 9.613 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01261/0.3968, allocations: 5.324 MB / 497.8 MB, free: 4.25 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00136/0.3982, allocations: 354.1 kB / 498.1 MB, free: 3.883 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001212/0.3995, allocations: 20 kB / 498.1 MB, free: 3.863 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004882/0.4044, allocations: 0.7254 MB / 498.9 MB, free: 3.137 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006354/0.405, allocations: 171.7 kB / 499 MB, free: 2.969 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001564/0.4052, allocations: 23.98 kB / 499 MB, free: 2.945 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.004802/0.41, allocations: 2.42 MB / 0.4897 GB, free: 0.5195 MB / 366.1 MB Notification: Performance of sort global known variables: time 6.41e-07/0.41, allocations: 0 / 0.4897 GB, free: 0.5195 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.00336/0.4134, allocations: 0.6752 MB / 0.4904 GB, free: 15.84 MB / 382.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.001468/0.4149, allocations: 0.5257 MB / 0.4909 GB, free: 15.31 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.01239/0.4273, allocations: 4.203 MB / 0.495 GB, free: 11.1 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 8.506e-06/0.4274, allocations: 0 / 0.495 GB, free: 11.1 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.006763/0.4341, allocations: 2.564 MB / 0.4975 GB, free: 8.539 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006652/0.4408, allocations: 1.072 MB / 0.4985 GB, free: 7.523 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01297/0.4538, allocations: 5.025 MB / 0.5034 GB, free: 2.402 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001928/0.4558, allocations: 1.767 MB / 0.5052 GB, free: 0.6055 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.002133/0.458, allocations: 0.5046 MB / 0.5057 GB, free: 96 kB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.1772/0.6352, allocations: 141.2 kB / 0.5058 GB, free: 93.16 MB / 382.1 MB Notification: Performance of SimCode: time 9.92e-07/0.6353, allocations: 0 / 0.5058 GB, free: 93.16 MB / 382.1 MB Notification: Performance of Templates: time 0.05704/0.6923, allocations: 44.05 MB / 0.5488 GB, free: 59.06 MB / 382.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 -s cvode -lv LOG_STATS > StewartPlatform_StewartPlatform.Tests.Trajectory_test.pipe 2>&1)