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: "" <> buildModelFMU(StewartPlatform.Tests.Trajectory_test,fileNamePrefix="StewartPlatform_StewartPlatform_Tests_Trajectory_test",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(StewartPlatform.Tests.Trajectory_test,fileNamePrefix="StewartPlatform_StewartPlatform_Tests_Trajectory_test",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001307/0.001307, allocations: 107.3 kB / 15.33 MB, free: 0.5039 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.001682/0.001682, allocations: 199 kB / 16.26 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.196/1.196, allocations: 222.9 MB / 239.9 MB, free: 4.555 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/StewartPlatform 1.0.2/package.mo): time 0.1101/0.1101, allocations: 6.486 MB / 296.5 MB, free: 2.703 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001066/0.001066, allocations: 59.91 kB / 358.3 MB, free: 0.5 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07375/0.07483, allocations: 50.85 MB / 409.2 MB, free: 13.61 MB / 350.1 MB Notification: Performance of NFInst.instantiate(StewartPlatform.Tests.Trajectory_test): time 0.006856/0.08171, allocations: 7.583 MB / 416.8 MB, free: 5.98 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00627/0.08801, allocations: 5.235 MB / 422 MB, free: 0.7305 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003781/0.0884, allocations: 23.94 kB / 422 MB, free: 0.707 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006541/0.08908, allocations: 314.3 kB / 422.3 MB, free: 408 kB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.1289/0.218, allocations: 1.547 MB / 423.9 MB, free: 35.97 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005162/0.2186, allocations: 289.5 kB / 424.2 MB, free: 35.97 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.00401/0.2226, allocations: 5.68 MB / 429.8 MB, free: 35.89 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006417/0.2233, allocations: 0.7835 MB / 430.6 MB, free: 35.74 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006275/0.2239, allocations: 0.79 MB / 431.4 MB, free: 35.66 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009403/0.2248, allocations: 1.395 MB / 432.8 MB, free: 35.5 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001844/0.225, allocations: 158.4 kB / 433 MB, free: 35.49 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001469/0.2265, allocations: 1.22 MB / 434.2 MB, free: 35.48 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005904/0.2271, allocations: 1.121 MB / 435.3 MB, free: 35.38 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007193/0.2278, allocations: 1.253 MB / 436.6 MB, free: 34.99 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002167/0.23, allocations: 3.467 MB / 440 MB, free: 34 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.416e-06/0.23, allocations: 0 / 440 MB, free: 34 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.794e-06/0.23, allocations: 0 / 440 MB, free: 34 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.129e-05/0.2301, allocations: 3.938 kB / 440 MB, free: 34 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.006402/0.2365, allocations: 3.861 MB / 443.9 MB, free: 32.08 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.325e-05/0.2365, allocations: 9.281 kB / 443.9 MB, free: 32.08 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001395/0.2367, allocations: 139.7 kB / 444 MB, free: 31.98 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005295/0.242, allocations: 0.762 MB / 444.8 MB, free: 31.84 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004922/0.2469, allocations: 5.132 MB / 449.9 MB, free: 29.79 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.05089/0.2978, allocations: 12.03 MB / 462 MB, free: 28.9 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004999/0.2983, allocations: 69.16 kB / 462 MB, free: 28.88 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06342/0.3617, allocations: 16.23 MB / 478.3 MB, free: 18.6 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.471e-05/0.3618, allocations: 3.281 kB / 478.3 MB, free: 18.6 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003059/0.3621, allocations: 35.94 kB / 478.3 MB, free: 18.56 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.834e-05/0.3621, allocations: 39.98 kB / 478.3 MB, free: 18.52 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1206/0.4828, allocations: 29.96 MB / 0.4964 GB, free: 4.555 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009378/0.4922, allocations: 7.553 MB / 0.5038 GB, free: 12.86 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.06956/0.5618, allocations: 15.56 MB / 0.519 GB, free: 13.16 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0626/0.6244, allocations: 14.88 MB / 0.5335 GB, free: 14.22 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001777/0.6246, allocations: 19.59 kB / 0.5335 GB, free: 14.2 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.98e-05/0.6246, allocations: 58.48 kB / 0.5336 GB, free: 14.14 MB / 414.1 MB Notification: Performance of pre-optimization done (n=41): time 2.535e-06/0.6247, allocations: 0 / 0.5336 GB, free: 14.14 MB / 414.1 MB Notification: Performance of matching and sorting (n=41): time 0.1879/0.8126, allocations: 42.99 MB / 0.5755 GB, free: 3.094 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002507/0.8128, allocations: 0.6257 MB / 0.5761 GB, free: 2.32 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.1415/0.9544, allocations: 5.244 MB / 0.5813 GB, free: 138.3 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004629/0.9549, allocations: 32.17 kB / 0.5813 GB, free: 138.2 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005823/0.9554, allocations: 1.07 MB / 0.5823 GB, free: 137.7 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003482/0.9558, allocations: 139.6 kB / 0.5825 GB, free: 137.7 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008551/0.9567, allocations: 212.4 kB / 0.5827 GB, free: 137.6 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.206e-05/0.9567, allocations: 320.5 kB / 0.583 GB, free: 137.3 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0606/1.017, allocations: 14.78 MB / 0.5974 GB, free: 136.8 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.06105/1.078, allocations: 14.96 MB / 0.612 GB, free: 131.9 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.1118/1.19, allocations: 26.07 MB / 0.6375 GB, free: 111.5 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.153e-05/1.19, allocations: 5.969 kB / 0.6375 GB, free: 111.5 MB / 446.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.1174/1.308, allocations: 28.19 MB / 0.665 GB, free: 83.44 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.305e-05/1.308, allocations: 8 kB / 0.665 GB, free: 83.43 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.154e-05/1.308, allocations: 4.547 kB / 0.665 GB, free: 83.43 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.16e-05/1.308, allocations: 8 kB / 0.665 GB, free: 83.42 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02915/1.337, allocations: 6.45 MB / 0.6713 GB, free: 76.98 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.774e-05/1.337, allocations: 9.969 kB / 0.6714 GB, free: 76.97 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02944/1.366, allocations: 6.441 MB / 0.6776 GB, free: 70.54 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004704/1.367, allocations: 95.89 kB / 0.6777 GB, free: 70.45 MB / 446.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.00147/1.368, allocations: 0.7055 MB / 0.6784 GB, free: 69.73 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001149/1.37, allocations: 251 kB / 0.6787 GB, free: 69.49 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004466/1.37, allocations: 280.9 kB / 0.6789 GB, free: 69.21 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.712e-06/1.37, allocations: 8 kB / 0.6789 GB, free: 69.21 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.836e-06/1.37, allocations: 4 kB / 0.6789 GB, free: 69.2 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.512e-06/1.37, allocations: 7.984 kB / 0.6789 GB, free: 69.2 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003249/1.373, allocations: 2.531 MB / 0.6814 GB, free: 66.62 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.404e-06/1.373, allocations: 4.5 kB / 0.6814 GB, free: 66.61 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.029/1.402, allocations: 6.446 MB / 0.6877 GB, free: 60.17 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.066e-05/1.402, allocations: 4 kB / 0.6877 GB, free: 60.16 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003113/1.403, allocations: 63.83 kB / 0.6878 GB, free: 60.1 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.292e-06/1.403, allocations: 4.5 kB / 0.6878 GB, free: 60.1 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.287e-06/1.403, allocations: 6.625 kB / 0.6878 GB, free: 60.09 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1159/1.519, allocations: 29.33 MB / 0.7164 GB, free: 30.71 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001254/1.52, allocations: 0.5431 MB / 0.717 GB, free: 30.14 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001346/1.521, allocations: 25.33 kB / 0.717 GB, free: 30.12 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0304/1.552, allocations: 6.387 MB / 0.7232 GB, free: 23.73 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001574/1.553, allocations: 0.8204 MB / 0.724 GB, free: 22.91 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004343/1.554, allocations: 91.89 kB / 0.7241 GB, free: 22.82 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.005181/1.559, allocations: 3.953 MB / 0.728 GB, free: 18.87 MB / 446.1 MB Notification: Performance of sort global known variables: time 3.1e-07/1.559, allocations: 0 / 0.728 GB, free: 18.87 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.003068/1.562, allocations: 0.8533 MB / 0.7288 GB, free: 18.04 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.2739/1.836, allocations: 30.29 MB / 0.7584 GB, free: 136.7 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.1252/1.961, allocations: 29.73 MB / 0.7874 GB, free: 128 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 7.784e-06/1.961, allocations: 0 / 0.7874 GB, free: 128 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.06712/2.028, allocations: 22.63 MB / 0.8095 GB, free: 106.9 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006068/2.034, allocations: 1.302 MB / 0.8108 GB, free: 105.7 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.5086/2.543, allocations: 111 MB / 0.9192 GB, free: 130.8 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001049/2.544, allocations: 1.761 MB / 0.921 GB, free: 130.1 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.004738/2.549, allocations: 1.165 MB / 0.9221 GB, free: 130 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002622/2.551, allocations: 1.017 MB / 0.9231 GB, free: 130 MB / 446.1 MB Notification: Performance of SimCode: time 8.11e-07/2.552, allocations: 1.422 kB / 0.9231 GB, free: 130 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1313/2.683, allocations: 120.6 MB / 1.041 GB, free: 39.45 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001341/2.683, allocations: 191.8 kB / 1.041 GB, free: 39.19 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.032/6.715, allocations: 0 / 1.041 GB, free: 39.19 MB / 446.1 MB (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 --timeout=50 --tolerance=1e-06 StewartPlatform_StewartPlatform_Tests_Trajectory_test.fmu > StewartPlatform_StewartPlatform.Tests.Trajectory_test.pipe 2>&1)