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.001654/0.001654, allocations: 101.6 kB / 16.37 MB, free: 6.43 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.001951/0.001951, allocations: 195.8 kB / 17.31 MB, free: 5.781 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.383/1.383, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/DeltaRobot 1.0.2/package.mo): time 0.02535/0.02535, allocations: 5.217 MB / 296.4 MB, free: 9.625 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001289/0.001289, allocations: 59.91 kB / 358.6 MB, free: 11.33 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2502/0.2515, allocations: 50.56 MB / 409.2 MB, free: 29.94 MB / 302.1 MB Notification: Performance of NFInst.instantiate(DeltaRobot.Tests.ServoMotor_test): time 0.003294/0.2548, allocations: 2.226 MB / 411.4 MB, free: 27.72 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009684/0.2558, allocations: 0.635 MB / 412.1 MB, free: 27.08 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001264/0.256, allocations: 4 kB / 412.1 MB, free: 27.07 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000261/0.2562, allocations: 47.62 kB / 412.1 MB, free: 27.03 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 8.287e-05/0.2563, allocations: 39.64 kB / 412.1 MB, free: 26.99 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002422/0.2566, allocations: 91.83 kB / 412.2 MB, free: 26.9 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001877/0.2568, allocations: 207.7 kB / 412.4 MB, free: 26.7 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002216/0.257, allocations: 124.8 kB / 412.6 MB, free: 26.57 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.366e-05/0.2571, allocations: 83.7 kB / 412.6 MB, free: 26.48 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.711e-05/0.2572, allocations: 83.62 kB / 412.7 MB, free: 26.4 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 3.031e-05/0.2573, allocations: 24 kB / 412.7 MB, free: 26.38 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.735e-05/0.2573, allocations: 20 kB / 412.8 MB, free: 26.36 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 3.354e-05/0.2573, allocations: 43.91 kB / 412.8 MB, free: 26.32 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 7.29e-05/0.2574, allocations: 99.47 kB / 412.9 MB, free: 26.22 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001839/0.2576, allocations: 217 kB / 413.1 MB, free: 26.01 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.629e-06/0.2576, allocations: 0 / 413.1 MB, free: 26.01 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.383e-06/0.2576, allocations: 0 / 413.1 MB, free: 26.01 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.552e-06/0.2576, allocations: 4 kB / 413.1 MB, free: 26.01 MB / 302.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.000534/0.2582, allocations: 486.9 kB / 413.6 MB, free: 25.48 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.035e-05/0.2582, allocations: 11.97 kB / 413.6 MB, free: 25.47 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.718e-05/0.2583, allocations: 20.66 kB / 413.6 MB, free: 25.45 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002338/0.2585, allocations: 228 kB / 413.9 MB, free: 25.19 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.546e-05/0.2585, allocations: 16.38 kB / 413.9 MB, free: 25.18 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.363e-05/0.2586, allocations: 16.38 kB / 413.9 MB, free: 25.16 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003508/0.2589, allocations: 224.3 kB / 414.1 MB, free: 24.93 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.687e-05/0.2589, allocations: 7.906 kB / 414.1 MB, free: 24.92 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.918e-05/0.259, allocations: 8 kB / 414.1 MB, free: 24.91 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.676e-06/0.259, allocations: 4 kB / 414.1 MB, free: 24.91 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003169/0.2593, allocations: 143.8 kB / 414.3 MB, free: 24.77 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008141/0.2601, allocations: 0.7538 MB / 415 MB, free: 23.94 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000253/0.2604, allocations: 102.5 kB / 415.1 MB, free: 23.83 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001199/0.2605, allocations: 44.89 kB / 415.2 MB, free: 23.78 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.331e-05/0.2606, allocations: 0 / 415.2 MB, free: 23.78 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.928e-05/0.2606, allocations: 34.5 kB / 415.2 MB, free: 23.74 MB / 302.1 MB Notification: Performance of pre-optimization done (n=6): time 9.02e-07/0.2606, allocations: 4 kB / 415.2 MB, free: 23.73 MB / 302.1 MB Notification: Performance of matching and sorting (n=6): time 0.0004476/0.261, allocations: 145.5 kB / 415.3 MB, free: 23.59 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.733e-05/0.2611, allocations: 81.11 kB / 415.4 MB, free: 23.49 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001053/0.2612, allocations: 149.3 kB / 415.6 MB, free: 23.34 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.263e-05/0.2612, allocations: 29.7 kB / 415.6 MB, free: 23.3 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.837e-05/0.2613, allocations: 143.8 kB / 415.7 MB, free: 23.15 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.591e-05/0.2613, allocations: 23.66 kB / 415.8 MB, free: 23.13 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.348e-05/0.2614, allocations: 33.7 kB / 415.8 MB, free: 23.09 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 5.558e-05/0.2614, allocations: 322.8 kB / 416.1 MB, free: 22.77 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001342/0.2616, allocations: 48.77 kB / 416.2 MB, free: 22.71 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000142/0.2617, allocations: 94.83 kB / 416.2 MB, free: 22.6 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002492/0.262, allocations: 141.9 kB / 416.4 MB, free: 22.44 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.262, allocations: 0 / 416.4 MB, free: 22.44 MB / 302.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003177/0.2623, allocations: 173.3 kB / 416.6 MB, free: 22.26 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.458e-05/0.2623, allocations: 6.344 kB / 416.6 MB, free: 22.26 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.909e-06/0.2623, allocations: 0 / 416.6 MB, free: 22.26 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.474e-05/0.2623, allocations: 7.984 kB / 416.6 MB, free: 22.25 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001538/0.2625, allocations: 31.97 kB / 416.6 MB, free: 22.22 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.825e-06/0.2625, allocations: 4.078 kB / 416.6 MB, free: 22.21 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000105/0.2626, allocations: 27.86 kB / 416.6 MB, free: 22.19 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.03e-05/0.2626, allocations: 7.984 kB / 416.6 MB, free: 22.18 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001239/0.2628, allocations: 128.2 kB / 416.8 MB, free: 22.05 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 9.838e-05/0.2629, allocations: 78.84 kB / 416.8 MB, free: 21.95 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000189/0.2631, allocations: 117.9 kB / 417 MB, free: 21.81 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.863e-06/0.2631, allocations: 0 / 417 MB, free: 21.81 MB / 302.1 MB Notification: Performance of matching and sorting (n=13) (initialization_lambda0): time 0.0002348/0.2633, allocations: 145.3 kB / 417.1 MB, free: 21.66 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.061e-06/0.2633, allocations: 7.938 kB / 417.1 MB, free: 21.66 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.613e-06/0.2633, allocations: 7.938 kB / 417.1 MB, free: 21.65 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.725e-06/0.2634, allocations: 4 kB / 417.1 MB, free: 21.64 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.501e-05/0.2635, allocations: 27.98 kB / 417.1 MB, free: 21.62 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.837e-06/0.2635, allocations: 7.938 kB / 417.2 MB, free: 21.61 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.473e-05/0.2636, allocations: 15.89 kB / 417.2 MB, free: 21.59 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.002e-06/0.2636, allocations: 8.188 kB / 417.2 MB, free: 21.59 MB / 302.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 5.815e-05/0.2636, allocations: 188.2 kB / 417.4 MB, free: 21.39 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.988e-05/0.2637, allocations: 11.84 kB / 417.4 MB, free: 21.38 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.262e-05/0.2637, allocations: 12.95 kB / 417.4 MB, free: 21.37 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.344e-06/0.2637, allocations: 4 kB / 417.4 MB, free: 21.37 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.26e-06/0.2637, allocations: 4 kB / 417.4 MB, free: 21.36 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.705e-06/0.2637, allocations: 0 / 417.4 MB, free: 21.36 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001767/0.2639, allocations: 233.5 kB / 417.6 MB, free: 21.09 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.71e-07/0.2639, allocations: 0 / 417.6 MB, free: 21.09 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001359/0.2641, allocations: 35.91 kB / 417.7 MB, free: 21.05 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.764e-06/0.2641, allocations: 0 / 417.7 MB, free: 21.05 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.091e-05/0.2641, allocations: 0 / 417.7 MB, free: 21.05 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.293e-06/0.2641, allocations: 3.938 kB / 417.7 MB, free: 21.05 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.2641, allocations: 0 / 417.7 MB, free: 21.05 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004056/0.2645, allocations: 255.4 kB / 417.9 MB, free: 20.78 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.631e-05/0.2646, allocations: 84.95 kB / 418 MB, free: 20.68 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.183e-05/0.2646, allocations: 8.031 kB / 418 MB, free: 20.67 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001145/0.2647, allocations: 11.97 kB / 418 MB, free: 20.66 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.289e-05/0.2647, allocations: 4 kB / 418 MB, free: 20.66 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.478e-06/0.2647, allocations: 0 / 418 MB, free: 20.66 MB / 302.1 MB Notification: Performance of sorting global known variables: time 5.493e-05/0.2648, allocations: 115.2 kB / 418.1 MB, free: 20.54 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.2648, allocations: 4.062 kB / 418.1 MB, free: 20.54 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003485/0.2652, allocations: 71.59 kB / 418.2 MB, free: 20.47 MB / 302.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.101e-05/0.2653, allocations: 96.05 kB / 418.3 MB, free: 20.37 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0004169/0.2657, allocations: 160.4 kB / 418.5 MB, free: 20.21 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.2657, allocations: 0 / 418.5 MB, free: 20.21 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001132/0.2658, allocations: 35.97 kB / 418.5 MB, free: 20.18 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003161/0.2661, allocations: 30.02 kB / 418.5 MB, free: 20.15 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006979/0.2668, allocations: 438.2 kB / 418.9 MB, free: 19.7 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001504/0.267, allocations: 0.72 MB / 419.7 MB, free: 18.95 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 5.929e-05/0.2671, allocations: 12.55 kB / 419.7 MB, free: 18.94 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.602e-05/0.2671, allocations: 15.44 kB / 419.7 MB, free: 18.92 MB / 302.1 MB Notification: Performance of SimCode: time 2.7e-07/0.2671, allocations: 3.938 kB / 419.7 MB, free: 18.92 MB / 302.1 MB Notification: Performance of Templates: time 0.003707/0.2708, allocations: 1.467 MB / 421.2 MB, free: 17.47 MB / 302.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 -s gbode -lv LOG_STATS > DeltaRobot_DeltaRobot.Tests.ServoMotor_test.pipe 2>&1)