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.0007887/0.0007888, allocations: 90.83 kB / 15.36 MB, free: 0.7383 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.004022/0.004022, allocations: 172.6 kB / 16.26 MB, free: 6.613 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.24/1.24, allocations: 223.3 MB / 240.3 MB, free: 5.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/DeltaRobot 1.0.2/package.mo): time 0.1269/0.1269, allocations: 5.188 MB / 296.6 MB, free: 4.027 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002938/0.0002938, allocations: 8 kB / 359 MB, free: 1.438 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08457/0.08488, allocations: 51.55 MB / 410.5 MB, free: 13.85 MB / 350.1 MB Notification: Performance of NFInst.instantiate(DeltaRobot.Tests.ServoMotor_test): time 0.002365/0.08728, allocations: 1.92 MB / 412.4 MB, free: 11.92 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009469/0.08825, allocations: 0.6157 MB / 413 MB, free: 11.3 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001264/0.0884, allocations: 4 kB / 413 MB, free: 11.29 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001808/0.08859, allocations: 35.77 kB / 413.1 MB, free: 11.26 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 9.802e-05/0.0887, allocations: 31.7 kB / 413.1 MB, free: 11.23 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002497/0.08896, allocations: 87.86 kB / 413.2 MB, free: 11.14 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002209/0.08919, allocations: 203.6 kB / 413.4 MB, free: 10.94 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002033/0.0894, allocations: 100.6 kB / 413.5 MB, free: 10.84 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.243e-05/0.0895, allocations: 59.72 kB / 413.6 MB, free: 10.78 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001064/0.08961, allocations: 67.64 kB / 413.6 MB, free: 10.71 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.575e-05/0.08965, allocations: 8 kB / 413.6 MB, free: 10.71 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.18e-05/0.08967, allocations: 8 kB / 413.6 MB, free: 10.7 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.848e-05/0.08971, allocations: 27.84 kB / 413.7 MB, free: 10.67 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.449e-05/0.0898, allocations: 105.2 kB / 413.8 MB, free: 10.56 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001792/0.08998, allocations: 203.5 kB / 414 MB, free: 10.36 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.605e-06/0.08999, allocations: 0 / 414 MB, free: 10.36 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.414e-06/0.09, allocations: 4 kB / 414 MB, free: 10.36 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.604e-06/0.09002, allocations: 0 / 414 MB, free: 10.36 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.0005505/0.09057, allocations: 446.9 kB / 414.4 MB, free: 9.875 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.465e-05/0.09061, allocations: 16.03 kB / 414.4 MB, free: 9.859 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.663e-05/0.09067, allocations: 16.75 kB / 414.4 MB, free: 9.844 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002179/0.09089, allocations: 228 kB / 414.7 MB, free: 9.582 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.298e-05/0.09091, allocations: 12.38 kB / 414.7 MB, free: 9.57 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.709e-05/0.09096, allocations: 24.28 kB / 414.7 MB, free: 9.547 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004123/0.09137, allocations: 228.4 kB / 414.9 MB, free: 9.309 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.295e-05/0.0914, allocations: 0 / 414.9 MB, free: 9.309 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.088e-05/0.09142, allocations: 8 kB / 414.9 MB, free: 9.301 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.692e-06/0.09143, allocations: 4 kB / 414.9 MB, free: 9.297 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000385/0.09182, allocations: 163.8 kB / 415.1 MB, free: 9.137 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009754/0.09281, allocations: 0.785 MB / 415.9 MB, free: 8.273 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002997/0.09312, allocations: 118.5 kB / 416 MB, free: 8.148 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000147/0.09328, allocations: 44.95 kB / 416 MB, free: 8.102 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.657e-05/0.0933, allocations: 0 / 416 MB, free: 8.102 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.801e-05/0.09334, allocations: 50.48 kB / 416.1 MB, free: 8.043 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 8.32e-07/0.09334, allocations: 4 kB / 416.1 MB, free: 8.039 MB / 350.1 MB Notification: Performance of matching and sorting (n=6): time 0.0005361/0.09389, allocations: 169.5 kB / 416.3 MB, free: 7.867 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.417e-05/0.09394, allocations: 85.09 kB / 416.3 MB, free: 7.766 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001251/0.09407, allocations: 148 kB / 416.5 MB, free: 7.613 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.744e-05/0.0941, allocations: 29.7 kB / 416.5 MB, free: 7.578 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.872e-05/0.09418, allocations: 155.6 kB / 416.7 MB, free: 7.422 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.249e-05/0.09421, allocations: 27.73 kB / 416.7 MB, free: 7.395 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.764e-05/0.09424, allocations: 13.72 kB / 416.7 MB, free: 7.375 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 8.79e-05/0.09434, allocations: 322.8 kB / 417 MB, free: 7.051 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001543/0.0945, allocations: 47.97 kB / 417.1 MB, free: 7.004 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001904/0.0947, allocations: 110.8 kB / 417.2 MB, free: 6.871 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003192/0.09502, allocations: 157.8 kB / 417.3 MB, free: 6.695 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.09503, allocations: 0 / 417.3 MB, free: 6.695 MB / 350.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003944/0.09544, allocations: 197.2 kB / 417.5 MB, free: 6.496 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.508e-05/0.09552, allocations: 138.3 kB / 417.7 MB, free: 6.336 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.869e-06/0.09553, allocations: 0 / 417.7 MB, free: 6.336 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.192e-05/0.09555, allocations: 4 kB / 417.7 MB, free: 6.332 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001599/0.09571, allocations: 39.92 kB / 417.7 MB, free: 6.293 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.205e-06/0.09573, allocations: 4 kB / 417.7 MB, free: 6.289 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001164/0.09585, allocations: 19.98 kB / 417.7 MB, free: 6.27 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.176e-05/0.09587, allocations: 7.984 kB / 417.7 MB, free: 6.262 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.342e-06/0.09588, allocations: 4 kB / 417.7 MB, free: 6.258 MB / 350.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002569/0.09614, allocations: 111.8 kB / 417.8 MB, free: 6.148 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.737e-06/0.09616, allocations: 4 kB / 417.8 MB, free: 6.145 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.078e-06/0.09617, allocations: 3.938 kB / 417.8 MB, free: 6.141 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001062/0.09628, allocations: 40.16 kB / 417.9 MB, free: 6.102 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.424e-06/0.09629, allocations: 0 / 417.9 MB, free: 6.102 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.003e-05/0.09638, allocations: 23.84 kB / 417.9 MB, free: 6.078 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.594e-06/0.0964, allocations: 4 kB / 417.9 MB, free: 6.074 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.0001213/0.09652, allocations: 213 kB / 418.1 MB, free: 5.855 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.194e-05/0.09656, allocations: 7.906 kB / 418.1 MB, free: 5.848 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.38e-05/0.0966, allocations: 16.66 kB / 418.1 MB, free: 5.832 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.654e-06/0.09661, allocations: 4 kB / 418.1 MB, free: 5.828 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.356e-06/0.09661, allocations: 0 / 418.1 MB, free: 5.828 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.394e-06/0.09662, allocations: 0 / 418.1 MB, free: 5.828 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002268/0.09685, allocations: 237.6 kB / 418.4 MB, free: 5.547 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.09686, allocations: 0 / 418.4 MB, free: 5.547 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001406/0.09701, allocations: 23.98 kB / 418.4 MB, free: 5.523 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.264e-06/0.09702, allocations: 0 / 418.4 MB, free: 5.523 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.156e-05/0.09703, allocations: 7.938 kB / 418.4 MB, free: 5.516 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.487e-06/0.09704, allocations: 0 / 418.4 MB, free: 5.516 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.09705, allocations: 7.938 kB / 418.4 MB, free: 5.508 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005259/0.09758, allocations: 291.5 kB / 418.7 MB, free: 5.207 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.642e-05/0.09763, allocations: 81.02 kB / 418.8 MB, free: 5.109 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.253e-05/0.09765, allocations: 7.969 kB / 418.8 MB, free: 5.102 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001285/0.09779, allocations: 24.05 kB / 418.8 MB, free: 5.078 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.319e-05/0.09783, allocations: 3.984 kB / 418.8 MB, free: 5.074 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.551e-06/0.09784, allocations: 4 kB / 418.8 MB, free: 5.07 MB / 350.1 MB Notification: Performance of sorting global known variables: time 7.024e-05/0.09791, allocations: 103.3 kB / 418.9 MB, free: 4.969 MB / 350.1 MB Notification: Performance of sort global known variables: time 2e-07/0.09792, allocations: 0 / 418.9 MB, free: 4.969 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003531/0.09828, allocations: 75.53 kB / 419 MB, free: 4.895 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 8.475e-05/0.09837, allocations: 99.25 kB / 419.1 MB, free: 4.789 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004687/0.09885, allocations: 180 kB / 419.3 MB, free: 4.613 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.09886, allocations: 0 / 419.3 MB, free: 4.613 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001427/0.09901, allocations: 56.34 kB / 419.3 MB, free: 4.559 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003342/0.09935, allocations: 27.78 kB / 419.4 MB, free: 4.535 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007543/0.1001, allocations: 0.54 MB / 419.9 MB, free: 3.969 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002437/0.1004, allocations: 0.7203 MB / 420.6 MB, free: 3.223 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.754e-05/0.1004, allocations: 12.56 kB / 420.6 MB, free: 3.211 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.718e-05/0.1005, allocations: 11.44 kB / 420.6 MB, free: 3.199 MB / 350.1 MB Notification: Performance of SimCode: time 3.81e-07/0.1005, allocations: 0 / 420.6 MB, free: 3.199 MB / 350.1 MB Notification: Performance of Templates: time 0.003561/0.1041, allocations: 1.342 MB / 422 MB, free: 1.871 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: