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: translateModel(DeltaRobot.Tests.ServoMotor_test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="DeltaRobot_DeltaRobot.Tests.ServoMotor_test") translateModel(DeltaRobot.Tests.ServoMotor_test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="DeltaRobot_DeltaRobot.Tests.ServoMotor_test") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001269/0.001269, allocations: 99.55 kB / 15.05 MB, free: 1.105 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.001329/0.001329, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.327/1.327, allocations: 223.2 MB / 239.9 MB, free: 5.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/DeltaRobot 1.0.2/package.mo): time 0.209/0.209, allocations: 5.202 MB / 296.2 MB, free: 4.078 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003473/0.0003473, allocations: 12 kB / 358.2 MB, free: 1.82 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1373/0.1377, allocations: 51.55 MB / 409.8 MB, free: 14.22 MB / 350.1 MB Notification: Performance of NFInst.instantiate(DeltaRobot.Tests.ServoMotor_test): time 0.002582/0.1403, allocations: 1.823 MB / 411.6 MB, free: 12.39 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009743/0.1413, allocations: 0.5849 MB / 412.2 MB, free: 11.8 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001075/0.1414, allocations: 8 kB / 412.2 MB, free: 11.79 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001474/0.1416, allocations: 31.77 kB / 412.2 MB, free: 11.76 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001001/0.1417, allocations: 47.83 kB / 412.3 MB, free: 11.71 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002568/0.142, allocations: 63.92 kB / 412.3 MB, free: 11.65 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002073/0.1422, allocations: 136.1 kB / 412.5 MB, free: 11.52 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002351/0.1424, allocations: 87.03 kB / 412.6 MB, free: 11.43 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.935e-05/0.1425, allocations: 55.73 kB / 412.6 MB, free: 11.38 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001045/0.1426, allocations: 71.7 kB / 412.7 MB, free: 11.3 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.296e-05/0.1427, allocations: 4 kB / 412.7 MB, free: 11.3 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.565e-05/0.1427, allocations: 8 kB / 412.7 MB, free: 11.29 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.394e-05/0.1427, allocations: 27.91 kB / 412.7 MB, free: 11.27 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.836e-05/0.1428, allocations: 57.56 kB / 412.8 MB, free: 11.2 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001723/0.143, allocations: 159.8 kB / 412.9 MB, free: 11.05 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.965e-06/0.143, allocations: 0 / 412.9 MB, free: 11.05 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.264e-05/0.143, allocations: 0 / 412.9 MB, free: 11.05 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.37e-06/0.143, allocations: 3.938 kB / 412.9 MB, free: 11.04 MB / 350.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.0006449/0.1437, allocations: 456.1 kB / 413.4 MB, free: 10.55 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.626e-05/0.1437, allocations: 8.031 kB / 413.4 MB, free: 10.54 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.81e-05/0.1438, allocations: 23.77 kB / 413.4 MB, free: 10.52 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002698/0.1441, allocations: 224.6 kB / 413.6 MB, free: 10.26 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.762e-05/0.1441, allocations: 12 kB / 413.6 MB, free: 10.25 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.029e-05/0.1441, allocations: 23.98 kB / 413.7 MB, free: 10.23 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000437/0.1446, allocations: 224 kB / 413.9 MB, free: 9.992 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.569e-05/0.1446, allocations: 0 / 413.9 MB, free: 9.992 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.684e-05/0.1446, allocations: 12 kB / 413.9 MB, free: 9.98 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.023e-05/0.1447, allocations: 11.95 kB / 413.9 MB, free: 9.969 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003884/0.1451, allocations: 155.8 kB / 414.1 MB, free: 9.816 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001045/0.1461, allocations: 0.7771 MB / 414.8 MB, free: 8.965 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000314/0.1464, allocations: 114.5 kB / 415 MB, free: 8.844 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.598e-05/0.1465, allocations: 7.984 kB / 415 MB, free: 8.836 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.465e-05/0.1465, allocations: 34.5 kB / 415 MB, free: 8.793 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.222e-06/0.1465, allocations: 4 kB / 415 MB, free: 8.789 MB / 350.1 MB Notification: Performance of matching and sorting (n=6): time 0.0005242/0.1471, allocations: 173.6 kB / 415.2 MB, free: 8.613 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.326e-05/0.1471, allocations: 77.11 kB / 415.2 MB, free: 8.52 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001313/0.1473, allocations: 152.7 kB / 415.4 MB, free: 8.363 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.012e-05/0.1473, allocations: 25.7 kB / 415.4 MB, free: 8.332 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001114/0.1474, allocations: 151.7 kB / 415.6 MB, free: 8.18 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.613e-05/0.1474, allocations: 23.72 kB / 415.6 MB, free: 8.156 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.651e-06/0.1474, allocations: 0 / 415.6 MB, free: 8.156 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001256/0.1476, allocations: 318.8 kB / 415.9 MB, free: 7.836 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001478/0.1477, allocations: 55.95 kB / 416 MB, free: 7.781 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001833/0.1479, allocations: 110.8 kB / 416.1 MB, free: 7.648 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000154/0.1481, allocations: 60 kB / 416.1 MB, free: 7.59 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/0.1481, allocations: 0 / 416.1 MB, free: 7.59 MB / 350.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003794/0.1485, allocations: 173.5 kB / 416.3 MB, free: 7.414 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002852/0.1488, allocations: 0.6239 MB / 416.9 MB, free: 6.742 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.055e-06/0.1488, allocations: 4 kB / 416.9 MB, free: 6.738 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.345e-05/0.1488, allocations: 3.953 kB / 416.9 MB, free: 6.734 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001705/0.149, allocations: 35.98 kB / 417 MB, free: 6.699 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.538e-06/0.149, allocations: 7.984 kB / 417 MB, free: 6.691 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001165/0.1491, allocations: 31.83 kB / 417 MB, free: 6.66 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.155e-05/0.1492, allocations: 4 kB / 417 MB, free: 6.656 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.109e-05/0.1492, allocations: 4 kB / 417 MB, free: 6.652 MB / 350.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002504/0.1494, allocations: 115.8 kB / 417.1 MB, free: 6.539 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.913e-06/0.1494, allocations: 0 / 417.1 MB, free: 6.539 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.102e-06/0.1494, allocations: 7.984 kB / 417.1 MB, free: 6.531 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001056/0.1496, allocations: 31.92 kB / 417.2 MB, free: 6.5 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.268e-06/0.1496, allocations: 4 kB / 417.2 MB, free: 6.496 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.779e-05/0.1497, allocations: 20.11 kB / 417.2 MB, free: 6.477 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.566e-06/0.1497, allocations: 8 kB / 417.2 MB, free: 6.469 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001361/0.1498, allocations: 201.1 kB / 417.4 MB, free: 6.262 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.064e-05/0.1499, allocations: 11.91 kB / 417.4 MB, free: 6.25 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.682e-05/0.1499, allocations: 8.719 kB / 417.4 MB, free: 6.242 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.624e-06/0.1499, allocations: 0 / 417.4 MB, free: 6.242 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.142e-06/0.1499, allocations: 4 kB / 417.4 MB, free: 6.238 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.929e-06/0.1499, allocations: 3.984 kB / 417.4 MB, free: 6.234 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002429/0.1502, allocations: 241.4 kB / 417.6 MB, free: 5.949 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.392e-06/0.1502, allocations: 256 / 417.6 MB, free: 5.949 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001466/0.1503, allocations: 35.92 kB / 417.7 MB, free: 5.914 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.924e-06/0.1504, allocations: 0 / 417.7 MB, free: 5.914 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.056e-05/0.1504, allocations: 0 / 417.7 MB, free: 5.914 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.823e-06/0.1504, allocations: 160 / 417.7 MB, free: 5.914 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.1504, allocations: 0 / 417.7 MB, free: 5.914 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005194/0.1509, allocations: 295.3 kB / 418 MB, free: 5.609 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.112e-05/0.151, allocations: 85.05 kB / 418.1 MB, free: 5.508 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.307e-05/0.151, allocations: 4 kB / 418.1 MB, free: 5.504 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001187/0.1511, allocations: 15.98 kB / 418.1 MB, free: 5.488 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.054e-05/0.1512, allocations: 12.05 kB / 418.1 MB, free: 5.477 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.539e-06/0.1512, allocations: 3.938 kB / 418.1 MB, free: 5.473 MB / 350.1 MB Notification: Performance of sorting global known variables: time 7.732e-05/0.1513, allocations: 107.3 kB / 418.2 MB, free: 5.367 MB / 350.1 MB Notification: Performance of sort global known variables: time 4.088e-06/0.1513, allocations: 0 / 418.2 MB, free: 5.367 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003531/0.1516, allocations: 83.5 kB / 418.3 MB, free: 5.285 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001087/0.1517, allocations: 91.25 kB / 418.4 MB, free: 5.188 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004838/0.1522, allocations: 176.5 kB / 418.5 MB, free: 5.016 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.444e-06/0.1522, allocations: 0 / 418.5 MB, free: 5.016 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001598/0.1524, allocations: 59.89 kB / 418.6 MB, free: 4.957 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002795/0.1527, allocations: 19.94 kB / 418.6 MB, free: 4.938 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008372/0.1535, allocations: 0.5244 MB / 419.1 MB, free: 4.387 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002938/0.1539, allocations: 0.7321 MB / 419.9 MB, free: 3.629 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.721e-05/0.1539, allocations: 12.55 kB / 419.9 MB, free: 3.613 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.623e-05/0.154, allocations: 11.44 kB / 419.9 MB, free: 3.602 MB / 350.1 MB Notification: Performance of SimCode: time 4.31e-07/0.154, allocations: 4 kB / 419.9 MB, free: 3.598 MB / 350.1 MB Notification: Performance of Templates: time 0.004218/0.1582, allocations: 1.288 MB / 421.2 MB, free: 2.324 MB / 350.1 MB make -j1 -f DeltaRobot_DeltaRobot.Tests.ServoMotor_test.makefile Environment - environmentSimulation: (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 & ./DeltaRobot_DeltaRobot.Tests.ServoMotor_test -abortSlowSimulation -alarm=480 -lv LOG_STATS > DeltaRobot_DeltaRobot.Tests.ServoMotor_test.pipe 2>&1) Environment - environmentSimulation: