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.006735/0.006735, allocations: 102 kB / 15.73 MB, free: 6.051 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.001561/0.001561, allocations: 191.5 kB / 16.67 MB, free: 5.965 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.315/1.315, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/StewartPlatform 1.0.2/package.mo): time 0.03072/0.03072, allocations: 6.502 MB / 297 MB, free: 8.32 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001417/0.001417, allocations: 63.89 kB / 410.4 MB, free: 25.1 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09187/0.09331, allocations: 50.85 MB / 461.3 MB, free: 6.223 MB / 334.1 MB Notification: Performance of NFInst.instantiate(StewartPlatform.Tests.Trajectory_test): time 0.006438/0.09979, allocations: 4.735 MB / 466 MB, free: 1.461 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.007007/0.1068, allocations: 4.548 MB / 470.6 MB, free: 12.9 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007817/0.1077, allocations: 16 kB / 470.6 MB, free: 12.89 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001125/0.1088, allocations: 353.9 kB / 470.9 MB, free: 12.54 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004292/0.1131, allocations: 1.658 MB / 472.6 MB, free: 10.88 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008478/0.114, allocations: 327.2 kB / 472.9 MB, free: 10.56 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.006295/0.1203, allocations: 5.564 MB / 478.5 MB, free: 4.984 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001102/0.1214, allocations: 0.7857 MB / 479.2 MB, free: 4.168 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001242/0.1227, allocations: 0.7861 MB / 480 MB, free: 3.379 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00182/0.1245, allocations: 1.269 MB / 481.3 MB, free: 2.105 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005843/0.1251, allocations: 156 kB / 481.4 MB, free: 1.953 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0028/0.128, allocations: 1.248 MB / 482.7 MB, free: 0.7031 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001352/0.1293, allocations: 1.106 MB / 483.8 MB, free: 15.59 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002098/0.1314, allocations: 1.247 MB / 485 MB, free: 14.34 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005216/0.1367, allocations: 3.59 MB / 488.6 MB, free: 10.74 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.605e-06/0.1367, allocations: 8 kB / 488.6 MB, free: 10.73 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.1367, allocations: 0 / 488.6 MB, free: 10.73 MB / 366.1 MB Notification: Performance of Transformations before backend: time 8.989e-05/0.1368, allocations: 0 / 488.6 MB, free: 10.73 MB / 366.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.01006/0.1469, allocations: 3.862 MB / 492.5 MB, free: 6.805 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.685e-05/0.1469, allocations: 12.03 kB / 492.5 MB, free: 6.793 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005037/0.1475, allocations: 134.7 kB / 492.7 MB, free: 6.652 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005831/0.1533, allocations: 0.7663 MB / 493.4 MB, free: 5.883 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009119/0.1625, allocations: 5.122 MB / 498.5 MB, free: 0.6953 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007452/0.1632, allocations: 297.2 kB / 498.8 MB, free: 388 kB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004041/0.1637, allocations: 72.12 kB / 498.9 MB, free: 316 kB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007916/0.1716, allocations: 2.893 MB / 0.49 GB, free: 13.29 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.077e-05/0.1717, allocations: 4 kB / 0.49 GB, free: 13.28 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001927/0.1719, allocations: 36 kB / 0.4901 GB, free: 13.25 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.529e-05/0.172, allocations: 43.92 kB / 0.4901 GB, free: 13.2 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01161/0.1836, allocations: 4.104 MB / 0.4941 GB, free: 9.094 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008559/0.1922, allocations: 6.027 MB / 0.5 GB, free: 2.902 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00707/0.1993, allocations: 2.559 MB / 0.5025 GB, free: 208 kB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.2116/0.4109, allocations: 1.959 MB / 0.5044 GB, free: 47.14 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001525/0.4111, allocations: 11.14 kB / 0.5044 GB, free: 47.14 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.19e-05/0.4111, allocations: 63.33 kB / 0.5045 GB, free: 47.1 MB / 382.1 MB Notification: Performance of pre-optimization done (n=41): time 3.056e-06/0.4111, allocations: 0 / 0.5045 GB, free: 47.1 MB / 382.1 MB Notification: Performance of matching and sorting (n=41): time 0.01912/0.4303, allocations: 5.829 MB / 0.5102 GB, free: 47.04 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001875/0.4305, allocations: 0.6292 MB / 0.5108 GB, free: 46.28 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009499/0.44, allocations: 5.255 MB / 0.5159 GB, free: 44.43 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002804/0.4403, allocations: 33.64 kB / 0.516 GB, free: 44.39 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007312/0.4411, allocations: 1.073 MB / 0.517 GB, free: 43.51 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001959/0.4413, allocations: 137.6 kB / 0.5171 GB, free: 43.45 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003641/0.4416, allocations: 81.14 kB / 0.5172 GB, free: 43.4 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.423e-05/0.4417, allocations: 321.9 kB / 0.5175 GB, free: 43.08 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008641/0.4504, allocations: 1.855 MB / 0.5193 GB, free: 42.28 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008864/0.4593, allocations: 2.058 MB / 0.5213 GB, free: 41.25 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01228/0.4716, allocations: 3.608 MB / 0.5249 GB, free: 38.73 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.047e-06/0.4716, allocations: 4 kB / 0.5249 GB, free: 38.73 MB / 382.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.01064/0.4823, allocations: 3.954 MB / 0.5287 GB, free: 34.78 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.762e-05/0.4823, allocations: 9.969 kB / 0.5287 GB, free: 34.77 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.222e-05/0.4824, allocations: 8 kB / 0.5288 GB, free: 34.77 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.57e-05/0.4824, allocations: 4 kB / 0.5288 GB, free: 34.76 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002681/0.4851, allocations: 0.7444 MB / 0.5295 GB, free: 34.02 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.559e-05/0.4851, allocations: 9.625 kB / 0.5295 GB, free: 34.02 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004112/0.4892, allocations: 0.8217 MB / 0.5303 GB, free: 33.2 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001034/0.4893, allocations: 23.98 kB / 0.5303 GB, free: 33.17 MB / 382.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.001028/0.4904, allocations: 0.7108 MB / 0.531 GB, free: 32.45 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008152/0.4912, allocations: 244.9 kB / 0.5312 GB, free: 32.21 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003187/0.4915, allocations: 279.6 kB / 0.5315 GB, free: 31.94 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.863e-06/0.4915, allocations: 8 kB / 0.5315 GB, free: 31.93 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.266e-05/0.4915, allocations: 4 kB / 0.5315 GB, free: 31.93 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.943e-06/0.4916, allocations: 7.984 kB / 0.5315 GB, free: 31.92 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002219/0.4938, allocations: 1.724 MB / 0.5332 GB, free: 30.15 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.63e-06/0.4938, allocations: 4 kB / 0.5332 GB, free: 30.15 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002693/0.4965, allocations: 0.7517 MB / 0.534 GB, free: 29.4 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.446e-06/0.4965, allocations: 8 kB / 0.534 GB, free: 29.39 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.622e-05/0.4966, allocations: 13.62 kB / 0.534 GB, free: 29.38 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.853e-06/0.4966, allocations: 7.984 kB / 0.534 GB, free: 29.38 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.526e-06/0.4966, allocations: 4 kB / 0.534 GB, free: 29.37 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01082/0.5075, allocations: 5.103 MB / 0.539 GB, free: 24.25 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001259/0.5088, allocations: 0.539 MB / 0.5395 GB, free: 23.7 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003639/0.5091, allocations: 16 kB / 0.5395 GB, free: 23.68 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003847/0.513, allocations: 0.767 MB / 0.5403 GB, free: 22.91 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004163/0.5134, allocations: 155.7 kB / 0.5404 GB, free: 22.76 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.262e-05/0.5135, allocations: 23.98 kB / 0.5404 GB, free: 22.74 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.00452/0.518, allocations: 3.952 MB / 0.5443 GB, free: 18.79 MB / 382.1 MB Notification: Performance of sort global known variables: time 5.41e-07/0.518, allocations: 4 kB / 0.5443 GB, free: 18.79 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.00208/0.5201, allocations: 0.5833 MB / 0.5449 GB, free: 18.22 MB / 382.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.01153/0.5317, allocations: 6.061 MB / 0.5508 GB, free: 12.18 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.009947/0.5417, allocations: 3.835 MB / 0.5545 GB, free: 8.355 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 9.699e-06/0.5417, allocations: 3.75 kB / 0.5545 GB, free: 8.355 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0055/0.5472, allocations: 2.444 MB / 0.5569 GB, free: 5.91 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005377/0.5526, allocations: 1.313 MB / 0.5582 GB, free: 4.66 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07229/0.6249, allocations: 35.65 MB / 0.593 GB, free: 0.6758 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002336/0.6273, allocations: 1.765 MB / 0.5947 GB, free: 14.88 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.002974/0.6303, allocations: 0.6301 MB / 0.5954 GB, free: 14.25 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002165/0.6325, allocations: 0.9405 MB / 0.5963 GB, free: 13.3 MB / 430.1 MB Notification: Performance of SimCode: time 1.232e-06/0.6325, allocations: 0 / 0.5963 GB, free: 13.3 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1162/0.7488, allocations: 75.28 MB / 0.6698 GB, free: 2.359 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.61/13.36, allocations: 0 / 0.6698 GB, free: 2.359 MB / 494.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)