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.001334/0.001334, allocations: 105.8 kB / 18.84 MB, free: 3.023 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.001527/0.001527, allocations: 190.3 kB / 22.1 MB, free: 4.223 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.357/1.357, allocations: 225.6 MB / 250.8 MB, free: 2.906 MB / 190.1 MB " [Timeout remaining time 178] 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.03096/0.03096, allocations: 6.571 MB / 312.6 MB, free: 2.547 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.001911/0.001911, allocations: 67.89 kB / 435 MB, free: 12.41 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2417/0.2436, allocations: 53.68 MB / 488.7 MB, free: 26.52 MB / 366.1 MB Notification: Performance of NFInst.instantiate(StewartPlatform.Tests.SpindleDrive_test): time 0.007303/0.2509, allocations: 7.264 MB / 495.9 MB, free: 21.45 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.004453/0.2553, allocations: 2.283 MB / 498.2 MB, free: 19.93 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009522/0.2563, allocations: 36.28 kB / 498.3 MB, free: 19.93 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001777/0.2581, allocations: 0.8117 MB / 499.1 MB, free: 19.57 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002096/0.2602, allocations: 0.856 MB / 499.9 MB, free: 19.15 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005904/0.2608, allocations: 216.9 kB / 0.4884 GB, free: 19.05 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.002392/0.2632, allocations: 1.883 MB / 0.4903 GB, free: 18.29 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001334/0.2645, allocations: 0.9472 MB / 0.4912 GB, free: 17.86 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001124/0.2656, allocations: 0.6872 MB / 0.4919 GB, free: 17.57 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001398/0.267, allocations: 1.045 MB / 0.4929 GB, free: 17.08 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003158/0.2673, allocations: 129.8 kB / 0.493 GB, free: 17.08 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001015/0.2683, allocations: 0.5064 MB / 0.4935 GB, free: 16.86 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007105/0.269, allocations: 0.8764 MB / 0.4944 GB, free: 16.37 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008524/0.2699, allocations: 1.085 MB / 0.4954 GB, free: 15.53 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003411/0.2733, allocations: 3.483 MB / 0.4988 GB, free: 13.13 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.101e-06/0.2733, allocations: 0.9062 kB / 0.4988 GB, free: 13.13 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.933e-06/0.2733, allocations: 0 / 0.4988 GB, free: 13.13 MB / 366.1 MB Notification: Performance of Transformations before backend: time 7.766e-05/0.2734, allocations: 0 / 0.4988 GB, free: 13.13 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: 884 * Number of variables: 884 Notification: Performance of Generate backend data structure: time 0.00401/0.2774, allocations: 2.456 MB / 0.5012 GB, free: 11.32 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.413e-05/0.2775, allocations: 9.812 kB / 0.5012 GB, free: 11.32 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004806/0.2779, allocations: 432.3 kB / 0.5016 GB, free: 11.02 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004418/0.2823, allocations: 1.561 MB / 0.5032 GB, free: 10.2 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001939/0.2843, allocations: 0.9805 MB / 0.5041 GB, free: 9.531 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.777e-05/0.2844, allocations: 112.8 kB / 0.5042 GB, free: 9.477 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002801/0.2846, allocations: 153.3 kB / 0.5044 GB, free: 9.418 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006497/0.2911, allocations: 5.525 MB / 0.5098 GB, free: 5.16 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.949e-05/0.2912, allocations: 27.81 kB / 0.5098 GB, free: 5.133 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001669/0.2914, allocations: 79.88 kB / 0.5099 GB, free: 5.055 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001313/0.2927, allocations: 1.264 MB / 0.5111 GB, free: 3.781 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006176/0.2988, allocations: 4.602 MB / 0.5156 GB, free: 15.18 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0242/0.323, allocations: 21.94 MB / 0.537 GB, free: 8.477 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002339/0.3254, allocations: 1.018 MB / 0.538 GB, free: 7.422 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006133/0.326, allocations: 407.2 kB / 0.5384 GB, free: 7.012 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000267/0.3263, allocations: 116.3 kB / 0.5385 GB, free: 6.898 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.777e-05/0.3263, allocations: 50.5 kB / 0.5386 GB, free: 6.84 MB / 398.1 MB Notification: Performance of pre-optimization done (n=83): time 3.347e-06/0.3263, allocations: 0 / 0.5386 GB, free: 6.84 MB / 398.1 MB Notification: Performance of matching and sorting (n=91): time 0.008317/0.3346, allocations: 4.223 MB / 0.5427 GB, free: 2.555 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.394e-05/0.3347, allocations: 136.5 kB / 0.5428 GB, free: 2.391 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003433/0.3381, allocations: 2.559 MB / 0.5453 GB, free: 15.8 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 8.508e-05/0.3382, allocations: 33.7 kB / 0.5453 GB, free: 15.77 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00146/0.3397, allocations: 2.03 MB / 0.5473 GB, free: 13.71 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003868/0.3401, allocations: 401.1 kB / 0.5477 GB, free: 13.32 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009858/0.3411, allocations: 0.822 MB / 0.5485 GB, free: 12.49 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001213/0.3412, allocations: 301.1 kB / 0.5488 GB, free: 12.19 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001608/0.3428, allocations: 1.078 MB / 0.5499 GB, free: 11.11 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003704/0.3465, allocations: 3.79 MB / 0.5536 GB, free: 5.949 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00616/0.3527, allocations: 5.345 MB / 0.5588 GB, free: 15.25 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.702e-05/0.3527, allocations: 28 kB / 0.5588 GB, free: 15.22 MB / 430.1 MB Notification: Performance of matching and sorting (n=533) (initialization): time 0.007674/0.3604, allocations: 4.642 MB / 0.5633 GB, free: 10.58 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.936e-05/0.3605, allocations: 48 kB / 0.5634 GB, free: 10.53 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001555/0.3606, allocations: 96 kB / 0.5635 GB, free: 10.44 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001501/0.3608, allocations: 124 kB / 0.5636 GB, free: 10.32 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00263/0.3634, allocations: 0.9435 MB / 0.5645 GB, free: 9.371 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001874/0.3636, allocations: 195.2 kB / 0.5647 GB, free: 9.18 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002347/0.366, allocations: 199.7 kB / 0.5649 GB, free: 8.984 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000438/0.3664, allocations: 256 kB / 0.5651 GB, free: 8.734 MB / 430.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.002149/0.3685, allocations: 1.282 MB / 0.5664 GB, free: 7.441 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004479/0.369, allocations: 218.5 kB / 0.5666 GB, free: 7.227 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005535/0.3695, allocations: 251.9 kB / 0.5668 GB, free: 6.977 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.342e-05/0.3696, allocations: 12 kB / 0.5668 GB, free: 6.965 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.428e-06/0.3696, allocations: 3.938 kB / 0.5668 GB, free: 6.961 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.374e-05/0.3696, allocations: 11.97 kB / 0.5669 GB, free: 6.949 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005876/0.3755, allocations: 3.074 MB / 0.5699 GB, free: 3.727 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.375e-05/0.3755, allocations: 4 kB / 0.5699 GB, free: 3.723 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005561/0.376, allocations: 147.7 kB / 0.57 GB, free: 3.578 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.511e-05/0.376, allocations: 8 kB / 0.57 GB, free: 3.57 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.237e-05/0.3761, allocations: 23.98 kB / 0.57 GB, free: 3.547 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.41e-05/0.3761, allocations: 15.98 kB / 0.5701 GB, free: 3.531 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.073e-05/0.3761, allocations: 11.94 kB / 0.5701 GB, free: 3.52 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002708/0.3788, allocations: 2.093 MB / 0.5721 GB, free: 1.336 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008521/0.3797, allocations: 290.3 kB / 0.5724 GB, free: 1.051 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003882/0.3801, allocations: 20.28 kB / 0.5724 GB, free: 1.031 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008126/0.3809, allocations: 31.97 kB / 0.5724 GB, free: 1 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001349/0.381, allocations: 67.78 kB / 0.5725 GB, free: 0.9336 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.88e-05/0.3811, allocations: 35.94 kB / 0.5725 GB, free: 0.8984 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.002742/0.3838, allocations: 1.576 MB / 0.5741 GB, free: 15.31 MB / 446.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3838, allocations: 0 / 0.5741 GB, free: 15.31 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.003204/0.387, allocations: 0.5234 MB / 0.5746 GB, free: 14.79 MB / 446.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.003288/0.3903, allocations: 2.711 MB / 0.5772 GB, free: 11.97 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.004138/0.3945, allocations: 2.429 MB / 0.5796 GB, free: 9.562 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 6.552e-06/0.3945, allocations: 0.75 kB / 0.5796 GB, free: 9.562 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007048/0.3952, allocations: 457.1 kB / 0.58 GB, free: 9.117 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001648/0.3968, allocations: 203.6 kB / 0.5802 GB, free: 8.922 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03881/0.4356, allocations: 25.39 MB / 0.605 GB, free: 11.92 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002771/0.4384, allocations: 2.035 MB / 0.607 GB, free: 9.848 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.002876/0.4413, allocations: 1.312 MB / 0.6083 GB, free: 8.527 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00147/0.4428, allocations: 0.9445 MB / 0.6092 GB, free: 7.582 MB / 478.1 MB Notification: Performance of SimCode: time 1.282e-06/0.4428, allocations: 0 / 0.6092 GB, free: 7.582 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2731/0.7159, allocations: 35.72 MB / 0.6441 GB, free: 116 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.91/13.63, allocations: 6.062 kB / 0.6441 GB, free: 116 MB / 478.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: 16.01408447200083] Failed to read output from testmodel.py, exit status != 0: 13.718384358013282 13.728683444 13.453017084 Calling exit ...