Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr StewartPlatform_StewartPlatform.Tests.ElectricCylinder_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.ElectricCylinder_test,fileNamePrefix="StewartPlatform_StewartPlatform_Tests_ElectricCylinder_test",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(StewartPlatform.Tests.ElectricCylinder_test,fileNamePrefix="StewartPlatform_StewartPlatform_Tests_ElectricCylinder_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.001251/0.001251, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001282/0.001282, allocations: 194.1 kB / 16.53 MB, free: 6.664 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.252/1.252, allocations: 222.9 MB / 240.2 MB, free: 4.391 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/StewartPlatform 1.0.2/package.mo): time 0.1188/0.1188, allocations: 6.487 MB / 296.9 MB, free: 2.734 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001184/0.001184, allocations: 63.91 kB / 358.9 MB, free: 152 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08259/0.08378, allocations: 50.84 MB / 409.7 MB, free: 13.26 MB / 350.1 MB Notification: Performance of NFInst.instantiate(StewartPlatform.Tests.ElectricCylinder_test): time 0.01122/0.09504, allocations: 11.64 MB / 421.3 MB, free: 1.559 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.1541/0.2492, allocations: 4.368 MB / 425.7 MB, free: 35.6 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000906/0.2501, allocations: 74.44 kB / 425.8 MB, free: 35.6 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003205/0.2534, allocations: 2.434 MB / 428.2 MB, free: 35.55 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002507/0.2559, allocations: 1.941 MB / 430.2 MB, free: 35.34 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009037/0.2568, allocations: 0.7665 MB / 430.9 MB, free: 35.29 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003901/0.2607, allocations: 5.548 MB / 436.5 MB, free: 33.81 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002324/0.2631, allocations: 3.527 MB / 440 MB, free: 32.38 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001237/0.2643, allocations: 1.667 MB / 441.7 MB, free: 31.72 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001623/0.266, allocations: 2.249 MB / 443.9 MB, free: 30.94 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004381/0.2664, allocations: 401 kB / 444.3 MB, free: 30.94 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001369/0.2678, allocations: 1.16 MB / 445.5 MB, free: 30.77 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009938/0.2688, allocations: 1.954 MB / 447.4 MB, free: 30.03 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001337/0.2701, allocations: 2.416 MB / 449.8 MB, free: 28.33 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004134/0.2743, allocations: 7.536 MB / 457.4 MB, free: 25.74 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.2743, allocations: 0 / 457.4 MB, free: 25.74 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.793e-06/0.2743, allocations: 2.969 kB / 457.4 MB, free: 25.74 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.203e-05/0.2744, allocations: 3.938 kB / 457.4 MB, free: 25.74 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: 1308 * Number of variables: 1308 Notification: Performance of Generate backend data structure: time 0.008459/0.2828, allocations: 4.977 MB / 462.4 MB, free: 23.06 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.998e-05/0.2829, allocations: 9.625 kB / 462.4 MB, free: 23.06 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006902/0.2836, allocations: 0.6327 MB / 463 MB, free: 22.77 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.09749/0.3811, allocations: 9.237 MB / 472.2 MB, free: 21.1 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008019/0.3891, allocations: 4.212 MB / 476.4 MB, free: 18.45 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001395/0.3893, allocations: 218.5 kB / 476.7 MB, free: 18.37 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006277/0.3899, allocations: 305.7 kB / 477 MB, free: 18.29 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00938/0.3993, allocations: 8.376 MB / 485.3 MB, free: 11.97 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.012e-05/0.3995, allocations: 47.5 kB / 485.4 MB, free: 11.92 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002937/0.3998, allocations: 141.1 kB / 485.5 MB, free: 11.82 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001658/0.4014, allocations: 1.554 MB / 487.1 MB, free: 10.27 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008328/0.4098, allocations: 6.637 MB / 493.7 MB, free: 3.625 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03363/0.4434, allocations: 32.81 MB / 0.5142 GB, free: 1.902 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003984/0.4474, allocations: 2.153 MB / 0.5163 GB, free: 15.61 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009265/0.4484, allocations: 0.6628 MB / 0.5169 GB, free: 14.93 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004711/0.4531, allocations: 3.075 MB / 0.5199 GB, free: 11.73 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.799e-05/0.4532, allocations: 51.12 kB / 0.52 GB, free: 11.67 MB / 398.1 MB Notification: Performance of pre-optimization done (n=114): time 3.226e-06/0.4532, allocations: 0 / 0.52 GB, free: 11.67 MB / 398.1 MB Notification: Performance of matching and sorting (n=134): time 0.01657/0.4698, allocations: 7.608 MB / 0.5274 GB, free: 3.949 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001313/0.4699, allocations: 277.6 kB / 0.5277 GB, free: 3.613 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0062/0.4761, allocations: 4.124 MB / 0.5317 GB, free: 15.46 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 9.766e-05/0.4762, allocations: 41.7 kB / 0.5317 GB, free: 15.42 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00203/0.4783, allocations: 2.971 MB / 0.5347 GB, free: 12.45 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004605/0.4787, allocations: 0.5294 MB / 0.5352 GB, free: 11.92 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001314/0.4801, allocations: 1.039 MB / 0.5362 GB, free: 10.87 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001182/0.4802, allocations: 305.1 kB / 0.5365 GB, free: 10.57 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002073/0.4823, allocations: 1.373 MB / 0.5378 GB, free: 9.191 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003911/0.4862, allocations: 4.752 MB / 0.5425 GB, free: 2.73 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006545/0.4927, allocations: 6.672 MB / 0.549 GB, free: 10.39 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.677e-05/0.4929, allocations: 36 kB / 0.549 GB, free: 10.36 MB / 430.1 MB Notification: Performance of matching and sorting (n=676) (initialization): time 0.008622/0.5015, allocations: 5.891 MB / 0.5548 GB, free: 4.465 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.628e-05/0.5016, allocations: 64.02 kB / 0.5548 GB, free: 4.402 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.404e-05/0.5017, allocations: 120.2 kB / 0.5549 GB, free: 4.285 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000136/0.5018, allocations: 156 kB / 0.5551 GB, free: 4.133 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003042/0.5049, allocations: 1.224 MB / 0.5563 GB, free: 2.906 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001534/0.505, allocations: 231.1 kB / 0.5565 GB, free: 2.68 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002882/0.5079, allocations: 254.6 kB / 0.5567 GB, free: 2.434 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003281/0.5083, allocations: 328 kB / 0.5571 GB, free: 2.113 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 542 * Number of states: 0 () * Number of discrete variables: 30 (pointMass.sphereColor[3],pointMass.sphereColor[2],pointMass.sphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],electricCylinder.bodyCylinder.color[3],electricCylinder.bodyCylinder.color[2],electricCylinder.bodyCylinder.color[1],electricCylinder.bodyCylinder.body.sphereColor[3],electricCylinder.bodyCylinder.body.sphereColor[2],electricCylinder.bodyCylinder.body.sphereColor[1],electricCylinder.bodyBox.color[3],electricCylinder.bodyBox.color[2],electricCylinder.bodyBox.color[1],electricCylinder.bodyBox.body.sphereColor[3],electricCylinder.bodyBox.body.sphereColor[2],electricCylinder.bodyBox.body.sphereColor[1],electricCylinder.prismatic.boxColor[3],electricCylinder.prismatic.boxColor[2],electricCylinder.prismatic.boxColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (652): * Single equations (assignments): 649 * Array equations: 3 * 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.002515/0.5108, allocations: 2.03 MB / 0.559 GB, free: 72 kB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000547/0.5113, allocations: 346.7 kB / 0.5594 GB, free: 15.73 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005707/0.5119, allocations: 398.2 kB / 0.5597 GB, free: 15.33 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.163e-05/0.5119, allocations: 19.94 kB / 0.5598 GB, free: 15.31 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.807e-06/0.512, allocations: 0 / 0.5598 GB, free: 15.31 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.168e-05/0.512, allocations: 7.969 kB / 0.5598 GB, free: 15.3 MB / 446.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007079/0.5191, allocations: 5.314 MB / 0.565 GB, free: 9.758 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.418e-05/0.5191, allocations: 12 kB / 0.565 GB, free: 9.746 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007807/0.5199, allocations: 231.6 kB / 0.5652 GB, free: 9.52 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.826e-05/0.5199, allocations: 23.98 kB / 0.5652 GB, free: 9.496 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.481e-05/0.52, allocations: 32 kB / 0.5652 GB, free: 9.465 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.823e-05/0.52, allocations: 31.86 kB / 0.5653 GB, free: 9.434 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.097e-05/0.52, allocations: 16.38 kB / 0.5653 GB, free: 9.418 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003113/0.5231, allocations: 2.895 MB / 0.5681 GB, free: 6.34 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009041/0.524, allocations: 0.5199 MB / 0.5686 GB, free: 5.797 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003049/0.5244, allocations: 42.56 kB / 0.5687 GB, free: 5.758 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001024/0.5254, allocations: 55.97 kB / 0.5687 GB, free: 5.703 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001579/0.5256, allocations: 115.6 kB / 0.5688 GB, free: 5.59 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.498e-05/0.5256, allocations: 52 kB / 0.5689 GB, free: 5.539 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.003389/0.529, allocations: 2.634 MB / 0.5715 GB, free: 2.895 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.529, allocations: 0 / 0.5715 GB, free: 2.895 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.00336/0.5324, allocations: 0.8099 MB / 0.5722 GB, free: 2.086 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 56 * Number of states: 2 (electricCylinder.prismatic.s,electricCylinder.prismatic.v) * 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 (118): * Single equations (assignments): 115 * Array equations: 3 * 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.1535/0.6859, allocations: 3.546 MB / 0.5757 GB, free: 122.8 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.004373/0.6903, allocations: 3.354 MB / 0.579 GB, free: 122.7 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.196e-05/0.6904, allocations: 2.906 kB / 0.579 GB, free: 122.7 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006785/0.6911, allocations: 0.6632 MB / 0.5796 GB, free: 122.7 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002829/0.6939, allocations: 0.5466 MB / 0.5802 GB, free: 122.6 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03755/0.7315, allocations: 44.44 MB / 0.6236 GB, free: 88.44 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003057/0.7345, allocations: 3.107 MB / 0.6266 GB, free: 87.14 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.004074/0.7386, allocations: 1.639 MB / 0.6282 GB, free: 87 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001714/0.7404, allocations: 1.76 MB / 0.6299 GB, free: 85.57 MB / 446.1 MB Notification: Performance of SimCode: time 9.22e-07/0.7404, allocations: 0 / 0.6299 GB, free: 85.57 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08288/0.8233, allocations: 64.72 MB / 0.6931 GB, free: 32.89 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.988/8.811, allocations: 6.594 kB / 0.6931 GB, free: 32.89 MB / 446.1 MB (rm -f StewartPlatform_StewartPlatform.Tests.ElectricCylinder_test.pipe ; mkfifo StewartPlatform_StewartPlatform.Tests.ElectricCylinder_test.pipe ; head -c 1048576 < StewartPlatform_StewartPlatform.Tests.ElectricCylinder_test.pipe >> ../files/StewartPlatform_StewartPlatform.Tests.ElectricCylinder_test.sim & python3 -m fmpy simulate --output-file StewartPlatform_StewartPlatform.Tests.ElectricCylinder_test_res.csv --start-time 0 --stop-time 10 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.002 StewartPlatform_StewartPlatform_Tests_ElectricCylinder_test.fmu > StewartPlatform_StewartPlatform.Tests.ElectricCylinder_test.pipe 2>&1)