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.001042/0.001042, 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.0009629/0.0009629, 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.9077/0.9077, allocations: 177.1 MB / 202.8 MB, free: 5.73 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.02148/0.02148, allocations: 5.052 MB / 264.2 MB, free: 8.301 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 3.056e-06/3.056e-06, allocations: 0 / 389.2 MB, free: 7.379 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.567e-05/2.872e-05, allocations: 2.281 kB / 389.2 MB, free: 7.375 MB / 314.7 MB Notification: Performance of NFInst.instantiate(StewartPlatform.Tests.Trajectory_test): time 0.004772/0.004801, allocations: 4.347 MB / 393.5 MB, free: 3 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.004922/0.009723, allocations: 4.218 MB / 397.7 MB, free: 14.77 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005696/0.01029, allocations: 16 kB / 397.7 MB, free: 14.75 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007336/0.01103, allocations: 341.7 kB / 398.1 MB, free: 14.42 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002997/0.01402, allocations: 1.715 MB / 399.8 MB, free: 12.7 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005303/0.01455, allocations: 339.1 kB / 400.1 MB, free: 12.37 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.004507/0.01906, allocations: 6.122 MB / 406.2 MB, free: 6.234 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005603/0.01962, allocations: 409.5 kB / 406.6 MB, free: 5.816 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00126/0.02088, allocations: 1.064 MB / 407.7 MB, free: 4.75 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001112/0.02199, allocations: 1.231 MB / 408.9 MB, free: 3.516 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002861/0.02228, allocations: 156 kB / 409.1 MB, free: 3.363 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001611/0.02389, allocations: 1.095 MB / 410.2 MB, free: 2.266 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0007208/0.02461, allocations: 1.192 MB / 411.4 MB, free: 1.07 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0008256/0.02544, allocations: 0.8181 MB / 412.2 MB, free: 256 kB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.1513/0.1767, allocations: 3.653 MB / 415.9 MB, free: 21.8 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.907e-06/0.1767, allocations: 1.125 kB / 415.9 MB, free: 21.8 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.673e-06/0.1767, allocations: 0 / 415.9 MB, free: 21.8 MB / 330.7 MB Notification: Performance of Transformations before backend: time 9.317e-05/0.1768, allocations: 1.5 kB / 415.9 MB, free: 21.8 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.009224/0.186, allocations: 3.902 MB / 419.8 MB, free: 20.29 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.683e-05/0.1861, allocations: 9.938 kB / 419.8 MB, free: 20.29 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001811/0.1863, allocations: 140.7 kB / 419.9 MB, free: 20.25 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002996/0.1893, allocations: 0.7868 MB / 420.7 MB, free: 20.1 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006046/0.1953, allocations: 5.185 MB / 425.9 MB, free: 19.04 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003595/0.1957, allocations: 0.5336 MB / 426.4 MB, free: 18.59 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001292/0.1958, allocations: 69.25 kB / 426.5 MB, free: 18.57 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004296/0.2001, allocations: 3.134 MB / 429.6 MB, free: 17.52 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.799e-05/0.2001, allocations: 5.625 kB / 429.6 MB, free: 17.52 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.728e-05/0.2002, allocations: 33.47 kB / 429.7 MB, free: 17.5 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.381e-05/0.2002, allocations: 44.48 kB / 429.7 MB, free: 17.49 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006344/0.2066, allocations: 4.092 MB / 433.8 MB, free: 16.21 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004989/0.2116, allocations: 5.461 MB / 439.2 MB, free: 11.95 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003725/0.2153, allocations: 2.555 MB / 441.8 MB, free: 10.46 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00288/0.2182, allocations: 1.948 MB / 443.8 MB, free: 8.488 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.43e-05/0.2182, allocations: 12 kB / 443.8 MB, free: 8.477 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.571e-05/0.2183, allocations: 65.53 kB / 443.8 MB, free: 8.41 MB / 330.7 MB Notification: Performance of pre-optimization done (n=41): time 5.3e-06/0.2183, allocations: 0.8906 kB / 443.8 MB, free: 8.41 MB / 330.7 MB Notification: Performance of matching and sorting (n=41): time 0.009725/0.228, allocations: 5.856 MB / 449.7 MB, free: 2.625 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.684e-05/0.2281, allocations: 0.6213 MB / 450.3 MB, free: 1.859 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006294/0.2344, allocations: 5.308 MB / 455.6 MB, free: 12.53 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002425/0.2346, allocations: 37.7 kB / 455.6 MB, free: 12.49 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006625/0.2353, allocations: 1.073 MB / 456.7 MB, free: 11.41 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001879/0.2355, allocations: 145.3 kB / 456.9 MB, free: 11.27 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001974/0.2357, allocations: 89.67 kB / 457 MB, free: 11.18 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 9.27e-05/0.2358, allocations: 321.9 kB / 457.3 MB, free: 10.86 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003363/0.2391, allocations: 1.86 MB / 459.1 MB, free: 9.012 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003229/0.2424, allocations: 2.247 MB / 461.4 MB, free: 6.664 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006339/0.2487, allocations: 3.613 MB / 465 MB, free: 3.055 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.364e-06/0.2487, allocations: 2.625 kB / 465 MB, free: 3.055 MB / 346.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.007842/0.2565, allocations: 3.973 MB / 469 MB, free: 15.12 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.62e-05/0.2566, allocations: 8 kB / 469 MB, free: 15.11 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.08e-05/0.2566, allocations: 4 kB / 469 MB, free: 15.11 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.865e-05/0.2566, allocations: 7.172 kB / 469 MB, free: 15.11 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001571/0.2582, allocations: 0.7438 MB / 469.7 MB, free: 14.37 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.065e-05/0.2582, allocations: 7.984 kB / 469.7 MB, free: 14.36 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003066/0.2613, allocations: 0.8281 MB / 470.6 MB, free: 13.55 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.009e-05/0.2613, allocations: 23.98 kB / 470.6 MB, free: 13.52 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.001247/0.2626, allocations: 0.7072 MB / 471.3 MB, free: 12.81 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006867/0.2633, allocations: 262.3 kB / 471.5 MB, free: 12.55 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003121/0.2636, allocations: 279.7 kB / 471.8 MB, free: 12.28 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.643e-06/0.2636, allocations: 8 kB / 471.8 MB, free: 12.27 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.689e-06/0.2636, allocations: 8 kB / 471.8 MB, free: 12.26 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.253e-06/0.2636, allocations: 7.984 kB / 471.8 MB, free: 12.25 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002019/0.2656, allocations: 1.24 MB / 473.1 MB, free: 10.98 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.717e-06/0.2656, allocations: 4 kB / 473.1 MB, free: 10.97 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001517/0.2671, allocations: 0.7436 MB / 473.8 MB, free: 10.24 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.533e-06/0.2671, allocations: 8 kB / 473.8 MB, free: 10.23 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.007e-05/0.2672, allocations: 19.98 kB / 473.9 MB, free: 10.21 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.961e-06/0.2672, allocations: 5.25 kB / 473.9 MB, free: 10.21 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.468e-06/0.2672, allocations: 7.281 kB / 473.9 MB, free: 10.21 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007052/0.2743, allocations: 5.114 MB / 479 MB, free: 5.094 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001071/0.2753, allocations: 497.9 kB / 479.5 MB, free: 4.605 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003468/0.2757, allocations: 20 kB / 479.5 MB, free: 4.586 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002432/0.2781, allocations: 0.7744 MB / 480.3 MB, free: 3.816 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004865/0.2786, allocations: 158.1 kB / 480.4 MB, free: 3.668 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.369e-05/0.2787, allocations: 27.98 kB / 480.4 MB, free: 3.641 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.004213/0.2829, allocations: 4.004 MB / 484.5 MB, free: 15.64 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.41e-07/0.2829, allocations: 4 kB / 484.5 MB, free: 15.63 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.002307/0.2852, allocations: 0.593 MB / 485 MB, free: 15.04 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.008421/0.2936, allocations: 6.102 MB / 491.1 MB, free: 8.957 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.006439/0.3, allocations: 3.815 MB / 495 MB, free: 5.188 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 7.313e-06/0.3, allocations: 0 / 495 MB, free: 5.188 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003836/0.3039, allocations: 2.436 MB / 497.4 MB, free: 2.781 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004464/0.3083, allocations: 1.314 MB / 498.7 MB, free: 1.523 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04919/0.3575, allocations: 36.09 MB / 0.5223 GB, free: 13.27 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009831/0.3585, allocations: 1.185 MB / 0.5234 GB, free: 12.05 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.001804/0.3603, allocations: 0.6452 MB / 0.5241 GB, free: 11.41 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001317/0.3616, allocations: 0.9436 MB / 0.525 GB, free: 10.47 MB / 426.7 MB Notification: Performance of SimCode: time 1.723e-06/0.3616, allocations: 0 / 0.525 GB, free: 10.47 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2351/0.5968, allocations: 83.41 MB / 0.6064 GB, free: 159 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.855/9.452, allocations: 9 kB / 0.6064 GB, free: 159 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_StewartPlatform_StewartPlatform_Tests_Trajectory_test_fmu --startTime=0 --stopTime=6 --stepSize=0.012 --timeout=50 --tolerance=1e-06 StewartPlatform_StewartPlatform_Tests_Trajectory_test.fmu > StewartPlatform_StewartPlatform.Tests.Trajectory_test.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.2998560462147] Failed to read output from testmodel.py, exit status != 0: 9.571541911922395 9.577455857 9.399145709 Calling exit ...