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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/DeltaRobot 1.0.2/package.mo", uses=false) 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007382/0.007382, allocations: 99.77 kB / 15.73 MB, free: 6.012 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001754/0.001754, allocations: 193.5 kB / 16.67 MB, free: 5.93 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.465/1.465, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/DeltaRobot 1.0.2/package.mo): time 0.02777/0.02777, allocations: 5.226 MB / 295.8 MB, free: 9.57 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001936/0.001936, allocations: 67.89 kB / 408.6 MB, free: 26.62 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1234/0.1253, allocations: 50.58 MB / 459.1 MB, free: 8.082 MB / 334.1 MB Notification: Performance of NFInst.instantiate(DeltaRobot.Tests.ServoMotor_test): time 0.004294/0.1297, allocations: 2.223 MB / 461.4 MB, free: 5.848 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001197/0.1309, allocations: 0.6389 MB / 462 MB, free: 5.203 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001061/0.131, allocations: 4 kB / 462 MB, free: 5.199 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002432/0.1313, allocations: 39.64 kB / 462.1 MB, free: 5.16 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 9.956e-05/0.1314, allocations: 43.62 kB / 462.1 MB, free: 5.117 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003082/0.1317, allocations: 95.81 kB / 462.2 MB, free: 5.023 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002882/0.132, allocations: 211.7 kB / 462.4 MB, free: 4.812 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002812/0.1323, allocations: 121 kB / 462.5 MB, free: 4.691 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001248/0.1325, allocations: 83.72 kB / 462.6 MB, free: 4.609 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001433/0.1326, allocations: 83.62 kB / 462.7 MB, free: 4.527 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.531e-05/0.1327, allocations: 24 kB / 462.7 MB, free: 4.504 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.796e-05/0.1327, allocations: 20 kB / 462.7 MB, free: 4.484 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.147e-05/0.1328, allocations: 47.83 kB / 462.8 MB, free: 4.438 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001075/0.1329, allocations: 91.59 kB / 462.9 MB, free: 4.348 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003369/0.1332, allocations: 219.2 kB / 463.1 MB, free: 4.133 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.919e-06/0.1332, allocations: 4 kB / 463.1 MB, free: 4.129 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.1332, allocations: 0 / 463.1 MB, free: 4.129 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.026e-05/0.1332, allocations: 0 / 463.1 MB, free: 4.129 MB / 334.1 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.0007652/0.134, allocations: 486.6 kB / 463.5 MB, free: 3.605 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.511e-05/0.1341, allocations: 8.031 kB / 463.6 MB, free: 3.598 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.592e-05/0.1341, allocations: 54.73 kB / 463.6 MB, free: 3.535 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.947e-05/0.1342, allocations: 16.84 kB / 463.6 MB, free: 3.52 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003612/0.1346, allocations: 240 kB / 463.9 MB, free: 3.246 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.816e-05/0.1346, allocations: 12.38 kB / 463.9 MB, free: 3.234 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.583e-05/0.1346, allocations: 20.38 kB / 463.9 MB, free: 3.215 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004626/0.1351, allocations: 216.2 kB / 464.1 MB, free: 2.988 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.717e-05/0.1351, allocations: 0 / 464.1 MB, free: 2.988 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.231e-05/0.1352, allocations: 12 kB / 464.1 MB, free: 2.977 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.276e-05/0.1352, allocations: 4 kB / 464.1 MB, free: 2.973 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003941/0.1356, allocations: 139.8 kB / 464.3 MB, free: 2.836 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001127/0.1367, allocations: 0.7618 MB / 465 MB, free: 2 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003197/0.1371, allocations: 94.45 kB / 465.1 MB, free: 1.898 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001554/0.1372, allocations: 44.95 kB / 465.2 MB, free: 1.852 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.59e-05/0.1373, allocations: 7.938 kB / 465.2 MB, free: 1.844 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.476e-05/0.1373, allocations: 38.55 kB / 465.2 MB, free: 1.797 MB / 334.1 MB Notification: Performance of pre-optimization done (n=6): time 1.183e-06/0.1373, allocations: 0 / 465.2 MB, free: 1.797 MB / 334.1 MB Notification: Performance of matching and sorting (n=6): time 0.0005494/0.1379, allocations: 145.5 kB / 465.3 MB, free: 1.648 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.109e-05/0.1379, allocations: 85.09 kB / 465.4 MB, free: 1.547 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001519/0.1381, allocations: 148.5 kB / 465.6 MB, free: 1.395 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.122e-05/0.1381, allocations: 25.7 kB / 465.6 MB, free: 1.363 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001149/0.1382, allocations: 148.1 kB / 465.7 MB, free: 1.215 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.947e-05/0.1383, allocations: 35.66 kB / 465.8 MB, free: 1.18 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.008e-05/0.1383, allocations: 33.67 kB / 465.8 MB, free: 1.141 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001571/0.1385, allocations: 322.8 kB / 466.1 MB, free: 0.8164 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001709/0.1387, allocations: 57.06 kB / 466.2 MB, free: 0.7578 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001925/0.1389, allocations: 90.83 kB / 466.3 MB, free: 0.6445 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000337/0.1392, allocations: 137.9 kB / 466.4 MB, free: 500 kB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.505e-06/0.1392, allocations: 4 kB / 466.4 MB, free: 496 kB / 334.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003998/0.1396, allocations: 161.4 kB / 466.6 MB, free: 328 kB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.1e-05/0.1397, allocations: 8 kB / 466.6 MB, free: 320 kB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.231e-06/0.1397, allocations: 0 / 466.6 MB, free: 320 kB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.823e-05/0.1397, allocations: 4.188 kB / 466.6 MB, free: 316 kB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001794/0.1399, allocations: 39.92 kB / 466.6 MB, free: 276 kB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.352e-05/0.1399, allocations: 8.062 kB / 466.6 MB, free: 268 kB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001187/0.14, allocations: 19.88 kB / 466.6 MB, free: 248 kB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.396e-05/0.1401, allocations: 7.984 kB / 466.6 MB, free: 240 kB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001882/0.1403, allocations: 124.8 kB / 466.8 MB, free: 112 kB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001775/0.1404, allocations: 94.81 kB / 466.9 MB, free: 15.99 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002526/0.1407, allocations: 113.9 kB / 467 MB, free: 15.86 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.82e-07/0.1407, allocations: 0 / 467 MB, free: 15.86 MB / 350.1 MB Notification: Performance of matching and sorting (n=13) (initialization_lambda0): time 0.0003001/0.141, allocations: 133.5 kB / 467.1 MB, free: 15.72 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.117e-06/0.141, allocations: 8.125 kB / 467.1 MB, free: 15.71 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.637e-06/0.1411, allocations: 8 kB / 467.1 MB, free: 15.71 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.124e-06/0.1411, allocations: 0 / 467.1 MB, free: 15.71 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001292/0.1412, allocations: 35.91 kB / 467.2 MB, free: 15.67 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.773e-06/0.1412, allocations: 4 kB / 467.2 MB, free: 15.67 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.942e-05/0.1413, allocations: 11.98 kB / 467.2 MB, free: 15.66 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.614e-06/0.1413, allocations: 8 kB / 467.2 MB, free: 15.65 MB / 350.1 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 0.0001369/0.1415, allocations: 184.2 kB / 467.4 MB, free: 15.46 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.51e-05/0.1415, allocations: 15.84 kB / 467.4 MB, free: 15.45 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.684e-05/0.1416, allocations: 16.72 kB / 467.4 MB, free: 15.43 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.368e-06/0.1416, allocations: 7.922 kB / 467.4 MB, free: 15.42 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.32e-06/0.1416, allocations: 0 / 467.4 MB, free: 15.42 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.121e-06/0.1416, allocations: 4 kB / 467.4 MB, free: 15.41 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002823/0.1419, allocations: 229.5 kB / 467.6 MB, free: 15.14 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.757e-06/0.1419, allocations: 3.938 kB / 467.6 MB, free: 15.14 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001523/0.1421, allocations: 27.98 kB / 467.7 MB, free: 15.11 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/0.1421, allocations: 3.938 kB / 467.7 MB, free: 15.11 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.199e-05/0.1421, allocations: 0 / 467.7 MB, free: 15.11 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.1421, allocations: 0 / 467.7 MB, free: 15.11 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.163e-06/0.1421, allocations: 4 kB / 467.7 MB, free: 15.1 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005547/0.1427, allocations: 259.4 kB / 467.9 MB, free: 14.83 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.968e-05/0.1427, allocations: 85 kB / 468 MB, free: 14.73 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.14e-05/0.1428, allocations: 8 kB / 468 MB, free: 14.72 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001184/0.1429, allocations: 11.98 kB / 468 MB, free: 14.71 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.391e-05/0.143, allocations: 15.92 kB / 468 MB, free: 14.7 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.719e-06/0.143, allocations: 0 / 468 MB, free: 14.7 MB / 350.1 MB Notification: Performance of sorting global known variables: time 9.361e-05/0.1431, allocations: 107.3 kB / 468.1 MB, free: 14.59 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1431, allocations: 0 / 468.1 MB, free: 14.59 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003675/0.1434, allocations: 71.73 kB / 468.2 MB, free: 14.52 MB / 350.1 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.0008772/0.1443, allocations: 0.7951 MB / 469 MB, free: 13.7 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0005086/0.1448, allocations: 155.8 kB / 469.2 MB, free: 13.55 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.1449, allocations: 0 / 469.2 MB, free: 13.55 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001442/0.145, allocations: 43.97 kB / 469.2 MB, free: 13.5 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003503/0.1454, allocations: 19.61 kB / 469.2 MB, free: 13.49 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002685/0.1481, allocations: 1.911 MB / 471.1 MB, free: 11.46 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004273/0.1485, allocations: 0.7201 MB / 471.9 MB, free: 10.71 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.773e-05/0.1486, allocations: 8.547 kB / 471.9 MB, free: 10.7 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.98e-05/0.1487, allocations: 55.41 kB / 471.9 MB, free: 10.65 MB / 350.1 MB Notification: Performance of SimCode: time 4.51e-07/0.1487, allocations: 0 / 471.9 MB, free: 10.65 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03474/0.1834, allocations: 2.913 MB / 474.8 MB, free: 7.812 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.977/8.161, allocations: 11.92 kB / 474.8 MB, free: 7.801 MB / 350.1 MB (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 --timeout=50 --tolerance=1e-06 DeltaRobot_DeltaRobot_Tests_ServoMotor_test.fmu > DeltaRobot_DeltaRobot.Tests.ServoMotor_test.pipe 2>&1)