Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr DeltaRobot_DeltaRobot.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.0007458/0.0007458, 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.0007316/0.0007316, 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.8326/0.8326, 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/DeltaRobot 1.0.2/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/DeltaRobot 1.0.2/package.mo): time 0.01515/0.01515, allocations: 4.078 MB / 263.3 MB, free: 9.266 MB / 250.7 MB " [Timeout remaining time 180] Using package DeltaRobot with version 1.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/DeltaRobot 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(DeltaRobot.Tests.ServoMotor_test,fileNamePrefix="DeltaRobot_DeltaRobot_Tests_ServoMotor_test",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(DeltaRobot.Tests.ServoMotor_test,fileNamePrefix="DeltaRobot_DeltaRobot_Tests_ServoMotor_test",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.673e-06/1.673e-06, allocations: 0 / 387.6 MB, free: 9.066 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.356e-05/1.523e-05, allocations: 2.281 kB / 387.6 MB, free: 9.062 MB / 314.7 MB Notification: Performance of NFInst.instantiate(DeltaRobot.Tests.ServoMotor_test): time 0.002273/0.002288, allocations: 2.178 MB / 389.8 MB, free: 6.875 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007362/0.003024, allocations: 0.6465 MB / 390.4 MB, free: 6.223 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.681e-05/0.003101, allocations: 0 / 390.4 MB, free: 6.223 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001812/0.003282, allocations: 35.7 kB / 390.4 MB, free: 6.188 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 6.798e-05/0.00335, allocations: 55.5 kB / 390.5 MB, free: 6.133 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002041/0.003554, allocations: 91.81 kB / 390.6 MB, free: 6.043 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001728/0.003727, allocations: 215.5 kB / 390.8 MB, free: 5.832 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000177/0.003904, allocations: 82.14 kB / 390.9 MB, free: 5.75 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000111/0.004015, allocations: 123.8 kB / 391 MB, free: 5.629 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.523e-05/0.00409, allocations: 67.8 kB / 391.1 MB, free: 5.562 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 2.931e-05/0.00412, allocations: 20 kB / 391.1 MB, free: 5.543 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.423e-05/0.004144, allocations: 20 kB / 391.1 MB, free: 5.523 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 2.679e-05/0.004171, allocations: 39.89 kB / 391.1 MB, free: 5.484 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 4.898e-05/0.00422, allocations: 67.84 kB / 391.2 MB, free: 5.418 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001885/0.004408, allocations: 227.2 kB / 391.4 MB, free: 5.195 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.026e-06/0.004411, allocations: 4 kB / 391.4 MB, free: 5.191 MB / 314.7 MB Notification: Performance of FrontEnd: time 8.12e-07/0.004412, allocations: 0 / 391.4 MB, free: 5.191 MB / 314.7 MB Notification: Performance of Transformations before backend: time 3.627e-06/0.004416, allocations: 0 / 391.4 MB, free: 5.191 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: 44 * Number of variables: 44 Notification: Performance of Generate backend data structure: time 0.0007155/0.005131, allocations: 405.5 kB / 391.8 MB, free: 4.766 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.574e-05/0.005167, allocations: 12.03 kB / 391.8 MB, free: 4.754 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.966e-05/0.005206, allocations: 54.72 kB / 391.9 MB, free: 4.691 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.403e-05/0.00524, allocations: 24.8 kB / 391.9 MB, free: 4.668 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001981/0.005439, allocations: 161.5 kB / 392.1 MB, free: 4.484 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.414e-05/0.005453, allocations: 16.36 kB / 392.1 MB, free: 4.469 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.712e-05/0.00548, allocations: 20.38 kB / 392.1 MB, free: 4.449 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002753/0.005755, allocations: 242.3 kB / 392.3 MB, free: 4.191 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.219e-05/0.005767, allocations: 4.141 kB / 392.3 MB, free: 4.188 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.547e-05/0.005783, allocations: 12.12 kB / 392.4 MB, free: 4.176 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.011e-06/0.005789, allocations: 7.938 kB / 392.4 MB, free: 4.168 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002058/0.005995, allocations: 135.8 kB / 392.5 MB, free: 4.035 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006417/0.006636, allocations: 0.6672 MB / 393.2 MB, free: 3.301 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001692/0.006806, allocations: 94.52 kB / 393.3 MB, free: 3.199 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.962e-05/0.006875, allocations: 40.94 kB / 393.3 MB, free: 3.156 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.825e-05/0.006893, allocations: 0 / 393.3 MB, free: 3.156 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.06e-05/0.006914, allocations: 42.5 kB / 393.3 MB, free: 3.105 MB / 314.7 MB Notification: Performance of pre-optimization done (n=6): time 8.42e-07/0.006915, allocations: 0 / 393.3 MB, free: 3.105 MB / 314.7 MB Notification: Performance of matching and sorting (n=6): time 0.0002858/0.007201, allocations: 149.4 kB / 393.5 MB, free: 2.953 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.584e-05/0.007237, allocations: 85.11 kB / 393.6 MB, free: 2.852 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.749e-05/0.007324, allocations: 149.5 kB / 393.7 MB, free: 2.695 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.079e-05/0.007335, allocations: 25.7 kB / 393.7 MB, free: 2.664 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.093e-05/0.007396, allocations: 152.1 kB / 393.9 MB, free: 2.512 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.56e-05/0.007411, allocations: 23.78 kB / 393.9 MB, free: 2.488 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.654e-05/0.007448, allocations: 37.7 kB / 393.9 MB, free: 2.445 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 6.835e-05/0.007516, allocations: 314.8 kB / 394.3 MB, free: 2.129 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.869e-05/0.007595, allocations: 49.06 kB / 394.3 MB, free: 2.078 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001039/0.007699, allocations: 124.5 kB / 394.4 MB, free: 1.926 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001612/0.00786, allocations: 137.9 kB / 394.6 MB, free: 1.77 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.887e-06/0.007864, allocations: 4 kB / 394.6 MB, free: 1.766 MB / 314.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002116/0.008076, allocations: 173.3 kB / 394.7 MB, free: 1.59 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.124e-05/0.008087, allocations: 4 kB / 394.7 MB, free: 1.586 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.961e-06/0.008093, allocations: 7.938 kB / 394.7 MB, free: 1.578 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.033e-05/0.008103, allocations: 0 / 394.7 MB, free: 1.578 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001022/0.008205, allocations: 35.97 kB / 394.8 MB, free: 1.543 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.292e-06/0.008212, allocations: 4.062 kB / 394.8 MB, free: 1.539 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.644e-05/0.008268, allocations: 19.94 kB / 394.8 MB, free: 1.52 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.326e-06/0.008276, allocations: 8.156 kB / 394.8 MB, free: 1.512 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 8.806e-05/0.008364, allocations: 128.1 kB / 394.9 MB, free: 1.383 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 7.877e-05/0.008443, allocations: 116.5 kB / 395.1 MB, free: 1.238 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0001109/0.008554, allocations: 117.9 kB / 395.2 MB, free: 1.102 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.71e-07/0.008555, allocations: 0 / 395.2 MB, free: 1.102 MB / 314.7 MB Notification: Performance of matching and sorting (n=13) (initialization_lambda0): time 0.0001477/0.008702, allocations: 137.4 kB / 395.3 MB, free: 0.9609 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.571e-06/0.008708, allocations: 7.984 kB / 395.3 MB, free: 0.9531 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.232e-06/0.008709, allocations: 4 kB / 395.3 MB, free: 0.9492 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.148e-06/0.008713, allocations: 7.938 kB / 395.3 MB, free: 0.9414 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.9e-05/0.008762, allocations: 28.17 kB / 395.3 MB, free: 0.9141 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.134e-06/0.008764, allocations: 4 kB / 395.4 MB, free: 0.9102 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.907e-05/0.008813, allocations: 23.88 kB / 395.4 MB, free: 0.8867 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.526e-06/0.008817, allocations: 4 kB / 395.4 MB, free: 0.8828 MB / 314.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 (13): * Single equations (assignments): 13 * 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 6.333e-05/0.00888, allocations: 188.2 kB / 395.6 MB, free: 0.6914 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.551e-05/0.008896, allocations: 7.953 kB / 395.6 MB, free: 0.6836 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.42e-05/0.00892, allocations: 12.72 kB / 395.6 MB, free: 0.6758 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.375e-06/0.008922, allocations: 4 kB / 395.6 MB, free: 0.6719 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.408e-06/0.008927, allocations: 3.984 kB / 395.6 MB, free: 0.668 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.174e-06/0.008929, allocations: 4 kB / 395.6 MB, free: 0.6641 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001438/0.009073, allocations: 188.7 kB / 395.8 MB, free: 448 kB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.009074, allocations: 4 kB / 395.8 MB, free: 444 kB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.097e-05/0.009145, allocations: 19.98 kB / 395.8 MB, free: 424 kB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.62e-07/0.009146, allocations: 0 / 395.8 MB, free: 424 kB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.738e-06/0.009156, allocations: 11.92 kB / 395.8 MB, free: 412 kB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.442e-06/0.009157, allocations: 4 kB / 395.8 MB, free: 408 kB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.71e-07/0.009158, allocations: 0 / 395.8 MB, free: 408 kB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002694/0.009427, allocations: 259.3 kB / 396.1 MB, free: 132 kB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.35e-05/0.009441, allocations: 11.92 kB / 396.1 MB, free: 120 kB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.703e-05/0.009458, allocations: 7.938 kB / 396.1 MB, free: 112 kB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.529e-05/0.009513, allocations: 11.98 kB / 396.1 MB, free: 100 kB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.882e-05/0.009542, allocations: 7.984 kB / 396.1 MB, free: 92 kB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.686e-06/0.009545, allocations: 0 / 396.1 MB, free: 92 kB / 314.7 MB Notification: Performance of sorting global known variables: time 5.873e-05/0.009603, allocations: 113.8 kB / 396.2 MB, free: 15.98 MB / 330.7 MB Notification: Performance of sort global known variables: time 6e-08/0.009604, allocations: 0 / 396.2 MB, free: 15.98 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0002266/0.00983, allocations: 79.8 kB / 396.3 MB, free: 15.9 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 (6): * Single equations (assignments): 6 * 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.0004043/0.01023, allocations: 0.7787 MB / 397.1 MB, free: 15.09 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0002481/0.01048, allocations: 152 kB / 397.2 MB, free: 14.95 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.392e-06/0.01048, allocations: 0 / 397.2 MB, free: 14.95 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 6.818e-05/0.01055, allocations: 43.91 kB / 397.3 MB, free: 14.9 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002245/0.01078, allocations: 37.73 kB / 397.3 MB, free: 14.88 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001601/0.01238, allocations: 1.843 MB / 399.1 MB, free: 12.91 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.58e-05/0.01244, allocations: 104.1 kB / 399.2 MB, free: 12.79 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 4.363e-05/0.01249, allocations: 16.47 kB / 399.3 MB, free: 12.77 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.87e-05/0.01255, allocations: 48.48 kB / 399.3 MB, free: 12.73 MB / 330.7 MB Notification: Performance of SimCode: time 4.01e-07/0.01255, allocations: 0 / 399.3 MB, free: 12.73 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01614/0.02869, allocations: 3.704 MB / 403 MB, free: 9.156 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.387/6.416, allocations: 10.48 kB / 403 MB, free: 9.148 MB / 330.7 MB " [Timeout remaining time 654] (rm -f DeltaRobot_DeltaRobot.Tests.ServoMotor_test.pipe ; mkfifo DeltaRobot_DeltaRobot.Tests.ServoMotor_test.pipe ; head -c 1048576 < DeltaRobot_DeltaRobot.Tests.ServoMotor_test.pipe >> ../files/DeltaRobot_DeltaRobot.Tests.ServoMotor_test.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_DeltaRobot_DeltaRobot_Tests_ServoMotor_test_fmu --startTime=0 --stopTime=5 --stepSize=0.01 --timeout=50 --tolerance=1e-06 DeltaRobot_DeltaRobot_Tests_ServoMotor_test.fmu > DeltaRobot_DeltaRobot.Tests.ServoMotor_test.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 8.082254753448069] Failed to read output from testmodel.py, exit status != 0: 6.49555426556617 6.628146789 6.621996447 Calling exit ...