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.0007872/0.0007872, 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.0008321/0.0008321, 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.8416/0.8416, allocations: 177.1 MB / 202.8 MB, free: 5.742 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.01523/0.01523, allocations: 4.088 MB / 263.3 MB, free: 9.246 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.694e-06/1.694e-06, allocations: 0 / 387.6 MB, free: 9.059 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.373e-05/1.542e-05, allocations: 9.172 kB / 387.6 MB, free: 9.051 MB / 314.7 MB Notification: Performance of NFInst.instantiate(DeltaRobot.Tests.ServoMotor_test): time 0.002164/0.002179, allocations: 2.175 MB / 389.8 MB, free: 6.863 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007272/0.002906, allocations: 0.6426 MB / 390.4 MB, free: 6.215 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.934e-05/0.002986, allocations: 0 / 390.4 MB, free: 6.215 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001748/0.003161, allocations: 39.66 kB / 390.4 MB, free: 6.176 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 6.651e-05/0.003227, allocations: 55.55 kB / 390.5 MB, free: 6.121 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001998/0.003427, allocations: 91.77 kB / 390.6 MB, free: 6.031 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001802/0.003607, allocations: 219.5 kB / 390.8 MB, free: 5.816 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001647/0.003772, allocations: 74.22 kB / 390.9 MB, free: 5.742 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001095/0.003881, allocations: 123.8 kB / 391 MB, free: 5.621 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.386e-05/0.003955, allocations: 67.78 kB / 391.1 MB, free: 5.555 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 2.909e-05/0.003984, allocations: 20 kB / 391.1 MB, free: 5.535 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.886e-05/0.004003, allocations: 23.94 kB / 391.1 MB, free: 5.512 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 2.714e-05/0.00403, allocations: 43.89 kB / 391.1 MB, free: 5.469 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 4.789e-05/0.004078, allocations: 67.84 kB / 391.2 MB, free: 5.402 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001794/0.004258, allocations: 223.3 kB / 391.4 MB, free: 5.184 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.823e-06/0.004259, allocations: 4 kB / 391.4 MB, free: 5.18 MB / 314.7 MB Notification: Performance of FrontEnd: time 6.91e-07/0.00426, allocations: 0 / 391.4 MB, free: 5.18 MB / 314.7 MB Notification: Performance of Transformations before backend: time 3.677e-06/0.004264, allocations: 0 / 391.4 MB, free: 5.18 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.0004619/0.004726, allocations: 401.5 kB / 391.8 MB, free: 4.758 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.253e-05/0.004758, allocations: 16.02 kB / 391.8 MB, free: 4.742 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.762e-05/0.004796, allocations: 54.73 kB / 391.9 MB, free: 4.68 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.309e-05/0.004829, allocations: 24.8 kB / 391.9 MB, free: 4.656 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000196/0.005025, allocations: 165.5 kB / 392.1 MB, free: 4.469 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.273e-05/0.005038, allocations: 12.38 kB / 392.1 MB, free: 4.457 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.561e-05/0.005063, allocations: 20.38 kB / 392.1 MB, free: 4.438 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002717/0.005335, allocations: 238.3 kB / 392.3 MB, free: 4.184 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.246e-05/0.005347, allocations: 4.141 kB / 392.3 MB, free: 4.18 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.539e-05/0.005363, allocations: 16.06 kB / 392.4 MB, free: 4.164 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.751e-06/0.005368, allocations: 8 kB / 392.4 MB, free: 4.156 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002081/0.005577, allocations: 135.8 kB / 392.5 MB, free: 4.023 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007398/0.006316, allocations: 0.6594 MB / 393.2 MB, free: 3.297 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000168/0.006484, allocations: 102.5 kB / 393.3 MB, free: 3.188 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.241e-05/0.006557, allocations: 40.94 kB / 393.3 MB, free: 3.145 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.65e-05/0.006573, allocations: 0 / 393.3 MB, free: 3.145 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.931e-05/0.006593, allocations: 38.56 kB / 393.3 MB, free: 3.098 MB / 314.7 MB Notification: Performance of pre-optimization done (n=6): time 7.91e-07/0.006593, allocations: 0 / 393.3 MB, free: 3.098 MB / 314.7 MB Notification: Performance of matching and sorting (n=6): time 0.0002836/0.006877, allocations: 149.4 kB / 393.5 MB, free: 2.945 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.432e-05/0.006911, allocations: 85.11 kB / 393.6 MB, free: 2.844 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.806e-05/0.006999, allocations: 149.5 kB / 393.7 MB, free: 2.688 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.128e-05/0.007011, allocations: 25.7 kB / 393.7 MB, free: 2.656 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.17e-05/0.007072, allocations: 160.1 kB / 393.9 MB, free: 2.496 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.364e-05/0.007086, allocations: 19.8 kB / 393.9 MB, free: 2.477 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.629e-05/0.007122, allocations: 33.7 kB / 393.9 MB, free: 2.438 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 6.587e-05/0.007188, allocations: 318.8 kB / 394.3 MB, free: 2.117 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.816e-05/0.007266, allocations: 53.06 kB / 394.3 MB, free: 2.062 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001018/0.007368, allocations: 120.5 kB / 394.4 MB, free: 1.914 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001704/0.007539, allocations: 137.9 kB / 394.6 MB, free: 1.758 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/0.007541, allocations: 4 kB / 394.6 MB, free: 1.754 MB / 314.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001985/0.00774, allocations: 165.5 kB / 394.7 MB, free: 1.586 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.083e-05/0.007751, allocations: 8 kB / 394.7 MB, free: 1.578 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.811e-06/0.007756, allocations: 7.938 kB / 394.7 MB, free: 1.57 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.12e-05/0.007768, allocations: 0 / 394.7 MB, free: 1.57 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.766e-05/0.007865, allocations: 35.97 kB / 394.8 MB, free: 1.535 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.104e-06/0.007872, allocations: 8 kB / 394.8 MB, free: 1.527 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.639e-05/0.007929, allocations: 19.94 kB / 394.8 MB, free: 1.508 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.785e-06/0.007936, allocations: 8 kB / 394.8 MB, free: 1.5 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 8.78e-05/0.008024, allocations: 124.1 kB / 394.9 MB, free: 1.375 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 7.85e-05/0.008103, allocations: 120.5 kB / 395.1 MB, free: 1.227 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0001116/0.008214, allocations: 113.9 kB / 395.2 MB, free: 1.094 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.51e-07/0.008215, allocations: 0 / 395.2 MB, free: 1.094 MB / 314.7 MB Notification: Performance of matching and sorting (n=13) (initialization_lambda0): time 0.000146/0.008361, allocations: 141.4 kB / 395.3 MB, free: 0.9492 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.338e-06/0.008365, allocations: 4 kB / 395.3 MB, free: 0.9453 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.502e-06/0.008367, allocations: 4 kB / 395.3 MB, free: 0.9414 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.978e-06/0.008371, allocations: 7.938 kB / 395.3 MB, free: 0.9336 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.488e-05/0.008426, allocations: 23.98 kB / 395.3 MB, free: 0.9102 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.266e-06/0.008429, allocations: 7.938 kB / 395.3 MB, free: 0.9023 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.836e-05/0.008477, allocations: 28.06 kB / 395.4 MB, free: 0.875 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.28e-06/0.008483, allocations: 7.984 kB / 395.4 MB, free: 0.8672 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 5.965e-05/0.008542, allocations: 184.3 kB / 395.6 MB, free: 0.6797 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.606e-05/0.008558, allocations: 7.953 kB / 395.6 MB, free: 0.6719 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.331e-05/0.008582, allocations: 12.72 kB / 395.6 MB, free: 0.6641 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.984e-06/0.008584, allocations: 7.984 kB / 395.6 MB, free: 0.6562 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.727e-06/0.008587, allocations: 0 / 395.6 MB, free: 0.6562 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.495e-06/0.00859, allocations: 0 / 395.6 MB, free: 0.6562 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001383/0.008728, allocations: 184.7 kB / 395.8 MB, free: 444 kB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.01e-07/0.008729, allocations: 4 kB / 395.8 MB, free: 440 kB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.26e-05/0.008801, allocations: 27.92 kB / 395.8 MB, free: 412 kB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.724e-06/0.008803, allocations: 3.984 kB / 395.8 MB, free: 408 kB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.848e-06/0.008813, allocations: 7.938 kB / 395.8 MB, free: 400 kB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.383e-06/0.008814, allocations: 4 kB / 395.8 MB, free: 396 kB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.008815, allocations: 0 / 395.8 MB, free: 396 kB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002676/0.009083, allocations: 255.4 kB / 396.1 MB, free: 124 kB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.246e-05/0.009095, allocations: 11.92 kB / 396.1 MB, free: 112 kB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.404e-05/0.009109, allocations: 7.938 kB / 396.1 MB, free: 104 kB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.654e-05/0.009166, allocations: 11.98 kB / 396.1 MB, free: 92 kB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.902e-05/0.009195, allocations: 7.984 kB / 396.1 MB, free: 84 kB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.264e-06/0.009197, allocations: 0 / 396.1 MB, free: 84 kB / 314.7 MB Notification: Performance of sorting global known variables: time 5.937e-05/0.009257, allocations: 113.8 kB / 396.2 MB, free: 15.97 MB / 330.7 MB Notification: Performance of sort global known variables: time 7e-08/0.009257, allocations: 0 / 396.2 MB, free: 15.97 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0002341/0.009491, allocations: 75.73 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.000403/0.009894, allocations: 0.7827 MB / 397.1 MB, free: 15.09 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0002455/0.01014, allocations: 152.3 kB / 397.2 MB, free: 14.94 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.292e-06/0.01014, allocations: 3.938 kB / 397.2 MB, free: 14.93 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 6.882e-05/0.01021, allocations: 43.91 kB / 397.3 MB, free: 14.89 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002171/0.01043, allocations: 25.86 kB / 397.3 MB, free: 14.87 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001359/0.01179, allocations: 1.843 MB / 399.1 MB, free: 12.9 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.194e-05/0.01185, allocations: 108.1 kB / 399.2 MB, free: 12.78 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 4.289e-05/0.01189, allocations: 12.47 kB / 399.3 MB, free: 12.77 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.615e-05/0.01195, allocations: 52.48 kB / 399.3 MB, free: 12.72 MB / 330.7 MB Notification: Performance of SimCode: time 4.7e-07/0.01195, allocations: 0 / 399.3 MB, free: 12.72 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0139/0.02585, allocations: 3.708 MB / 403 MB, free: 9.148 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.774/6.8, allocations: 7.984 kB / 403 MB, free: 9.141 MB / 330.7 MB " [Timeout remaining time 653] (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 & python3 -m fmpy simulate --output-file DeltaRobot_DeltaRobot.Tests.ServoMotor_test_res.csv --start-time 0 --stop-time 5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.01 DeltaRobot_DeltaRobot_Tests_ServoMotor_test.fmu > DeltaRobot_DeltaRobot.Tests.ServoMotor_test.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 8.561165628954768] Failed to read output from testmodel.py, exit status != 0: 6.878469743765891 7.013379936 7.007386859 Calling exit ...