Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr StewartPlatform_StewartPlatform.Tests.SpindleDrive_test.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00133/0.00133, allocations: 111.5 kB / 16.41 MB, free: 6.445 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001351/0.001351, allocations: 191.7 kB / 19.36 MB, free: 3.727 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.388/1.388, allocations: 222.9 MB / 245.1 MB, free: 4.336 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/StewartPlatform 1.0.2/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/StewartPlatform 1.0.2/package.mo): time 0.1322/0.1322, allocations: 6.488 MB / 303.7 MB, free: 3.336 MB / 238.1 MB " [Timeout remaining time 180] 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.SpindleDrive_test,fileNamePrefix="StewartPlatform_StewartPlatform_Tests_SpindleDrive_test",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(StewartPlatform.Tests.SpindleDrive_test,fileNamePrefix="StewartPlatform_StewartPlatform_Tests_SpindleDrive_test",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002043/0.002043, allocations: 67.89 kB / 419.1 MB, free: 9.973 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.234/0.2361, allocations: 50.84 MB / 470 MB, free: 20.5 MB / 350.1 MB Notification: Performance of NFInst.instantiate(StewartPlatform.Tests.SpindleDrive_test): time 0.006953/0.2431, allocations: 7.223 MB / 477.2 MB, free: 15.41 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.004209/0.2474, allocations: 2.265 MB / 479.5 MB, free: 13.9 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008147/0.2482, allocations: 30.75 kB / 479.5 MB, free: 13.89 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001635/0.2499, allocations: 0.8011 MB / 480.3 MB, free: 13.52 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001902/0.2518, allocations: 0.8236 MB / 481.1 MB, free: 13.13 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006032/0.2524, allocations: 214 kB / 481.3 MB, free: 13.03 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002519/0.255, allocations: 1.879 MB / 483.2 MB, free: 12.27 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001845/0.2568, allocations: 1.155 MB / 484.4 MB, free: 11.77 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001295/0.2581, allocations: 0.6714 MB / 485 MB, free: 11.47 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001521/0.2596, allocations: 0.9571 MB / 486 MB, free: 10.91 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005247/0.2602, allocations: 129.8 kB / 486.1 MB, free: 10.91 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001389/0.2616, allocations: 0.5982 MB / 486.7 MB, free: 10.64 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009895/0.2626, allocations: 0.8524 MB / 487.6 MB, free: 10.16 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001704/0.2643, allocations: 1.085 MB / 488.7 MB, free: 9.328 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004094/0.2684, allocations: 3.501 MB / 492.2 MB, free: 6.918 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.03e-06/0.2684, allocations: 0 / 492.2 MB, free: 6.918 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.2684, allocations: 4 kB / 492.2 MB, free: 6.914 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0001461/0.2686, allocations: 1.375 kB / 492.2 MB, free: 6.914 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: 884 * Number of variables: 884 Notification: Performance of Generate backend data structure: time 0.005596/0.2742, allocations: 2.533 MB / 494.7 MB, free: 5.012 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.211e-05/0.2742, allocations: 13.31 kB / 494.7 MB, free: 5.008 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0009185/0.2752, allocations: 436.2 kB / 495.1 MB, free: 4.703 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005084/0.2803, allocations: 1.56 MB / 496.7 MB, free: 3.879 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002044/0.2823, allocations: 1.04 MB / 497.7 MB, free: 3.141 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001013/0.2824, allocations: 112.3 kB / 497.9 MB, free: 3.086 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004676/0.2829, allocations: 157.9 kB / 498 MB, free: 3.023 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007849/0.2908, allocations: 5.525 MB / 0.4917 GB, free: 13.77 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.499e-05/0.2909, allocations: 27.75 kB / 0.4918 GB, free: 13.75 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003295/0.2912, allocations: 79.88 kB / 0.4918 GB, free: 13.67 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002031/0.2933, allocations: 1.261 MB / 0.4931 GB, free: 12.41 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008441/0.3017, allocations: 4.594 MB / 0.4975 GB, free: 7.805 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02687/0.3286, allocations: 22.1 MB / 0.5191 GB, free: 0.9453 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002778/0.3314, allocations: 1.53 MB / 0.5206 GB, free: 15.27 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006997/0.3322, allocations: 439.2 kB / 0.5211 GB, free: 14.83 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003973/0.3326, allocations: 347 kB / 0.5214 GB, free: 14.44 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.234e-05/0.3326, allocations: 34.56 kB / 0.5214 GB, free: 14.39 MB / 398.1 MB Notification: Performance of pre-optimization done (n=83): time 4.379e-06/0.3326, allocations: 4 kB / 0.5214 GB, free: 14.39 MB / 398.1 MB Notification: Performance of matching and sorting (n=91): time 0.009735/0.3424, allocations: 4.381 MB / 0.5257 GB, free: 9.914 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001061/0.3425, allocations: 144.4 kB / 0.5258 GB, free: 9.742 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004304/0.3468, allocations: 2.555 MB / 0.5283 GB, free: 7.16 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 8.898e-05/0.3469, allocations: 37.69 kB / 0.5284 GB, free: 7.117 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00172/0.3487, allocations: 2.026 MB / 0.5303 GB, free: 5.07 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004332/0.3491, allocations: 401 kB / 0.5307 GB, free: 4.676 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00134/0.3505, allocations: 0.822 MB / 0.5315 GB, free: 3.844 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001362/0.3506, allocations: 305.1 kB / 0.5318 GB, free: 3.543 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001842/0.3525, allocations: 1.078 MB / 0.5329 GB, free: 2.461 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004125/0.3566, allocations: 3.794 MB / 0.5366 GB, free: 13.3 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006195/0.3628, allocations: 5.336 MB / 0.5418 GB, free: 6.602 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.236e-05/0.3629, allocations: 28 kB / 0.5418 GB, free: 6.574 MB / 414.1 MB Notification: Performance of matching and sorting (n=533) (initialization): time 0.007853/0.3708, allocations: 4.639 MB / 0.5463 GB, free: 1.934 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.414e-05/0.3709, allocations: 48 kB / 0.5464 GB, free: 1.887 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001476/0.3711, allocations: 96.09 kB / 0.5465 GB, free: 1.793 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001566/0.3712, allocations: 132 kB / 0.5466 GB, free: 1.664 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002621/0.3739, allocations: 0.9396 MB / 0.5475 GB, free: 0.7227 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001827/0.3741, allocations: 187.3 kB / 0.5477 GB, free: 0.5391 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002318/0.3764, allocations: 203.7 kB / 0.5479 GB, free: 348 kB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004095/0.3768, allocations: 260 kB / 0.5481 GB, free: 88 kB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 442 * Number of states: 0 () * Number of discrete variables: 18 (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],prismatic.boxColor[3],prismatic.boxColor[2],prismatic.boxColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (509): * Single equations (assignments): 506 * 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.002089/0.3789, allocations: 1.286 MB / 0.5494 GB, free: 14.79 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004275/0.3793, allocations: 222.5 kB / 0.5496 GB, free: 14.57 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005284/0.3799, allocations: 243.9 kB / 0.5498 GB, free: 14.33 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.221e-05/0.3799, allocations: 12 kB / 0.5499 GB, free: 14.32 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.307e-06/0.3799, allocations: 0 / 0.5499 GB, free: 14.32 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.247e-05/0.3799, allocations: 7.984 kB / 0.5499 GB, free: 14.31 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005656/0.3856, allocations: 3.112 MB / 0.5529 GB, free: 11.04 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.658e-05/0.3856, allocations: 16.16 kB / 0.5529 GB, free: 11.02 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005655/0.3862, allocations: 135.8 kB / 0.5531 GB, free: 10.89 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.452e-05/0.3862, allocations: 8 kB / 0.5531 GB, free: 10.88 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.57e-05/0.3863, allocations: 24 kB / 0.5531 GB, free: 10.86 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.575e-05/0.3863, allocations: 11.94 kB / 0.5531 GB, free: 10.85 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.713e-06/0.3863, allocations: 8 kB / 0.5531 GB, free: 10.84 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002682/0.389, allocations: 2.092 MB / 0.5551 GB, free: 8.656 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007392/0.3898, allocations: 363.5 kB / 0.5555 GB, free: 8.281 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003635/0.3901, allocations: 28 kB / 0.5555 GB, free: 8.254 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007891/0.3909, allocations: 35.95 kB / 0.5556 GB, free: 8.219 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001359/0.3911, allocations: 67.69 kB / 0.5556 GB, free: 8.152 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.554e-05/0.3912, allocations: 36 kB / 0.5557 GB, free: 8.117 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.002591/0.3938, allocations: 1.572 MB / 0.5572 GB, free: 6.531 MB / 430.1 MB Notification: Performance of sort global known variables: time 2.4e-07/0.3938, allocations: 0 / 0.5572 GB, free: 6.531 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.003078/0.3969, allocations: 0.5233 MB / 0.5577 GB, free: 6.008 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 27 * Number of states: 2 (prismatic.s,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 (73): * Single equations (assignments): 70 * 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.00328/0.4001, allocations: 2.721 MB / 0.5604 GB, free: 3.188 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.004138/0.4043, allocations: 2.519 MB / 0.5628 GB, free: 0.6875 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.197e-05/0.4043, allocations: 5.812 kB / 0.5628 GB, free: 0.6836 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006851/0.405, allocations: 484.8 kB / 0.5633 GB, free: 216 kB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001602/0.4066, allocations: 204.3 kB / 0.5635 GB, free: 12 kB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03737/0.444, allocations: 25.38 MB / 0.5883 GB, free: 3.016 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002688/0.4468, allocations: 2.046 MB / 0.5903 GB, free: 0.9375 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.1923/0.639, allocations: 1.302 MB / 0.5915 GB, free: 116.2 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001524/0.6406, allocations: 0.9518 MB / 0.5925 GB, free: 116.2 MB / 462.1 MB Notification: Performance of SimCode: time 1.112e-06/0.6406, allocations: 0 / 0.5925 GB, free: 116.2 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07104/0.7117, allocations: 32.25 MB / 0.624 GB, free: 104.6 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.79/13.5, allocations: 6.359 kB / 0.624 GB, free: 104.6 MB / 462.1 MB " [Timeout remaining time 646] (rm -f StewartPlatform_StewartPlatform.Tests.SpindleDrive_test.pipe ; mkfifo StewartPlatform_StewartPlatform.Tests.SpindleDrive_test.pipe ; head -c 1048576 < StewartPlatform_StewartPlatform.Tests.SpindleDrive_test.pipe >> ../files/StewartPlatform_StewartPlatform.Tests.SpindleDrive_test.sim & python3 -m fmpy simulate --output-file StewartPlatform_StewartPlatform.Tests.SpindleDrive_test_res.csv --start-time 0 --stop-time 10 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.02 StewartPlatform_StewartPlatform_Tests_SpindleDrive_test.fmu > StewartPlatform_StewartPlatform.Tests.SpindleDrive_test.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.877026258967817] Failed to read output from testmodel.py, exit status != 0: 13.597090902039781 13.605175129 13.33505249 Calling exit ...