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.006009/0.006009, allocations: 101.2 kB / 15.73 MB, free: 5.586 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.00114/0.00114, allocations: 183.7 kB / 16.67 MB, free: 5.523 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.226/1.226, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/StewartPlatform 1.0.2/package.mo): time 0.02916/0.02916, allocations: 6.497 MB / 297 MB, free: 8.355 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001195/0.001195, allocations: 59.91 kB / 410.4 MB, free: 25.01 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0893/0.09051, allocations: 50.85 MB / 461.3 MB, free: 6.137 MB / 334.1 MB Notification: Performance of NFInst.instantiate(StewartPlatform.Tests.Trajectory_test): time 0.005411/0.09597, allocations: 4.727 MB / 466 MB, free: 1.379 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.006234/0.1022, allocations: 4.555 MB / 470.6 MB, free: 12.81 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003683/0.1026, allocations: 12 kB / 470.6 MB, free: 12.8 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008217/0.1035, allocations: 353.9 kB / 470.9 MB, free: 12.45 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003306/0.1068, allocations: 1.669 MB / 472.6 MB, free: 10.79 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006399/0.1075, allocations: 323.1 kB / 472.9 MB, free: 10.47 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.006022/0.1135, allocations: 5.565 MB / 478.5 MB, free: 4.895 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001021/0.1146, allocations: 0.774 MB / 479.2 MB, free: 4.09 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001341/0.1159, allocations: 0.7822 MB / 480 MB, free: 3.305 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001621/0.1176, allocations: 1.281 MB / 481.3 MB, free: 2.02 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003336/0.1179, allocations: 156 kB / 481.4 MB, free: 1.867 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002691/0.1206, allocations: 1.248 MB / 482.7 MB, free: 0.6172 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001069/0.1217, allocations: 1.11 MB / 483.8 MB, free: 15.5 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001399/0.1231, allocations: 1.243 MB / 485 MB, free: 14.25 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004305/0.1274, allocations: 3.587 MB / 488.6 MB, free: 10.66 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.452e-06/0.1274, allocations: 4 kB / 488.6 MB, free: 10.65 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.275e-06/0.1274, allocations: 0 / 488.6 MB, free: 10.65 MB / 366.1 MB Notification: Performance of Transformations before backend: time 4.006e-05/0.1275, allocations: 0 / 488.6 MB, free: 10.65 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.009301/0.1368, allocations: 3.873 MB / 492.5 MB, free: 6.715 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.323e-05/0.1369, allocations: 8.031 kB / 492.5 MB, free: 6.707 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000213/0.1371, allocations: 134.7 kB / 492.7 MB, free: 6.566 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005702/0.1428, allocations: 0.7702 MB / 493.4 MB, free: 5.793 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008014/0.1509, allocations: 5.118 MB / 498.5 MB, free: 0.6094 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005078/0.1514, allocations: 293.2 kB / 498.8 MB, free: 304 kB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001557/0.1516, allocations: 76.12 kB / 498.9 MB, free: 228 kB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007055/0.1586, allocations: 2.893 MB / 0.49 GB, free: 13.2 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.475e-05/0.1587, allocations: 7.938 kB / 0.49 GB, free: 13.19 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001176/0.1588, allocations: 32 kB / 0.4901 GB, free: 13.16 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.945e-05/0.1589, allocations: 47.92 kB / 0.4901 GB, free: 13.11 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01177/0.1707, allocations: 4.1 MB / 0.4941 GB, free: 9.008 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00756/0.1783, allocations: 6.035 MB / 0.5 GB, free: 2.809 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007034/0.1854, allocations: 2.555 MB / 0.5025 GB, free: 116 kB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.1959/0.3813, allocations: 1.958 MB / 0.5044 GB, free: 47 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001457/0.3815, allocations: 18.11 kB / 0.5044 GB, free: 47 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.378e-05/0.3816, allocations: 55.44 kB / 0.5045 GB, free: 46.96 MB / 382.1 MB Notification: Performance of pre-optimization done (n=41): time 3.587e-06/0.3816, allocations: 1.094 kB / 0.5045 GB, free: 46.96 MB / 382.1 MB Notification: Performance of matching and sorting (n=41): time 0.01923/0.4008, allocations: 5.837 MB / 0.5102 GB, free: 46.89 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002033/0.4011, allocations: 0.6215 MB / 0.5108 GB, free: 46.14 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008106/0.4092, allocations: 5.249 MB / 0.5159 GB, free: 44.34 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001572/0.4093, allocations: 33.64 kB / 0.516 GB, free: 44.3 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006913/0.41, allocations: 1.073 MB / 0.517 GB, free: 43.42 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001675/0.4102, allocations: 141 kB / 0.5171 GB, free: 43.35 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002829/0.4105, allocations: 80.94 kB / 0.5172 GB, free: 43.3 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.108e-05/0.4106, allocations: 325.9 kB / 0.5175 GB, free: 42.98 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005364/0.4159, allocations: 1.853 MB / 0.5193 GB, free: 42.18 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005/0.421, allocations: 2.057 MB / 0.5213 GB, free: 41.15 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00934/0.4303, allocations: 3.601 MB / 0.5249 GB, free: 38.63 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.987e-06/0.4304, allocations: 0 / 0.5249 GB, free: 38.63 MB / 382.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.01049/0.4409, allocations: 3.969 MB / 0.5287 GB, free: 34.68 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.825e-05/0.4409, allocations: 11.12 kB / 0.5287 GB, free: 34.67 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.37e-05/0.4409, allocations: 4 kB / 0.5288 GB, free: 34.66 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.898e-05/0.441, allocations: 4 kB / 0.5288 GB, free: 34.66 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002648/0.4436, allocations: 0.7487 MB / 0.5295 GB, free: 33.91 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.272e-05/0.4436, allocations: 5.688 kB / 0.5295 GB, free: 33.91 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004177/0.4478, allocations: 0.8222 MB / 0.5303 GB, free: 33.09 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.44e-05/0.4479, allocations: 19.98 kB / 0.5303 GB, free: 33.07 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.000925/0.4489, allocations: 0.7107 MB / 0.531 GB, free: 32.35 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008643/0.4497, allocations: 244.9 kB / 0.5312 GB, free: 32.11 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003109/0.4501, allocations: 279.6 kB / 0.5315 GB, free: 31.84 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.953e-06/0.4501, allocations: 8 kB / 0.5315 GB, free: 31.83 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.249e-05/0.4501, allocations: 4 kB / 0.5315 GB, free: 31.82 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.637e-06/0.4501, allocations: 7.984 kB / 0.5315 GB, free: 31.82 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002156/0.4523, allocations: 1.737 MB / 0.5332 GB, free: 30.04 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.53e-06/0.4523, allocations: 4 kB / 0.5332 GB, free: 30.04 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002695/0.455, allocations: 0.7409 MB / 0.534 GB, free: 29.3 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.095e-06/0.455, allocations: 5.125 kB / 0.534 GB, free: 29.3 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.02e-05/0.4551, allocations: 15.98 kB / 0.534 GB, free: 29.28 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.392e-06/0.4551, allocations: 11.94 kB / 0.534 GB, free: 29.27 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.367e-06/0.4551, allocations: 4 kB / 0.534 GB, free: 29.27 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01033/0.4654, allocations: 5.101 MB / 0.539 GB, free: 24.15 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008769/0.4663, allocations: 0.5329 MB / 0.5395 GB, free: 23.59 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003464/0.4667, allocations: 23.88 kB / 0.5395 GB, free: 23.57 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004027/0.4707, allocations: 0.7669 MB / 0.5403 GB, free: 22.81 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003977/0.4711, allocations: 159.7 kB / 0.5404 GB, free: 22.66 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.905e-05/0.4712, allocations: 20 kB / 0.5404 GB, free: 22.64 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.004267/0.4755, allocations: 3.957 MB / 0.5443 GB, free: 18.68 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.6e-07/0.4755, allocations: 0 / 0.5443 GB, free: 18.68 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001843/0.4773, allocations: 0.5859 MB / 0.5449 GB, free: 18.12 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.01158/0.4889, allocations: 6.054 MB / 0.5508 GB, free: 12.07 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.01011/0.4991, allocations: 3.84 MB / 0.5545 GB, free: 8.254 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 7.815e-06/0.4991, allocations: 0 / 0.5545 GB, free: 8.254 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005653/0.5048, allocations: 2.446 MB / 0.5569 GB, free: 5.82 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006532/0.5113, allocations: 1.304 MB / 0.5582 GB, free: 4.586 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07059/0.5819, allocations: 35.66 MB / 0.593 GB, free: 0.6055 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001799/0.5838, allocations: 1.765 MB / 0.5947 GB, free: 14.81 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.00222/0.586, allocations: 0.6353 MB / 0.5954 GB, free: 14.17 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001781/0.5878, allocations: 0.9366 MB / 0.5963 GB, free: 13.23 MB / 430.1 MB Notification: Performance of SimCode: time 8.62e-07/0.5878, allocations: 0 / 0.5963 GB, free: 13.23 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1096/0.6974, allocations: 75.29 MB / 0.6698 GB, free: 2.297 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.14/12.84, allocations: 0 / 0.6698 GB, free: 2.297 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)