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.006968/0.006968, allocations: 97.97 kB / 15.73 MB, free: 6.062 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.001411/0.001411, allocations: 202.3 kB / 16.68 MB, free: 5.977 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.504/1.504, allocations: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/DeltaRobot 1.0.2/package.mo): time 0.1959/0.1959, allocations: 5.201 MB / 295.7 MB, free: 2.949 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001266/0.001266, allocations: 59.89 kB / 409.1 MB, free: 13.95 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3553/0.3565, allocations: 50.56 MB / 459.6 MB, free: 19.88 MB / 350.1 MB Notification: Performance of NFInst.instantiate(DeltaRobot.Tests.ServoMotor_test): time 0.003738/0.3603, allocations: 2.232 MB / 461.8 MB, free: 18.34 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009992/0.3614, allocations: 0.6301 MB / 462.5 MB, free: 17.88 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001115/0.3615, allocations: 3 kB / 462.5 MB, free: 17.88 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002508/0.3617, allocations: 45.44 kB / 462.5 MB, free: 17.86 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 9.005e-05/0.3618, allocations: 45.73 kB / 462.6 MB, free: 17.82 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002959/0.3622, allocations: 88.94 kB / 462.7 MB, free: 17.77 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002428/0.3624, allocations: 214.1 kB / 462.9 MB, free: 17.66 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002685/0.3627, allocations: 118.1 kB / 463 MB, free: 17.6 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001139/0.3628, allocations: 75.5 kB / 463.1 MB, free: 17.57 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001391/0.363, allocations: 88.92 kB / 463.1 MB, free: 17.52 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.922e-05/0.363, allocations: 21.62 kB / 463.2 MB, free: 17.52 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.474e-05/0.363, allocations: 18.97 kB / 463.2 MB, free: 17.52 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.4e-05/0.3631, allocations: 48.52 kB / 463.2 MB, free: 17.48 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.977e-05/0.3632, allocations: 97.8 kB / 463.3 MB, free: 17.42 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003285/0.3635, allocations: 219.9 kB / 463.5 MB, free: 17.32 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.574e-06/0.3635, allocations: 1.641 kB / 463.5 MB, free: 17.32 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.715e-06/0.3635, allocations: 0 / 463.5 MB, free: 17.32 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.184e-06/0.3636, allocations: 0 / 463.5 MB, free: 17.32 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.000691/0.3643, allocations: 486.9 kB / 464 MB, free: 16.89 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.892e-05/0.3643, allocations: 9.531 kB / 464 MB, free: 16.89 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.427e-05/0.3644, allocations: 21.66 kB / 464 MB, free: 16.88 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002978/0.3647, allocations: 227.3 kB / 464.3 MB, free: 16.65 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.219e-05/0.3647, allocations: 19.09 kB / 464.3 MB, free: 16.64 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.174e-05/0.3647, allocations: 18.59 kB / 464.3 MB, free: 16.63 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004399/0.3652, allocations: 221.2 kB / 464.5 MB, free: 16.51 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.923e-05/0.3652, allocations: 4.656 kB / 464.5 MB, free: 16.51 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.312e-05/0.3652, allocations: 11.16 kB / 464.5 MB, free: 16.5 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.602e-06/0.3653, allocations: 2.844 kB / 464.5 MB, free: 16.5 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003803/0.3656, allocations: 137.8 kB / 464.7 MB, free: 16.46 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001076/0.3667, allocations: 0.7675 MB / 465.4 MB, free: 15.85 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003171/0.3671, allocations: 99.5 kB / 465.5 MB, free: 15.81 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001393/0.3672, allocations: 47.48 kB / 465.6 MB, free: 15.79 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.567e-05/0.3672, allocations: 0 / 465.6 MB, free: 15.79 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.333e-05/0.3673, allocations: 41.52 kB / 465.6 MB, free: 15.74 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 9.12e-07/0.3673, allocations: 0 / 465.6 MB, free: 15.74 MB / 350.1 MB Notification: Performance of matching and sorting (n=6): time 0.0005174/0.3678, allocations: 147.8 kB / 465.8 MB, free: 15.68 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.752e-05/0.3678, allocations: 79.11 kB / 465.8 MB, free: 15.59 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001246/0.368, allocations: 151.7 kB / 466 MB, free: 15.47 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.373e-05/0.368, allocations: 27.02 kB / 466 MB, free: 15.44 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.283e-05/0.3681, allocations: 152.1 kB / 466.2 MB, free: 15.3 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.102e-05/0.3681, allocations: 24.42 kB / 466.2 MB, free: 15.29 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.333e-05/0.3682, allocations: 33.44 kB / 466.2 MB, free: 15.26 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 6.368e-05/0.3682, allocations: 320.3 kB / 466.5 MB, free: 14.94 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001578/0.3684, allocations: 51.33 kB / 466.6 MB, free: 14.92 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001743/0.3686, allocations: 95.84 kB / 466.7 MB, free: 14.84 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003265/0.3689, allocations: 146.2 kB / 466.8 MB, free: 14.75 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.746e-06/0.3689, allocations: 0.8438 kB / 466.8 MB, free: 14.75 MB / 350.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003914/0.3693, allocations: 161.5 kB / 467 MB, free: 14.68 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.896e-05/0.3694, allocations: 5.188 kB / 467 MB, free: 14.68 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.334e-06/0.3694, allocations: 2.406 kB / 467 MB, free: 14.68 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.263e-05/0.3694, allocations: 6.938 kB / 467 MB, free: 14.67 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001876/0.3696, allocations: 31.39 kB / 467 MB, free: 14.67 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.638e-06/0.3696, allocations: 11.91 kB / 467 MB, free: 14.66 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001172/0.3697, allocations: 21.81 kB / 467.1 MB, free: 14.66 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.238e-05/0.3697, allocations: 5.344 kB / 467.1 MB, free: 14.66 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001491/0.3699, allocations: 128.1 kB / 467.2 MB, free: 14.56 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001336/0.37, allocations: 81.77 kB / 467.3 MB, free: 14.48 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002192/0.3703, allocations: 120.1 kB / 467.4 MB, free: 14.39 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.092e-06/0.3703, allocations: 0 / 467.4 MB, free: 14.39 MB / 350.1 MB Notification: Performance of matching and sorting (n=13) (initialization_lambda0): time 0.0003091/0.3706, allocations: 134 kB / 467.5 MB, free: 14.33 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.119e-05/0.3706, allocations: 13.88 kB / 467.5 MB, free: 14.32 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.388e-06/0.3706, allocations: 1.672 kB / 467.5 MB, free: 14.32 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.236e-06/0.3706, allocations: 2.312 kB / 467.5 MB, free: 14.32 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001156/0.3708, allocations: 35.73 kB / 467.6 MB, free: 14.32 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.901e-06/0.3708, allocations: 3.328 kB / 467.6 MB, free: 14.32 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000102/0.3709, allocations: 14.98 kB / 467.6 MB, free: 14.31 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.167e-06/0.3709, allocations: 5.031 kB / 467.6 MB, free: 14.31 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 8.791e-05/0.371, allocations: 187.2 kB / 467.8 MB, free: 14.12 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.039e-05/0.371, allocations: 21.33 kB / 467.8 MB, free: 14.11 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.493e-05/0.3711, allocations: 16.17 kB / 467.8 MB, free: 14.09 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.078e-06/0.3711, allocations: 1.719 kB / 467.8 MB, free: 14.09 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.596e-06/0.3711, allocations: 4 kB / 467.8 MB, free: 14.09 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.837e-06/0.3711, allocations: 0.7969 kB / 467.8 MB, free: 14.09 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002759/0.3714, allocations: 230 kB / 468 MB, free: 13.87 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.3714, allocations: 0 / 468 MB, free: 13.87 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001522/0.3716, allocations: 30.27 kB / 468.1 MB, free: 13.86 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.344e-06/0.3716, allocations: 1.25 kB / 468.1 MB, free: 13.86 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.285e-05/0.3716, allocations: 9.047 kB / 468.1 MB, free: 13.86 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.814e-06/0.3716, allocations: 0.6562 kB / 468.1 MB, free: 13.86 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.3716, allocations: 0 / 468.1 MB, free: 13.86 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004914/0.3721, allocations: 251.4 kB / 468.3 MB, free: 13.7 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.484e-05/0.3721, allocations: 95.05 kB / 468.4 MB, free: 13.59 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.48e-05/0.3722, allocations: 6.125 kB / 468.4 MB, free: 13.58 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001188/0.3723, allocations: 10.89 kB / 468.4 MB, free: 13.58 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.801e-05/0.3724, allocations: 5.281 kB / 468.4 MB, free: 13.58 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.269e-06/0.3724, allocations: 1.531 kB / 468.4 MB, free: 13.58 MB / 350.1 MB Notification: Performance of sorting global known variables: time 8.133e-05/0.3725, allocations: 113.8 kB / 468.6 MB, free: 13.5 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.3725, allocations: 0 / 468.6 MB, free: 13.5 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003751/0.3728, allocations: 77.8 kB / 468.6 MB, free: 13.47 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.0001081/0.373, allocations: 102.2 kB / 468.7 MB, free: 13.38 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0005062/0.3735, allocations: 151.8 kB / 468.9 MB, free: 13.34 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.3735, allocations: 0.75 kB / 468.9 MB, free: 13.34 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001376/0.3736, allocations: 46.28 kB / 468.9 MB, free: 13.33 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003507/0.374, allocations: 25.22 kB / 469 MB, free: 13.32 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008236/0.3748, allocations: 423.3 kB / 469.4 MB, free: 13.02 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002013/0.375, allocations: 0.7243 MB / 470.1 MB, free: 12.32 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.619e-05/0.3751, allocations: 19.92 kB / 470.1 MB, free: 12.31 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.51e-05/0.3751, allocations: 11.56 kB / 470.1 MB, free: 12.31 MB / 350.1 MB Notification: Performance of SimCode: time 8.82e-07/0.3751, allocations: 1.375 kB / 470.1 MB, free: 12.31 MB / 350.1 MB Notification: Performance of Templates: time 0.004874/0.38, allocations: 1.484 MB / 471.6 MB, free: 12.17 MB / 350.1 MB make -j1 -f DeltaRobot_DeltaRobot.Tests.ServoMotor_test.makefile (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)