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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008853/0.0008853, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0009131/0.0009131, allocations: 169.9 kB / 22.46 MB, free: 2.105 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8642/0.8642, allocations: 177.1 MB / 202.8 MB, free: 5.738 MB / 186.7 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.019/0.019, allocations: 5.057 MB / 264.3 MB, free: 8.297 MB / 250.7 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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 2.434e-06/2.434e-06, allocations: 0 / 389.2 MB, free: 7.387 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.756e-05/2e-05, allocations: 2.281 kB / 389.2 MB, free: 7.383 MB / 314.7 MB Notification: Performance of NFInst.instantiate(StewartPlatform.Tests.SpindleDrive_test): time 0.007443/0.007463, allocations: 6.5 MB / 395.7 MB, free: 0.8516 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.003656/0.01112, allocations: 2.208 MB / 397.9 MB, free: 14.64 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004895/0.01161, allocations: 31.88 kB / 397.9 MB, free: 14.61 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001521/0.01313, allocations: 0.8403 MB / 398.7 MB, free: 13.76 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001106/0.01424, allocations: 0.8589 MB / 399.6 MB, free: 12.9 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003634/0.0146, allocations: 235.4 kB / 399.8 MB, free: 12.67 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.001279/0.01588, allocations: 1.899 MB / 401.7 MB, free: 10.76 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008177/0.01669, allocations: 1.091 MB / 402.8 MB, free: 9.66 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007601/0.01745, allocations: 1.001 MB / 403.8 MB, free: 8.656 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008665/0.01832, allocations: 0.9545 MB / 404.8 MB, free: 7.699 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001437/0.01847, allocations: 128 kB / 404.9 MB, free: 7.574 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005881/0.01905, allocations: 0.5499 MB / 405.5 MB, free: 7.023 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005095/0.01956, allocations: 0.8956 MB / 406.3 MB, free: 6.125 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000404/0.01997, allocations: 0.5526 MB / 406.9 MB, free: 5.57 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002194/0.02216, allocations: 3.398 MB / 410.3 MB, free: 2.16 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.02216, allocations: 0 / 410.3 MB, free: 2.16 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.262e-06/0.02217, allocations: 0 / 410.3 MB, free: 2.16 MB / 330.7 MB Notification: Performance of Transformations before backend: time 2.696e-05/0.02219, allocations: 3.938 kB / 410.3 MB, free: 2.156 MB / 330.7 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.1733/0.1955, allocations: 2.404 MB / 412.7 MB, free: 32.93 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.555e-05/0.1956, allocations: 10.33 kB / 412.7 MB, free: 32.93 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008381/0.1964, allocations: 428 kB / 413.1 MB, free: 32.74 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003806/0.2002, allocations: 1.611 MB / 414.7 MB, free: 32.52 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00202/0.2022, allocations: 0.9834 MB / 415.7 MB, free: 32.1 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.74e-05/0.2023, allocations: 112 kB / 415.8 MB, free: 32.07 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002731/0.2026, allocations: 150.4 kB / 416 MB, free: 32.05 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007309/0.2099, allocations: 5.53 MB / 421.5 MB, free: 29.36 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.182e-05/0.21, allocations: 24.19 kB / 421.5 MB, free: 29.35 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001637/0.2102, allocations: 81.53 kB / 421.6 MB, free: 29.32 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001758/0.2119, allocations: 1.266 MB / 422.9 MB, free: 29.11 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007909/0.2198, allocations: 4.603 MB / 427.5 MB, free: 27.57 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0159/0.2357, allocations: 21.24 MB / 448.7 MB, free: 6.742 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001576/0.2373, allocations: 1.05 MB / 449.8 MB, free: 5.66 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003902/0.2377, allocations: 411.5 kB / 450.2 MB, free: 5.25 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001798/0.2379, allocations: 107.1 kB / 450.3 MB, free: 5.148 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.076e-05/0.2379, allocations: 43.11 kB / 450.3 MB, free: 5.098 MB / 330.7 MB Notification: Performance of pre-optimization done (n=83): time 4.348e-06/0.2379, allocations: 0 / 450.3 MB, free: 5.098 MB / 330.7 MB Notification: Performance of matching and sorting (n=91): time 0.00524/0.2431, allocations: 4.342 MB / 454.7 MB, free: 0.7305 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.04e-05/0.2432, allocations: 140.5 kB / 454.8 MB, free: 0.5625 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002607/0.2458, allocations: 2.713 MB / 457.5 MB, free: 13.82 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 7.927e-05/0.2459, allocations: 37.7 kB / 457.6 MB, free: 13.78 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001015/0.2469, allocations: 2.003 MB / 459.6 MB, free: 11.75 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003235/0.2472, allocations: 393.1 kB / 459.9 MB, free: 11.37 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00078/0.248, allocations: 0.8064 MB / 460.8 MB, free: 10.55 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 9.411e-05/0.2481, allocations: 314.8 kB / 461.1 MB, free: 10.24 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001212/0.2493, allocations: 1.07 MB / 462.1 MB, free: 9.168 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002638/0.2519, allocations: 3.793 MB / 465.9 MB, free: 4.008 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004539/0.2565, allocations: 5.341 MB / 471.3 MB, free: 13.32 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.256e-05/0.2566, allocations: 28 kB / 471.3 MB, free: 13.29 MB / 362.7 MB Notification: Performance of matching and sorting (n=533) (initialization): time 0.006016/0.2626, allocations: 4.622 MB / 475.9 MB, free: 8.664 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.586e-05/0.2626, allocations: 45 kB / 476 MB, free: 8.621 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.503e-05/0.2627, allocations: 96 kB / 476.1 MB, free: 8.527 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.776e-05/0.2628, allocations: 135.9 kB / 476.2 MB, free: 8.395 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001696/0.2645, allocations: 0.9396 MB / 477.1 MB, free: 7.453 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001428/0.2646, allocations: 191.2 kB / 477.3 MB, free: 7.266 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001787/0.2664, allocations: 211.6 kB / 477.5 MB, free: 7.059 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000307/0.2667, allocations: 261.2 kB / 477.8 MB, free: 6.805 MB / 362.7 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.001597/0.2683, allocations: 1.278 MB / 479 MB, free: 5.512 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003239/0.2687, allocations: 222.5 kB / 479.3 MB, free: 5.293 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002849/0.2689, allocations: 251.8 kB / 479.5 MB, free: 5.047 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.059e-05/0.269, allocations: 12 kB / 479.5 MB, free: 5.035 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.989e-06/0.269, allocations: 0 / 479.5 MB, free: 5.035 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.787e-06/0.269, allocations: 7.922 kB / 479.5 MB, free: 5.027 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003607/0.2726, allocations: 2.885 MB / 482.4 MB, free: 2.02 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.465e-05/0.2726, allocations: 12.42 kB / 482.4 MB, free: 2.008 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000358/0.273, allocations: 143.7 kB / 482.6 MB, free: 1.867 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.09e-05/0.273, allocations: 8.719 kB / 482.6 MB, free: 1.859 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.61e-05/0.273, allocations: 20 kB / 482.6 MB, free: 1.84 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.478e-06/0.273, allocations: 12.88 kB / 482.6 MB, free: 1.828 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.111e-06/0.273, allocations: 11.94 kB / 482.6 MB, free: 1.816 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001942/0.275, allocations: 2.073 MB / 484.7 MB, free: 15.65 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005599/0.2755, allocations: 290.3 kB / 485 MB, free: 15.36 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001206/0.2756, allocations: 31.97 kB / 485 MB, free: 15.33 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003755/0.276, allocations: 32.33 kB / 485 MB, free: 15.3 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.776e-05/0.2761, allocations: 63.78 kB / 485.1 MB, free: 15.24 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.783e-05/0.2762, allocations: 37.17 kB / 485.1 MB, free: 15.2 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001757/0.2779, allocations: 1.572 MB / 486.7 MB, free: 13.62 MB / 378.7 MB Notification: Performance of sort global known variables: time 2.2e-07/0.2779, allocations: 0 / 486.7 MB, free: 13.62 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.002161/0.2801, allocations: 0.5155 MB / 487.2 MB, free: 13.1 MB / 378.7 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.002261/0.2823, allocations: 2.701 MB / 489.9 MB, free: 10.3 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.003275/0.2856, allocations: 2.425 MB / 492.4 MB, free: 7.902 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 8.756e-06/0.2856, allocations: 4.312 kB / 492.4 MB, free: 7.898 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005061/0.2861, allocations: 448.2 kB / 492.8 MB, free: 7.461 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001191/0.2873, allocations: 204 kB / 493 MB, free: 7.266 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02803/0.3154, allocations: 25.13 MB / 0.506 GB, free: 10.52 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001353/0.3167, allocations: 1.459 MB / 0.5074 GB, free: 9.023 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.001821/0.3185, allocations: 1.308 MB / 0.5087 GB, free: 7.707 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008732/0.3194, allocations: 0.9494 MB / 0.5096 GB, free: 6.758 MB / 410.7 MB Notification: Performance of SimCode: time 1.944e-06/0.3194, allocations: 0 / 0.5096 GB, free: 6.758 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05509/0.3745, allocations: 31.84 MB / 0.5407 GB, free: 7.355 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.517/8.891, allocations: 12.05 kB / 0.5407 GB, free: 7.344 MB / 442.7 MB " [Timeout remaining time 651] (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: 10.66888634674251] Failed to read output from testmodel.py, exit status != 0: 8.991584389470518 8.998828694 8.975039191 Calling exit ...