Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr StewartPlatform_StewartPlatform.Tests.ServoMotor_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.0008677/0.0008677, allocations: 80.44 kB / 19.17 MB, free: 0.7461 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.0009554/0.0009554, allocations: 165.9 kB / 22.45 MB, free: 2.109 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.8828/0.8828, allocations: 177.1 MB / 202.8 MB, free: 5.746 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.01913/0.01913, allocations: 5.056 MB / 264.2 MB, free: 8.309 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.ServoMotor_test,fileNamePrefix="StewartPlatform_StewartPlatform_Tests_ServoMotor_test",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(StewartPlatform.Tests.ServoMotor_test,fileNamePrefix="StewartPlatform_StewartPlatform_Tests_ServoMotor_test",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.024e-06/2.024e-06, allocations: 0 / 389.2 MB, free: 7.395 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.697e-05/1.9e-05, allocations: 6.281 kB / 389.2 MB, free: 7.387 MB / 314.7 MB Notification: Performance of NFInst.instantiate(StewartPlatform.Tests.ServoMotor_test): time 0.003642/0.003661, allocations: 2.416 MB / 391.6 MB, free: 4.961 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001242/0.004903, allocations: 0.6698 MB / 392.3 MB, free: 4.285 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000132/0.005035, allocations: 7.938 kB / 392.3 MB, free: 4.277 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002379/0.005273, allocations: 47.58 kB / 392.3 MB, free: 4.23 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001239/0.005396, allocations: 51.5 kB / 392.4 MB, free: 4.18 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003247/0.005721, allocations: 115.7 kB / 392.5 MB, free: 4.066 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003005/0.006022, allocations: 255.5 kB / 392.7 MB, free: 3.816 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002716/0.006293, allocations: 88.66 kB / 392.8 MB, free: 3.73 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001341/0.006427, allocations: 147.7 kB / 393 MB, free: 3.586 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.746e-05/0.006525, allocations: 79.7 kB / 393 MB, free: 3.508 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 3.472e-05/0.00656, allocations: 24 kB / 393.1 MB, free: 3.484 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.72e-05/0.006587, allocations: 24 kB / 393.1 MB, free: 3.461 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 3.237e-05/0.006619, allocations: 43.84 kB / 393.1 MB, free: 3.418 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 5.767e-05/0.006677, allocations: 79.83 kB / 393.2 MB, free: 3.34 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002273/0.006904, allocations: 267.1 kB / 393.5 MB, free: 3.078 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.686e-06/0.006907, allocations: 0 / 393.5 MB, free: 3.078 MB / 314.7 MB Notification: Performance of FrontEnd: time 6.52e-07/0.006907, allocations: 0 / 393.5 MB, free: 3.078 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.148e-05/0.006919, allocations: 4 kB / 393.5 MB, free: 3.074 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 53 * Number of variables: 53 Notification: Performance of Generate backend data structure: time 0.0005059/0.007425, allocations: 453.8 kB / 393.9 MB, free: 2.598 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.777e-05/0.007463, allocations: 12.03 kB / 393.9 MB, free: 2.586 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.447e-05/0.007507, allocations: 50.73 kB / 394 MB, free: 2.527 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.946e-05/0.007547, allocations: 28.75 kB / 394 MB, free: 2.5 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004866/0.008033, allocations: 187.8 kB / 394.2 MB, free: 2.293 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.414e-05/0.008047, allocations: 16.88 kB / 394.2 MB, free: 2.277 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.295e-05/0.00808, allocations: 24.38 kB / 394.2 MB, free: 2.254 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003133/0.008394, allocations: 265.9 kB / 394.5 MB, free: 1.973 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.494e-05/0.008409, allocations: 4.188 kB / 394.5 MB, free: 1.969 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.754e-05/0.008426, allocations: 12.12 kB / 394.5 MB, free: 1.957 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.372e-06/0.008432, allocations: 4 kB / 394.5 MB, free: 1.953 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002408/0.008673, allocations: 161.8 kB / 394.7 MB, free: 1.797 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001008/0.009682, allocations: 0.7161 MB / 395.4 MB, free: 1.02 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003512/0.01003, allocations: 110.4 kB / 395.5 MB, free: 0.9023 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001202/0.01015, allocations: 48.95 kB / 395.5 MB, free: 0.8516 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.483e-05/0.01018, allocations: 8 kB / 395.5 MB, free: 0.8438 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.573e-05/0.0102, allocations: 34.5 kB / 395.6 MB, free: 0.8008 MB / 314.7 MB Notification: Performance of pre-optimization done (n=9): time 1.984e-06/0.01021, allocations: 0 / 395.6 MB, free: 0.8008 MB / 314.7 MB Notification: Performance of matching and sorting (n=9): time 0.0004826/0.01069, allocations: 177.4 kB / 395.7 MB, free: 0.6211 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.306e-05/0.01074, allocations: 85.11 kB / 395.8 MB, free: 0.5195 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001547/0.0109, allocations: 168.6 kB / 396 MB, free: 348 kB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.694e-05/0.01091, allocations: 33.64 kB / 396 MB, free: 308 kB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001018/0.01101, allocations: 168 kB / 396.2 MB, free: 136 kB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.938e-05/0.01104, allocations: 31.75 kB / 396.2 MB, free: 104 kB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.691e-05/0.0111, allocations: 29.7 kB / 396.2 MB, free: 68 kB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001206/0.01122, allocations: 322.8 kB / 396.6 MB, free: 15.74 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001317/0.01135, allocations: 56.81 kB / 396.6 MB, free: 15.68 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001504/0.0115, allocations: 128.5 kB / 396.7 MB, free: 15.53 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002281/0.01173, allocations: 153.9 kB / 396.9 MB, free: 15.36 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.745e-06/0.01173, allocations: 0 / 396.9 MB, free: 15.36 MB / 330.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0002407/0.01198, allocations: 193.3 kB / 397.1 MB, free: 15.16 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.129e-05/0.01199, allocations: 4 kB / 397.1 MB, free: 15.16 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.553e-06/0.01199, allocations: 8 kB / 397.1 MB, free: 15.15 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.211e-05/0.01201, allocations: 480 / 397.1 MB, free: 15.15 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.439e-05/0.0121, allocations: 48.09 kB / 397.1 MB, free: 15.1 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.129e-06/0.0121, allocations: 0 / 397.1 MB, free: 15.1 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.441e-05/0.01217, allocations: 27.88 kB / 397.2 MB, free: 15.07 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.765e-06/0.01218, allocations: 4 kB / 397.2 MB, free: 15.07 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001073/0.01228, allocations: 136 kB / 397.3 MB, free: 14.93 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 9.635e-05/0.01238, allocations: 132.5 kB / 397.4 MB, free: 14.77 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0001348/0.01252, allocations: 125.9 kB / 397.6 MB, free: 14.63 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.91e-07/0.01252, allocations: 0 / 397.6 MB, free: 14.63 MB / 330.7 MB Notification: Performance of matching and sorting (n=16) (initialization_lambda0): time 0.0001795/0.0127, allocations: 169.3 kB / 397.7 MB, free: 14.46 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.763e-06/0.0127, allocations: 10.95 kB / 397.7 MB, free: 14.45 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.272e-06/0.0127, allocations: 0 / 397.7 MB, free: 14.45 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.753e-06/0.01271, allocations: 4 kB / 397.7 MB, free: 14.45 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.177e-05/0.01277, allocations: 39.92 kB / 397.8 MB, free: 14.41 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.814e-06/0.01277, allocations: 0 / 397.8 MB, free: 14.41 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.155e-05/0.01282, allocations: 19.92 kB / 397.8 MB, free: 14.39 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.188e-06/0.01282, allocations: 4 kB / 397.8 MB, free: 14.38 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (16): * Single equations (assignments): 16 * 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 7.005e-05/0.01289, allocations: 188.4 kB / 398 MB, free: 14.19 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.085e-05/0.01292, allocations: 15.84 kB / 398 MB, free: 14.18 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.276e-05/0.01295, allocations: 25.44 kB / 398 MB, free: 14.15 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.454e-06/0.01295, allocations: 0 / 398 MB, free: 14.15 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.01296, allocations: 0 / 398 MB, free: 14.15 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.196e-06/0.01296, allocations: 4 kB / 398 MB, free: 14.15 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001747/0.01313, allocations: 216.6 kB / 398.2 MB, free: 13.89 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.51e-07/0.01313, allocations: 7.875 kB / 398.2 MB, free: 13.89 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.706e-05/0.01321, allocations: 27.97 kB / 398.3 MB, free: 13.86 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.403e-06/0.01321, allocations: 0 / 398.3 MB, free: 13.86 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.009e-05/0.01322, allocations: 12 kB / 398.3 MB, free: 13.85 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-06/0.01322, allocations: 0 / 398.3 MB, free: 13.85 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.01322, allocations: 0 / 398.3 MB, free: 13.85 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003194/0.01354, allocations: 291.2 kB / 398.6 MB, free: 13.55 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.57e-05/0.01356, allocations: 11.94 kB / 398.6 MB, free: 13.54 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.7e-05/0.01358, allocations: 8 kB / 398.6 MB, free: 13.53 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.071e-05/0.01364, allocations: 16.05 kB / 398.6 MB, free: 13.51 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.073e-05/0.01367, allocations: 3.984 kB / 398.6 MB, free: 13.51 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.31e-06/0.01367, allocations: 8 kB / 398.6 MB, free: 13.5 MB / 330.7 MB Notification: Performance of sorting global known variables: time 6.075e-05/0.01373, allocations: 120 kB / 398.7 MB, free: 13.38 MB / 330.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.01373, allocations: 0 / 398.7 MB, free: 13.38 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0002527/0.01399, allocations: 87.67 kB / 398.8 MB, free: 13.3 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (inertia.phi,inertia.w) * 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 (9): * Single equations (assignments): 9 * 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.0004618/0.01445, allocations: 0.8177 MB / 399.6 MB, free: 12.45 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0002751/0.01472, allocations: 180.4 kB / 399.8 MB, free: 12.28 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.854e-06/0.01473, allocations: 4.062 kB / 399.8 MB, free: 12.27 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 7.417e-05/0.0148, allocations: 47.97 kB / 399.9 MB, free: 12.23 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002262/0.01503, allocations: 28.73 kB / 399.9 MB, free: 12.2 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001771/0.0168, allocations: 2.018 MB / 401.9 MB, free: 10.06 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.545e-05/0.01687, allocations: 125 kB / 402 MB, free: 9.922 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 4.502e-05/0.01692, allocations: 16.64 kB / 402.1 MB, free: 9.906 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.588e-05/0.01698, allocations: 60.48 kB / 402.1 MB, free: 9.848 MB / 330.7 MB Notification: Performance of SimCode: time 3.81e-07/0.01698, allocations: 0 / 402.1 MB, free: 9.848 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01704/0.03402, allocations: 4.071 MB / 406.2 MB, free: 5.906 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.338/7.372, allocations: 7.188 kB / 406.2 MB, free: 5.902 MB / 330.7 MB " [Timeout remaining time 653] (rm -f StewartPlatform_StewartPlatform.Tests.ServoMotor_test.pipe ; mkfifo StewartPlatform_StewartPlatform.Tests.ServoMotor_test.pipe ; head -c 1048576 < StewartPlatform_StewartPlatform.Tests.ServoMotor_test.pipe >> ../files/StewartPlatform_StewartPlatform.Tests.ServoMotor_test.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_StewartPlatform_StewartPlatform_Tests_ServoMotor_test_fmu --startTime=0 --stopTime=60 --stepSize=0.002 --timeout=50 --tolerance=1e-06 StewartPlatform_StewartPlatform_Tests_ServoMotor_test.fmu > StewartPlatform_StewartPlatform.Tests.ServoMotor_test.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.298858772031963] Failed to read output from testmodel.py, exit status != 0: 7.454297084361315 7.606837139 7.598064908 Calling exit ...