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.001485/0.001485, allocations: 99.64 kB / 18.95 MB, free: 2.668 MB / 14.72 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.001652/0.001652, allocations: 216 kB / 22.25 MB, free: 5.262 MB / 14.72 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 1.315/1.315, allocations: 230.6 MB / 256 MB, free: 7.789 MB / 206.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.03217/0.03217, allocations: 6.582 MB / 319 MB, free: 12.51 MB / 254.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.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: StewartPlatform requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001959/0.001959, allocations: 75.83 kB / 443.8 MB, free: 5.113 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09165/0.09361, allocations: 54.85 MB / 498.7 MB, free: 14.17 MB / 366.1 MB Notification: Performance of NFInst.instantiate(StewartPlatform.Tests.SpindleDrive_test): time 0.008016/0.1016, allocations: 6.483 MB / 0.4933 GB, free: 7.656 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.004311/0.1059, allocations: 2.213 MB / 0.4955 GB, free: 5.438 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005347/0.1065, allocations: 39.88 kB / 0.4955 GB, free: 5.398 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001758/0.1082, allocations: 0.7976 MB / 0.4963 GB, free: 4.598 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001817/0.11, allocations: 0.8362 MB / 0.4971 GB, free: 3.758 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005484/0.1106, allocations: 223.5 kB / 0.4973 GB, free: 3.539 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.002063/0.1127, allocations: 1.847 MB / 0.4991 GB, free: 1.688 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001205/0.1139, allocations: 1.083 MB / 0.5002 GB, free: 0.5898 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008124/0.1147, allocations: 0.6849 MB / 0.5009 GB, free: 15.9 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001192/0.1159, allocations: 1 MB / 0.5018 GB, free: 14.9 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002339/0.1161, allocations: 128 kB / 0.502 GB, free: 14.77 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008766/0.117, allocations: 0.507 MB / 0.5024 GB, free: 14.27 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007081/0.1177, allocations: 0.8644 MB / 0.5033 GB, free: 13.4 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006908/0.1184, allocations: 0.7564 MB / 0.504 GB, free: 12.64 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0033/0.1217, allocations: 3.477 MB / 0.5074 GB, free: 9.145 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.652e-06/0.1217, allocations: 4 kB / 0.5074 GB, free: 9.141 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.355e-06/0.1217, allocations: 0 / 0.5074 GB, free: 9.141 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.741e-05/0.1217, allocations: 4 kB / 0.5074 GB, free: 9.137 MB / 382.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.003579/0.1253, allocations: 2.432 MB / 0.5098 GB, free: 6.66 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.283e-05/0.1254, allocations: 12.03 kB / 0.5098 GB, free: 6.648 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000432/0.1258, allocations: 420.7 kB / 0.5102 GB, free: 6.227 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004856/0.1306, allocations: 1.579 MB / 0.5118 GB, free: 4.645 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002058/0.1327, allocations: 0.9922 MB / 0.5127 GB, free: 3.621 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.143e-05/0.1328, allocations: 118.9 kB / 0.5128 GB, free: 3.504 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000288/0.1331, allocations: 151.8 kB / 0.513 GB, free: 3.355 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1966/0.3297, allocations: 5.52 MB / 0.5184 GB, free: 27.09 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.377e-05/0.3297, allocations: 33.14 kB / 0.5184 GB, free: 27.08 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001652/0.3299, allocations: 76 kB / 0.5185 GB, free: 27.08 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001658/0.3316, allocations: 1.262 MB / 0.5197 GB, free: 27.06 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007056/0.3386, allocations: 4.588 MB / 0.5242 GB, free: 26.88 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01787/0.3565, allocations: 21.24 MB / 0.5449 GB, free: 10.59 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002066/0.3586, allocations: 1.009 MB / 0.5459 GB, free: 10.26 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005011/0.3591, allocations: 416.6 kB / 0.5463 GB, free: 10.11 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002291/0.3593, allocations: 102 kB / 0.5464 GB, free: 10.1 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.377e-05/0.3593, allocations: 48.47 kB / 0.5465 GB, free: 10.05 MB / 382.1 MB Notification: Performance of pre-optimization done (n=83): time 3.616e-06/0.3593, allocations: 4.109 kB / 0.5465 GB, free: 10.05 MB / 382.1 MB Notification: Performance of matching and sorting (n=91): time 0.00683/0.3661, allocations: 4.221 MB / 0.5506 GB, free: 7.922 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.232e-05/0.3662, allocations: 140.3 kB / 0.5507 GB, free: 7.762 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002595/0.3688, allocations: 2.715 MB / 0.5534 GB, free: 6.418 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.625e-05/0.3688, allocations: 40.44 kB / 0.5534 GB, free: 6.375 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007/0.3695, allocations: 2.015 MB / 0.5554 GB, free: 4.605 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001894/0.3697, allocations: 402 kB / 0.5558 GB, free: 4.281 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006462/0.3704, allocations: 0.8276 MB / 0.5566 GB, free: 3.801 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 3.833e-05/0.3704, allocations: 303.7 kB / 0.5569 GB, free: 3.504 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00111/0.3715, allocations: 1.078 MB / 0.5579 GB, free: 3.008 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002617/0.3741, allocations: 3.795 MB / 0.5616 GB, free: 13.98 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005747/0.3799, allocations: 5.337 MB / 0.5668 GB, free: 7.316 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.99e-05/0.3799, allocations: 28 kB / 0.5669 GB, free: 7.289 MB / 398.1 MB Notification: Performance of matching and sorting (n=533) (initialization): time 0.006738/0.3867, allocations: 4.627 MB / 0.5714 GB, free: 2.66 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.29e-05/0.3867, allocations: 54.03 kB / 0.5714 GB, free: 2.609 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.282e-05/0.3868, allocations: 96 kB / 0.5715 GB, free: 2.516 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001219/0.3869, allocations: 128 kB / 0.5716 GB, free: 2.391 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002375/0.3893, allocations: 0.9396 MB / 0.5726 GB, free: 1.449 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001519/0.3895, allocations: 191.2 kB / 0.5727 GB, free: 1.262 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001995/0.3915, allocations: 203.7 kB / 0.5729 GB, free: 1.062 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002878/0.3917, allocations: 261.5 kB / 0.5732 GB, free: 0.8086 MB / 398.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.001628/0.3934, allocations: 1.275 MB / 0.5744 GB, free: 15.52 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003368/0.3937, allocations: 225.3 kB / 0.5746 GB, free: 15.3 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003589/0.3941, allocations: 247.8 kB / 0.5749 GB, free: 15.06 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.958e-05/0.3941, allocations: 12 kB / 0.5749 GB, free: 15.05 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.325e-05/0.3941, allocations: 0 / 0.5749 GB, free: 15.05 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.398e-06/0.3941, allocations: 7.984 kB / 0.5749 GB, free: 15.04 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004777/0.3989, allocations: 2.863 MB / 0.5777 GB, free: 12.07 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.268e-05/0.3989, allocations: 12.7 kB / 0.5777 GB, free: 12.06 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005238/0.3994, allocations: 135.8 kB / 0.5778 GB, free: 11.93 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.083e-05/0.3994, allocations: 15.94 kB / 0.5779 GB, free: 11.91 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.718e-05/0.3995, allocations: 20 kB / 0.5779 GB, free: 11.89 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.174e-05/0.3995, allocations: 16.81 kB / 0.5779 GB, free: 11.88 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.076e-05/0.3995, allocations: 15.88 kB / 0.5779 GB, free: 11.86 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002417/0.4019, allocations: 2.091 MB / 0.58 GB, free: 9.68 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006394/0.4026, allocations: 291.2 kB / 0.5802 GB, free: 9.395 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001818/0.4027, allocations: 23.98 kB / 0.5803 GB, free: 9.371 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006102/0.4034, allocations: 31.97 kB / 0.5803 GB, free: 9.34 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001189/0.4035, allocations: 69.69 kB / 0.5803 GB, free: 9.273 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.615e-05/0.4035, allocations: 38.55 kB / 0.5804 GB, free: 9.238 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.001981/0.4055, allocations: 1.568 MB / 0.5819 GB, free: 7.656 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4055, allocations: 4 kB / 0.5819 GB, free: 7.652 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.002504/0.408, allocations: 0.5077 MB / 0.5824 GB, free: 7.145 MB / 414.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.002883/0.4109, allocations: 2.712 MB / 0.5851 GB, free: 4.336 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.003664/0.4146, allocations: 2.443 MB / 0.5875 GB, free: 1.918 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 7.694e-06/0.4146, allocations: 4 kB / 0.5875 GB, free: 1.914 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006382/0.4152, allocations: 450 kB / 0.5879 GB, free: 1.477 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001246/0.4165, allocations: 203.9 kB / 0.5881 GB, free: 1.281 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03087/0.4473, allocations: 25.37 MB / 0.6128 GB, free: 4.324 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001797/0.4491, allocations: 1.463 MB / 0.6143 GB, free: 2.828 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.002553/0.4517, allocations: 1.316 MB / 0.6156 GB, free: 1.504 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001116/0.4528, allocations: 0.9445 MB / 0.6165 GB, free: 0.5586 MB / 446.1 MB Notification: Performance of SimCode: time 1.172e-06/0.4528, allocations: 0 / 0.6165 GB, free: 0.5586 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07063/0.5234, allocations: 31.8 MB / 0.6475 GB, free: 1.234 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.48/13, allocations: 11.02 kB / 0.6475 GB, free: 1.227 MB / 478.1 MB " [Timeout remaining time 647] (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.415265090763569] Failed to read output from testmodel.py, exit status != 0: 13.128241715952754 13.143008293 13.018455777 Calling exit ...