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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001816/0.001816, allocations: 85.48 kB / 19.44 MB, free: 344 kB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00193/0.00193, allocations: 173.2 kB / 22.76 MB, free: 1.66 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.526/1.526, allocations: 177.1 MB / 203.1 MB, free: 5.445 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/DeltaRobot 1.0.2/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/DeltaRobot 1.0.2/package.mo): time 0.03145/0.03145, allocations: 4.086 MB / 263.6 MB, free: 8.918 MB / 250.7 MB " [Timeout remaining time 180] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(DeltaRobot.Tests.ServoMotor_test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="DeltaRobot_DeltaRobot.Tests.ServoMotor_test") translateModel(DeltaRobot.Tests.ServoMotor_test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="DeltaRobot_DeltaRobot.Tests.ServoMotor_test") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.593e-06/1.593e-06, allocations: 0 / 334.2 MB, free: 14.75 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.157e-05/2.316e-05, allocations: 2.312 kB / 334.2 MB, free: 14.74 MB / 266.7 MB Notification: Performance of NFInst.instantiate(DeltaRobot.Tests.ServoMotor_test): time 0.002645/0.002668, allocations: 2.26 MB / 336.4 MB, free: 12.46 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008473/0.003515, allocations: 0.6466 MB / 337.1 MB, free: 11.81 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.159e-05/0.003607, allocations: 4 kB / 337.1 MB, free: 11.81 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001908/0.003798, allocations: 43.58 kB / 337.1 MB, free: 11.77 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001046/0.003902, allocations: 47.58 kB / 337.2 MB, free: 11.72 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002375/0.00414, allocations: 95.81 kB / 337.2 MB, free: 11.62 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.00018/0.00432, allocations: 215.6 kB / 337.5 MB, free: 11.41 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001702/0.00449, allocations: 77.19 kB / 337.5 MB, free: 11.34 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001358/0.004626, allocations: 127.7 kB / 337.7 MB, free: 11.21 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001014/0.004727, allocations: 63.8 kB / 337.7 MB, free: 11.15 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 3.364e-05/0.004761, allocations: 20 kB / 337.7 MB, free: 11.13 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.953e-05/0.0048, allocations: 20 kB / 337.8 MB, free: 11.11 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 3.264e-05/0.004833, allocations: 55.83 kB / 337.8 MB, free: 11.05 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 5.801e-05/0.004891, allocations: 59.91 kB / 337.9 MB, free: 11 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000207/0.005098, allocations: 227.3 kB / 338.1 MB, free: 10.77 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.377e-06/0.005101, allocations: 0 / 338.1 MB, free: 10.77 MB / 266.7 MB Notification: Performance of FrontEnd: time 8.92e-07/0.005102, allocations: 0 / 338.1 MB, free: 10.77 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.21e-06/0.005107, allocations: 0 / 338.1 MB, free: 10.77 MB / 266.7 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.0005294/0.005637, allocations: 0.5111 MB / 338.6 MB, free: 10.23 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.875e-05/0.005665, allocations: 8.031 kB / 338.6 MB, free: 10.22 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.96e-05/0.005735, allocations: 36.8 kB / 338.6 MB, free: 10.18 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002055/0.00594, allocations: 176.3 kB / 338.8 MB, free: 9.984 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.491e-05/0.005955, allocations: 16.31 kB / 338.8 MB, free: 9.969 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.079e-05/0.005986, allocations: 16.38 kB / 338.9 MB, free: 9.953 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003244/0.006311, allocations: 250.8 kB / 339.1 MB, free: 9.684 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.571e-05/0.006326, allocations: 4.141 kB / 339.1 MB, free: 9.68 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.745e-05/0.006344, allocations: 8.375 kB / 339.1 MB, free: 9.672 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.631e-06/0.006349, allocations: 7.938 kB / 339.1 MB, free: 9.664 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000253/0.006602, allocations: 119.8 kB / 339.2 MB, free: 9.547 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007692/0.007372, allocations: 0.7734 MB / 340 MB, free: 8.715 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002022/0.007574, allocations: 87.02 kB / 340.1 MB, free: 8.617 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.333e-05/0.007657, allocations: 35.8 kB / 340.1 MB, free: 8.578 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.091e-05/0.007688, allocations: 4 kB / 340.1 MB, free: 8.574 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.402e-05/0.007702, allocations: 33.39 kB / 340.2 MB, free: 8.531 MB / 266.7 MB Notification: Performance of pre-optimization done (n=6): time 1.002e-06/0.007703, allocations: 0 / 340.2 MB, free: 8.531 MB / 266.7 MB Notification: Performance of matching and sorting (n=6): time 0.0003516/0.008055, allocations: 133.5 kB / 340.3 MB, free: 8.395 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.779e-05/0.008082, allocations: 85.05 kB / 340.4 MB, free: 8.293 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001072/0.00819, allocations: 220.9 kB / 340.6 MB, free: 8.062 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 9.989e-06/0.0082, allocations: 25.7 kB / 340.6 MB, free: 8.031 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.074e-05/0.00826, allocations: 210.8 kB / 340.8 MB, free: 7.82 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.513e-05/0.008275, allocations: 19.86 kB / 340.8 MB, free: 7.801 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.668e-05/0.008322, allocations: 35.36 kB / 340.9 MB, free: 7.758 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 6.119e-05/0.008383, allocations: 0.5001 MB / 341.4 MB, free: 7.246 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.881e-05/0.008482, allocations: 43.67 kB / 341.4 MB, free: 7.199 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001135/0.008596, allocations: 139.2 kB / 341.6 MB, free: 7.023 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001978/0.008793, allocations: 141.9 kB / 341.7 MB, free: 6.855 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.008795, allocations: 4.031 kB / 341.7 MB, free: 6.852 MB / 266.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002712/0.009067, allocations: 153.5 kB / 341.9 MB, free: 6.695 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.203e-05/0.009079, allocations: 8 kB / 341.9 MB, free: 6.688 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.539e-06/0.009083, allocations: 0 / 341.9 MB, free: 6.688 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.436e-05/0.009097, allocations: 4 kB / 341.9 MB, free: 6.684 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001305/0.009228, allocations: 31.86 kB / 341.9 MB, free: 6.652 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.001e-06/0.009234, allocations: 8.125 kB / 341.9 MB, free: 6.645 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.6e-05/0.00932, allocations: 23.88 kB / 341.9 MB, free: 6.621 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.357e-06/0.009329, allocations: 8 kB / 341.9 MB, free: 6.613 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001011/0.00943, allocations: 162.9 kB / 342.1 MB, free: 6.449 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 8.776e-05/0.009518, allocations: 131.1 kB / 342.2 MB, free: 6.281 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0001427/0.009661, allocations: 125.8 kB / 342.3 MB, free: 6.129 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.733e-06/0.009663, allocations: 4 kB / 342.3 MB, free: 6.125 MB / 266.7 MB Notification: Performance of matching and sorting (n=13) (initialization_lambda0): time 0.0002064/0.009869, allocations: 129.4 kB / 342.5 MB, free: 5.992 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.983e-06/0.009876, allocations: 8 kB / 342.5 MB, free: 5.984 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.964e-06/0.009878, allocations: 160 / 342.5 MB, free: 5.984 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.705e-06/0.009881, allocations: 4 kB / 342.5 MB, free: 5.98 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.574e-05/0.009966, allocations: 24.17 kB / 342.5 MB, free: 5.957 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.598e-06/0.009971, allocations: 15.92 kB / 342.5 MB, free: 5.941 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.965e-05/0.01005, allocations: 11.94 kB / 342.5 MB, free: 5.93 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.785e-06/0.01006, allocations: 12 kB / 342.5 MB, free: 5.918 MB / 266.7 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 6.229e-05/0.01012, allocations: 272 kB / 342.8 MB, free: 5.645 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.206e-05/0.01015, allocations: 15.95 kB / 342.8 MB, free: 5.629 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.02e-05/0.01018, allocations: 12.77 kB / 342.8 MB, free: 5.617 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.094e-06/0.01019, allocations: 4 kB / 342.8 MB, free: 5.613 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.317e-06/0.01019, allocations: 3.938 kB / 342.8 MB, free: 5.609 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.625e-06/0.01019, allocations: 0 / 342.8 MB, free: 5.609 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000155/0.01035, allocations: 196.6 kB / 343 MB, free: 5.383 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.01035, allocations: 0 / 343 MB, free: 5.383 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001147/0.01046, allocations: 19.98 kB / 343.1 MB, free: 5.363 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.573e-06/0.01046, allocations: 0 / 343.1 MB, free: 5.363 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.378e-06/0.01047, allocations: 0 / 343.1 MB, free: 5.363 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.292e-06/0.01047, allocations: 0 / 343.1 MB, free: 5.363 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.01047, allocations: 0 / 343.1 MB, free: 5.363 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003218/0.0108, allocations: 287.7 kB / 343.3 MB, free: 5.062 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.757e-05/0.01081, allocations: 15.94 kB / 343.4 MB, free: 5.047 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.199e-05/0.01084, allocations: 8.094 kB / 343.4 MB, free: 5.039 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.393e-05/0.01093, allocations: 4 kB / 343.4 MB, free: 5.035 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.811e-05/0.01097, allocations: 11.92 kB / 343.4 MB, free: 5.023 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.939e-06/0.01097, allocations: 0 / 343.4 MB, free: 5.023 MB / 266.7 MB Notification: Performance of sorting global known variables: time 6.015e-05/0.01103, allocations: 159.2 kB / 343.5 MB, free: 4.867 MB / 266.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.01103, allocations: 0 / 343.5 MB, free: 4.867 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003246/0.01136, allocations: 79.67 kB / 343.6 MB, free: 4.789 MB / 266.7 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.318e-05/0.01144, allocations: 103.2 kB / 343.7 MB, free: 4.68 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0003376/0.01178, allocations: 155.1 kB / 343.9 MB, free: 4.52 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.01178, allocations: 0 / 343.9 MB, free: 4.52 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 9.054e-05/0.01187, allocations: 43.66 kB / 343.9 MB, free: 4.473 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003114/0.01218, allocations: 26.52 kB / 343.9 MB, free: 4.449 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005665/0.01275, allocations: 375.8 kB / 344.3 MB, free: 4.055 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.344e-05/0.01281, allocations: 112.1 kB / 344.4 MB, free: 3.926 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 5.531e-05/0.01287, allocations: 12.48 kB / 344.4 MB, free: 3.914 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.698e-05/0.0129, allocations: 16.5 kB / 344.4 MB, free: 3.898 MB / 266.7 MB Notification: Performance of SimCode: time 5.31e-07/0.01291, allocations: 0 / 344.4 MB, free: 3.898 MB / 266.7 MB Notification: Performance of Templates: time 0.004498/0.0174, allocations: 1.536 MB / 346 MB, free: 2.395 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f DeltaRobot_DeltaRobot.Tests.ServoMotor_test.makefile [Timeout 660] (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=240 -lv LOG_STATS > DeltaRobot_DeltaRobot.Tests.ServoMotor_test.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.384854616946541]