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.005357/0.005357, allocations: 103.5 kB / 15.74 MB, free: 6.484 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.001233/0.001233, allocations: 196.3 kB / 16.68 MB, free: 6.375 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.392/1.392, allocations: 222.9 MB / 240.4 MB, free: 4.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/DeltaRobot 1.0.2/package.mo): time 0.124/0.124, allocations: 5.198 MB / 295.7 MB, free: 3.031 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001282/0.001282, allocations: 59.89 kB / 409 MB, free: 13.98 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2715/0.2728, allocations: 50.57 MB / 459.6 MB, free: 20.1 MB / 350.1 MB Notification: Performance of NFInst.instantiate(DeltaRobot.Tests.ServoMotor_test): time 0.003377/0.2762, allocations: 2.222 MB / 461.8 MB, free: 18.56 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001012/0.2773, allocations: 0.6422 MB / 462.5 MB, free: 18.1 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001157/0.2774, allocations: 2.844 kB / 462.5 MB, free: 18.1 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002379/0.2776, allocations: 37.64 kB / 462.5 MB, free: 18.08 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 9.208e-05/0.2777, allocations: 45.16 kB / 462.6 MB, free: 18.04 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002701/0.278, allocations: 93.28 kB / 462.7 MB, free: 17.99 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002109/0.2782, allocations: 211.5 kB / 462.9 MB, free: 17.88 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000235/0.2785, allocations: 112.5 kB / 463 MB, free: 17.83 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.601e-05/0.2786, allocations: 84.95 kB / 463.1 MB, free: 17.78 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001058/0.2787, allocations: 89.12 kB / 463.1 MB, free: 17.73 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.24e-05/0.2788, allocations: 21.31 kB / 463.2 MB, free: 17.73 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.911e-05/0.2788, allocations: 21.91 kB / 463.2 MB, free: 17.73 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.108e-05/0.2788, allocations: 44.64 kB / 463.2 MB, free: 17.7 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.478e-05/0.2789, allocations: 89.81 kB / 463.3 MB, free: 17.64 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000244/0.2792, allocations: 223.3 kB / 463.5 MB, free: 17.54 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.669e-06/0.2792, allocations: 0 / 463.5 MB, free: 17.54 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.084e-06/0.2792, allocations: 0 / 463.5 MB, free: 17.54 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.372e-06/0.2792, allocations: 0 / 463.5 MB, free: 17.54 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.0006171/0.2798, allocations: 485.1 kB / 464 MB, free: 17.11 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.598e-05/0.2799, allocations: 11.44 kB / 464 MB, free: 17.11 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.876e-05/0.2799, allocations: 22.47 kB / 464 MB, free: 17.1 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002643/0.2802, allocations: 224.2 kB / 464.3 MB, free: 16.87 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.475e-05/0.2802, allocations: 11 kB / 464.3 MB, free: 16.87 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.884e-05/0.2803, allocations: 21.5 kB / 464.3 MB, free: 16.86 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004017/0.2807, allocations: 221.7 kB / 464.5 MB, free: 16.74 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.528e-05/0.2807, allocations: 0 / 464.5 MB, free: 16.74 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.022e-05/0.2807, allocations: 7.188 kB / 464.5 MB, free: 16.73 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.144e-06/0.2807, allocations: 4.078 kB / 464.5 MB, free: 16.73 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003718/0.2811, allocations: 146.2 kB / 464.7 MB, free: 16.69 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009305/0.2821, allocations: 0.7632 MB / 465.4 MB, free: 16.08 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003063/0.2824, allocations: 107.5 kB / 465.5 MB, free: 16.03 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001438/0.2825, allocations: 39.2 kB / 465.6 MB, free: 16.02 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.432e-05/0.2826, allocations: 1.219 kB / 465.6 MB, free: 16.02 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.973e-05/0.2826, allocations: 40.33 kB / 465.6 MB, free: 15.97 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.252e-06/0.2826, allocations: 0 / 465.6 MB, free: 15.97 MB / 350.1 MB Notification: Performance of matching and sorting (n=6): time 0.0005494/0.2831, allocations: 144.6 kB / 465.8 MB, free: 15.92 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.926e-05/0.2832, allocations: 82.2 kB / 465.8 MB, free: 15.82 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001174/0.2833, allocations: 148 kB / 466 MB, free: 15.71 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.32e-05/0.2833, allocations: 35.17 kB / 466 MB, free: 15.67 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.395e-05/0.2834, allocations: 147.1 kB / 466.2 MB, free: 15.54 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.884e-05/0.2834, allocations: 28.48 kB / 466.2 MB, free: 15.52 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.159e-05/0.2835, allocations: 29.69 kB / 466.2 MB, free: 15.49 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 5.048e-05/0.2836, allocations: 320.5 kB / 466.5 MB, free: 15.18 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001569/0.2837, allocations: 50.34 kB / 466.6 MB, free: 15.16 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001738/0.2839, allocations: 96.28 kB / 466.7 MB, free: 15.08 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003023/0.2842, allocations: 142.4 kB / 466.8 MB, free: 14.98 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.657e-06/0.2842, allocations: 1.125 kB / 466.8 MB, free: 14.98 MB / 350.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003921/0.2846, allocations: 169.1 kB / 467 MB, free: 14.91 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.766e-05/0.2846, allocations: 5.5 kB / 467 MB, free: 14.91 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.342e-06/0.2847, allocations: 2.406 kB / 467 MB, free: 14.91 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.683e-05/0.2847, allocations: 2.219 kB / 467 MB, free: 14.91 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001798/0.2849, allocations: 36.39 kB / 467 MB, free: 14.9 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.228e-06/0.2849, allocations: 2.016 kB / 467 MB, free: 14.9 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000123/0.285, allocations: 22.66 kB / 467 MB, free: 14.89 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.688e-05/0.285, allocations: 13.23 kB / 467.1 MB, free: 14.89 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001556/0.2852, allocations: 123.9 kB / 467.2 MB, free: 14.79 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001307/0.2853, allocations: 85.59 kB / 467.3 MB, free: 14.72 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002129/0.2856, allocations: 115.8 kB / 467.4 MB, free: 14.63 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.282e-06/0.2856, allocations: 0 / 467.4 MB, free: 14.63 MB / 350.1 MB Notification: Performance of matching and sorting (n=13) (initialization_lambda0): time 0.0002913/0.2859, allocations: 138.5 kB / 467.5 MB, free: 14.57 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.039e-05/0.2859, allocations: 9.406 kB / 467.5 MB, free: 14.56 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.925e-06/0.2859, allocations: 1.438 kB / 467.5 MB, free: 14.56 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.599e-06/0.2859, allocations: 3.875 kB / 467.5 MB, free: 14.56 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001138/0.286, allocations: 29.92 kB / 467.6 MB, free: 14.56 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.461e-06/0.286, allocations: 7.859 kB / 467.6 MB, free: 14.55 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001073/0.2861, allocations: 23.11 kB / 467.6 MB, free: 14.54 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.267e-06/0.2862, allocations: 5.375 kB / 467.6 MB, free: 14.54 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 7.238e-05/0.2862, allocations: 186.5 kB / 467.8 MB, free: 14.36 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.505e-05/0.2863, allocations: 12.77 kB / 467.8 MB, free: 14.35 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.08e-05/0.2863, allocations: 12.14 kB / 467.8 MB, free: 14.33 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.396e-06/0.2863, allocations: 1.969 kB / 467.8 MB, free: 14.33 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.209e-06/0.2863, allocations: 1.125 kB / 467.8 MB, free: 14.33 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.298e-06/0.2863, allocations: 8.594 kB / 467.8 MB, free: 14.32 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002606/0.2866, allocations: 236.1 kB / 468 MB, free: 14.1 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.2866, allocations: 11.88 kB / 468 MB, free: 14.09 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001732/0.2868, allocations: 27.64 kB / 468.1 MB, free: 14.09 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.014e-06/0.2868, allocations: 1.062 kB / 468.1 MB, free: 14.09 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.335e-05/0.2868, allocations: 1.672 kB / 468.1 MB, free: 14.09 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.392e-06/0.2868, allocations: 0 / 468.1 MB, free: 14.09 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.387e-06/0.2868, allocations: 1.969 kB / 468.1 MB, free: 14.09 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005141/0.2874, allocations: 253 kB / 468.3 MB, free: 13.92 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.667e-05/0.2874, allocations: 88.73 kB / 468.4 MB, free: 13.82 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.518e-05/0.2874, allocations: 2.219 kB / 468.4 MB, free: 13.82 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001253/0.2876, allocations: 13.86 kB / 468.4 MB, free: 13.82 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.576e-05/0.2876, allocations: 5 kB / 468.4 MB, free: 13.82 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.981e-06/0.2876, allocations: 2.219 kB / 468.4 MB, free: 13.82 MB / 350.1 MB Notification: Performance of sorting global known variables: time 7.325e-05/0.2877, allocations: 122.4 kB / 468.6 MB, free: 13.72 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.2877, allocations: 0 / 468.6 MB, free: 13.72 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000408/0.2881, allocations: 73.44 kB / 468.6 MB, free: 13.7 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 9.121e-05/0.2882, allocations: 93.47 kB / 468.7 MB, free: 13.61 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0005193/0.2888, allocations: 152.5 kB / 468.9 MB, free: 13.57 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.075e-06/0.2888, allocations: 1.031 kB / 468.9 MB, free: 13.57 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001512/0.2889, allocations: 46.03 kB / 468.9 MB, free: 13.56 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003653/0.2893, allocations: 17.67 kB / 468.9 MB, free: 13.56 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007888/0.2901, allocations: 437.6 kB / 469.4 MB, free: 13.25 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001797/0.2903, allocations: 0.7212 MB / 470.1 MB, free: 12.55 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.901e-05/0.2904, allocations: 13.84 kB / 470.1 MB, free: 12.55 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.839e-05/0.2904, allocations: 13.81 kB / 470.1 MB, free: 12.54 MB / 350.1 MB Notification: Performance of SimCode: time 3.2e-07/0.2904, allocations: 0 / 470.1 MB, free: 12.54 MB / 350.1 MB Notification: Performance of Templates: time 0.004415/0.2948, allocations: 1.476 MB / 471.6 MB, free: 12.41 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)