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.0009007/0.0009007, allocations: 99.55 kB / 15.05 MB, free: 1.105 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.000973/0.000973, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.502/1.502, allocations: 223.2 MB / 239.9 MB, free: 5.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/StewartPlatform 1.0.2/package.mo): time 0.1901/0.1901, allocations: 6.478 MB / 297.4 MB, free: 3.707 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004024/0.0004026, allocations: 8 kB / 359.9 MB, free: 172 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1379/0.1383, allocations: 51.85 MB / 411.7 MB, free: 12.27 MB / 350.1 MB Notification: Performance of NFInst.instantiate(StewartPlatform.Tests.Trajectory_test): time 0.009049/0.1475, allocations: 6.209 MB / 417.9 MB, free: 6.035 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.009597/0.1571, allocations: 4.839 MB / 422.8 MB, free: 1.188 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00183/0.159, allocations: 20 kB / 422.8 MB, free: 1.168 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001644/0.1607, allocations: 385.9 kB / 423.2 MB, free: 0.7891 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.2746/0.4353, allocations: 2.639 MB / 425.8 MB, free: 34.26 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001374/0.4367, allocations: 261.5 kB / 426.1 MB, free: 34.26 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.006101/0.4428, allocations: 3.295 MB / 429.4 MB, free: 34.18 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009933/0.4439, allocations: 0.6375 MB / 430 MB, free: 34.08 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002047/0.4459, allocations: 0.6047 MB / 430.6 MB, free: 34.08 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002467/0.4484, allocations: 1.002 MB / 431.6 MB, free: 34.08 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003236/0.4487, allocations: 61.34 kB / 431.7 MB, free: 34.08 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003992/0.4527, allocations: 0.9534 MB / 432.6 MB, free: 34.07 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001517/0.4543, allocations: 0.9562 MB / 433.6 MB, free: 34.07 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00111/0.4554, allocations: 431.7 kB / 434 MB, free: 33.99 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004483/0.4599, allocations: 2.522 MB / 436.5 MB, free: 33.78 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.958e-06/0.4599, allocations: 0 / 436.5 MB, free: 33.78 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.116e-06/0.4599, allocations: 4 kB / 436.5 MB, free: 33.78 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.438e-05/0.46, allocations: 0 / 436.5 MB, free: 33.78 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.01025/0.4703, allocations: 3.488 MB / 440 MB, free: 32.34 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.242e-05/0.4703, allocations: 11.53 kB / 440 MB, free: 32.34 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005593/0.4709, allocations: 143.5 kB / 440.2 MB, free: 32.3 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006104/0.477, allocations: 0.7703 MB / 440.9 MB, free: 32.14 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01088/0.4879, allocations: 5.015 MB / 445.9 MB, free: 31.63 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.05931/0.5473, allocations: 12.07 MB / 458 MB, free: 31.46 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009179/0.5483, allocations: 67.59 kB / 458.1 MB, free: 31.46 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0735/0.6218, allocations: 16.35 MB / 474.4 MB, free: 24.13 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.553e-05/0.6219, allocations: 6.156 kB / 474.4 MB, free: 24.13 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003422/0.6223, allocations: 32.28 kB / 474.5 MB, free: 24.13 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.174e-05/0.6224, allocations: 40.7 kB / 474.5 MB, free: 24.12 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1322/0.7545, allocations: 30.25 MB / 0.4929 GB, free: 10.95 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01769/0.7723, allocations: 7.561 MB / 0.5003 GB, free: 3.254 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.07622/0.8486, allocations: 15.69 MB / 0.5156 GB, free: 3.414 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002716/0.8489, allocations: 16.27 kB / 0.5157 GB, free: 3.402 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.97e-05/0.849, allocations: 62.48 kB / 0.5157 GB, free: 3.332 MB / 382.1 MB Notification: Performance of pre-optimization done (n=41): time 5.791e-06/0.849, allocations: 0 / 0.5157 GB, free: 3.332 MB / 382.1 MB Notification: Performance of matching and sorting (n=41): time 0.2128/1.062, allocations: 43.41 MB / 0.5581 GB, free: 7.863 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003465/1.062, allocations: 0.6219 MB / 0.5587 GB, free: 7.094 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0102/1.072, allocations: 5.218 MB / 0.5638 GB, free: 1.863 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0006559/1.073, allocations: 33.7 kB / 0.5638 GB, free: 1.824 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001305/1.074, allocations: 1.069 MB / 0.5649 GB, free: 0.75 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008557/1.075, allocations: 143.7 kB / 0.565 GB, free: 0.6133 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004875/1.076, allocations: 9.422 kB / 0.565 GB, free: 0.6055 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001481/1.076, allocations: 318 kB / 0.5653 GB, free: 296 kB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.2098/1.286, allocations: 14.92 MB / 0.5799 GB, free: 1.352 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.343/1.629, allocations: 15.11 MB / 0.5947 GB, free: 135.8 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.06357/1.692, allocations: 13.15 MB / 0.6075 GB, free: 133 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.25e-05/1.692, allocations: 1.938 kB / 0.6075 GB, free: 133 MB / 446.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.129/1.821, allocations: 28.48 MB / 0.6353 GB, free: 114.1 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.144e-05/1.822, allocations: 4 kB / 0.6353 GB, free: 114.1 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.685e-05/1.822, allocations: 4 kB / 0.6353 GB, free: 114.1 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.761e-05/1.822, allocations: 12 kB / 0.6353 GB, free: 114.1 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.03186/1.854, allocations: 6.516 MB / 0.6417 GB, free: 107.6 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.453e-05/1.854, allocations: 8.969 kB / 0.6417 GB, free: 107.6 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0329/1.887, allocations: 6.499 MB / 0.6481 GB, free: 101.1 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008011/1.887, allocations: 93.45 kB / 0.6481 GB, free: 101 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002515/1.89, allocations: 0.7055 MB / 0.6488 GB, free: 100.5 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00184/1.892, allocations: 256.8 kB / 0.6491 GB, free: 100.2 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000818/1.893, allocations: 282.6 kB / 0.6493 GB, free: 100 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.104e-05/1.893, allocations: 8 kB / 0.6494 GB, free: 100 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.498e-05/1.893, allocations: 4 kB / 0.6494 GB, free: 100 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.778e-06/1.893, allocations: 4 kB / 0.6494 GB, free: 100 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005474/1.898, allocations: 2.533 MB / 0.6518 GB, free: 98 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.542e-05/1.898, allocations: 4 kB / 0.6518 GB, free: 98 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.03205/1.93, allocations: 6.523 MB / 0.6582 GB, free: 91.49 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.996e-05/1.93, allocations: 5.359 kB / 0.6582 GB, free: 91.49 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007137/1.931, allocations: 59.58 kB / 0.6583 GB, free: 91.44 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.057e-06/1.931, allocations: 4 kB / 0.6583 GB, free: 91.43 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.483e-06/1.931, allocations: 11.84 kB / 0.6583 GB, free: 91.43 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1267/2.058, allocations: 29.92 MB / 0.6875 GB, free: 61.91 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002277/2.06, allocations: 0.559 MB / 0.688 GB, free: 61.34 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001604/2.062, allocations: 20.78 kB / 0.6881 GB, free: 61.32 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.03342/2.095, allocations: 6.461 MB / 0.6944 GB, free: 54.85 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001977/2.097, allocations: 1.014 MB / 0.6954 GB, free: 53.84 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002924/2.098, allocations: 91.89 kB / 0.6955 GB, free: 53.75 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.006244/2.104, allocations: 3.938 MB / 0.6993 GB, free: 49.81 MB / 446.1 MB Notification: Performance of sort global known variables: time 3e-07/2.104, allocations: 0 / 0.6993 GB, free: 49.81 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.004045/2.108, allocations: 0.8566 MB / 0.7001 GB, free: 48.98 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.1237/2.232, allocations: 31.48 MB / 0.7309 GB, free: 17.41 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.3284/2.56, allocations: 29.98 MB / 0.7602 GB, free: 135.9 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.123e-05/2.56, allocations: 2.688 kB / 0.7602 GB, free: 135.9 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.07804/2.638, allocations: 22.77 MB / 0.7824 GB, free: 130.9 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007514/2.646, allocations: 1.228 MB / 0.7836 GB, free: 130.4 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.297/2.943, allocations: 76.75 MB / 0.8586 GB, free: 56.68 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00171/2.945, allocations: 1.802 MB / 0.8603 GB, free: 54.86 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.005624/2.95, allocations: 1.167 MB / 0.8615 GB, free: 53.7 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003268/2.953, allocations: 1.006 MB / 0.8624 GB, free: 52.7 MB / 446.1 MB Notification: Performance of SimCode: time 5.92e-07/2.953, allocations: 0 / 0.8624 GB, free: 52.7 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4176/3.371, allocations: 112.6 MB / 0.9724 GB, free: 104.3 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001498/3.371, allocations: 176.1 kB / 0.9726 GB, free: 104 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 5.076/8.448, allocations: 0 / 0.9726 GB, free: 104 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/linux/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) Environment - environmentSimulation: