Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr StewartPlatform_StewartPlatform.Tests.Trajectory_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.001132/0.001132, 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.001293/0.001293, allocations: 165.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.902/0.902, allocations: 177.1 MB / 202.8 MB, free: 5.754 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.01906/0.01906, allocations: 5.071 MB / 264.3 MB, free: 8.316 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.Trajectory_test,fileNamePrefix="StewartPlatform_StewartPlatform_Tests_Trajectory_test",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(StewartPlatform.Tests.Trajectory_test,fileNamePrefix="StewartPlatform_StewartPlatform_Tests_Trajectory_test",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.234e-06/2.234e-06, allocations: 0 / 389.2 MB, free: 7.402 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.852e-05/2.076e-05, allocations: 2.281 kB / 389.2 MB, free: 7.398 MB / 314.7 MB Notification: Performance of NFInst.instantiate(StewartPlatform.Tests.Trajectory_test): time 0.005095/0.005116, allocations: 4.347 MB / 393.5 MB, free: 3.023 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.004285/0.009401, allocations: 4.214 MB / 397.7 MB, free: 14.8 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002489/0.00965, allocations: 16 kB / 397.7 MB, free: 14.78 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006581/0.01031, allocations: 349.6 kB / 398.1 MB, free: 14.44 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00272/0.01303, allocations: 1.704 MB / 399.8 MB, free: 12.73 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005053/0.01353, allocations: 339.1 kB / 400.1 MB, free: 12.39 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.004837/0.01837, allocations: 6.124 MB / 406.2 MB, free: 6.262 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005952/0.01897, allocations: 409.4 kB / 406.6 MB, free: 5.844 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00103/0.02, allocations: 1.06 MB / 407.7 MB, free: 4.781 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001094/0.02109, allocations: 1.235 MB / 408.9 MB, free: 3.543 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001983/0.02129, allocations: 160 kB / 409.1 MB, free: 3.387 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001525/0.02281, allocations: 1.099 MB / 410.2 MB, free: 2.285 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000712/0.02352, allocations: 1.184 MB / 411.4 MB, free: 1.098 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006801/0.0242, allocations: 0.8259 MB / 412.2 MB, free: 276 kB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.1744/0.1986, allocations: 3.65 MB / 415.9 MB, free: 21.85 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.1986, allocations: 1.969 kB / 415.9 MB, free: 21.85 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.382e-06/0.1986, allocations: 0 / 415.9 MB, free: 21.85 MB / 330.7 MB Notification: Performance of Transformations before backend: time 2.264e-05/0.1987, allocations: 2.297 kB / 415.9 MB, free: 21.85 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: 184 * Number of variables: 184 Notification: Performance of Generate backend data structure: time 0.005163/0.2038, allocations: 3.896 MB / 419.8 MB, free: 20.33 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.4e-05/0.2039, allocations: 10.61 kB / 419.8 MB, free: 20.33 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001553/0.204, allocations: 144.4 kB / 419.9 MB, free: 20.29 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002825/0.2069, allocations: 0.7871 MB / 420.7 MB, free: 20.14 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005208/0.2121, allocations: 5.185 MB / 425.9 MB, free: 19.11 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004129/0.2125, allocations: 0.5292 MB / 426.4 MB, free: 18.66 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001272/0.2126, allocations: 72.38 kB / 426.5 MB, free: 18.63 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004568/0.2172, allocations: 3.135 MB / 429.6 MB, free: 17.59 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.095e-05/0.2172, allocations: 6.219 kB / 429.6 MB, free: 17.59 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.009e-05/0.2173, allocations: 32.59 kB / 429.7 MB, free: 17.57 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.629e-05/0.2173, allocations: 38.09 kB / 429.7 MB, free: 17.57 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006678/0.224, allocations: 4.094 MB / 433.8 MB, free: 16.28 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004485/0.2285, allocations: 5.467 MB / 439.3 MB, free: 12.02 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003783/0.2323, allocations: 2.544 MB / 441.8 MB, free: 10.5 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002986/0.2353, allocations: 1.957 MB / 443.8 MB, free: 8.52 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.925e-05/0.2353, allocations: 8 kB / 443.8 MB, free: 8.512 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.158e-05/0.2354, allocations: 65.06 kB / 443.8 MB, free: 8.445 MB / 330.7 MB Notification: Performance of pre-optimization done (n=41): time 2.625e-06/0.2354, allocations: 0 / 443.8 MB, free: 8.445 MB / 330.7 MB Notification: Performance of matching and sorting (n=41): time 0.009723/0.2451, allocations: 5.852 MB / 449.7 MB, free: 2.66 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001348/0.2452, allocations: 0.6245 MB / 450.3 MB, free: 1.895 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006109/0.2513, allocations: 5.308 MB / 455.6 MB, free: 12.57 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 9.2e-05/0.2514, allocations: 37.7 kB / 455.6 MB, free: 12.53 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007482/0.2522, allocations: 1.076 MB / 456.7 MB, free: 11.45 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001559/0.2523, allocations: 144.4 kB / 456.9 MB, free: 11.31 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002185/0.2526, allocations: 85.67 kB / 456.9 MB, free: 11.22 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001062/0.2527, allocations: 321.9 kB / 457.3 MB, free: 10.9 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003198/0.2559, allocations: 1.861 MB / 459.1 MB, free: 9.059 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003306/0.2592, allocations: 2.257 MB / 461.4 MB, free: 6.703 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005963/0.2651, allocations: 3.597 MB / 465 MB, free: 3.105 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.268e-06/0.2651, allocations: 6.625 kB / 465 MB, free: 3.102 MB / 346.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.006916/0.272, allocations: 3.984 MB / 469 MB, free: 15.16 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.92e-05/0.2721, allocations: 7.438 kB / 469 MB, free: 15.16 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.767e-06/0.2721, allocations: 4 kB / 469 MB, free: 15.15 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.71e-05/0.2721, allocations: 4 kB / 469 MB, free: 15.15 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001582/0.2737, allocations: 0.7481 MB / 469.7 MB, free: 14.41 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.137e-05/0.2737, allocations: 11.36 kB / 469.7 MB, free: 14.4 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002511/0.2762, allocations: 0.8215 MB / 470.6 MB, free: 13.59 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.844e-05/0.2763, allocations: 23.98 kB / 470.6 MB, free: 13.57 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (41): * Single equations (assignments): 41 * Array equations: 0 * 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.0009678/0.2772, allocations: 0.7115 MB / 471.3 MB, free: 12.85 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004344/0.2777, allocations: 262.3 kB / 471.6 MB, free: 12.59 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002635/0.2779, allocations: 275.7 kB / 471.8 MB, free: 12.32 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.809e-06/0.2779, allocations: 10.73 kB / 471.8 MB, free: 12.31 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.132e-05/0.2779, allocations: 4 kB / 471.8 MB, free: 12.31 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.161e-06/0.278, allocations: 4 kB / 471.8 MB, free: 12.3 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001703/0.2797, allocations: 1.243 MB / 473.1 MB, free: 11.02 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.048e-06/0.2797, allocations: 4 kB / 473.1 MB, free: 11.02 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001543/0.2812, allocations: 0.7494 MB / 473.8 MB, free: 10.28 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.18e-06/0.2812, allocations: 4 kB / 473.8 MB, free: 10.28 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.486e-05/0.2813, allocations: 15.98 kB / 473.9 MB, free: 10.26 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.059e-06/0.2813, allocations: 11.75 kB / 473.9 MB, free: 10.25 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.885e-06/0.2813, allocations: 4 kB / 473.9 MB, free: 10.25 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006953/0.2882, allocations: 5.113 MB / 479 MB, free: 5.133 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007326/0.289, allocations: 493.9 kB / 479.5 MB, free: 4.648 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002897/0.2892, allocations: 23.98 kB / 479.5 MB, free: 4.625 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002431/0.2917, allocations: 0.7808 MB / 480.3 MB, free: 3.852 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003465/0.292, allocations: 151.6 kB / 480.4 MB, free: 3.707 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.594e-05/0.2921, allocations: 23.98 kB / 480.4 MB, free: 3.684 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.004758/0.2968, allocations: 4.008 MB / 484.5 MB, free: 15.68 MB / 378.7 MB Notification: Performance of sort global known variables: time 8e-08/0.2968, allocations: 3.172 kB / 484.5 MB, free: 15.68 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.002599/0.2994, allocations: 0.5891 MB / 485 MB, free: 15.09 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 0 () * 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 (41): * Single equations (assignments): 41 * Array equations: 0 * 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.008804/0.3082, allocations: 6.109 MB / 491.2 MB, free: 9 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.006571/0.3148, allocations: 3.814 MB / 495 MB, free: 5.23 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.248e-06/0.3148, allocations: 0 / 495 MB, free: 5.23 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003891/0.3187, allocations: 2.439 MB / 497.4 MB, free: 2.82 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003983/0.3227, allocations: 1.317 MB / 498.7 MB, free: 1.559 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04948/0.3722, allocations: 36.09 MB / 0.5223 GB, free: 13.31 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001087/0.3733, allocations: 1.183 MB / 0.5234 GB, free: 12.09 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.001782/0.375, allocations: 0.6342 MB / 0.524 GB, free: 11.46 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001219/0.3763, allocations: 0.9546 MB / 0.525 GB, free: 10.51 MB / 426.7 MB Notification: Performance of SimCode: time 1.904e-06/0.3763, allocations: 0 / 0.525 GB, free: 10.51 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2388/0.6151, allocations: 83.41 MB / 0.6064 GB, free: 159.1 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.013/9.628, allocations: 9.688 kB / 0.6064 GB, free: 159.1 MB / 474.7 MB " [Timeout remaining time 650] (rm -f StewartPlatform_StewartPlatform.Tests.Trajectory_test.pipe ; mkfifo StewartPlatform_StewartPlatform.Tests.Trajectory_test.pipe ; head -c 1048576 < StewartPlatform_StewartPlatform.Tests.Trajectory_test.pipe >> ../files/StewartPlatform_StewartPlatform.Tests.Trajectory_test.sim & python3 -m fmpy simulate --output-file StewartPlatform_StewartPlatform.Tests.Trajectory_test_res.csv --start-time 0 --stop-time 6 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.012 StewartPlatform_StewartPlatform_Tests_Trajectory_test.fmu > StewartPlatform_StewartPlatform.Tests.Trajectory_test.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.487736101262271] Failed to read output from testmodel.py, exit status != 0: 9.74393412657082 9.749192026 9.549181953 Calling exit ...